How to use JMF in SWT

Hi all,
I want to create an application in SWT, which is able to play all types of music files. By using JMF i am able to do it in Swing, but i want to do it in SWT. (Should not use any AWT components).
Can any body tell how to do this ?
Thanks in advance !!

Hello,
I posted it in the correct forum itself, once again check your link... it is the same forum to which i posted.

Similar Messages

  • How o use JMF?

    can someone tell me how to use JMF with particular programs?
    Thanx..:)

    i also have similar problem. how i use jmf in develop a program to capture image with webcam and capture it.wat should i do before this stage.thanks.....

  • Using JMF with SWT

    I am developing a eclipse RCP application which makes use of the SWT toolkit. The application would be playing some media files. So i would like to make use of the JMF media player within SWT . How can I do this?

    Ok it's all a matter of what run as SWT application do
    it sets -Djava.library.path to the path of the SWT dlls
    so we can make it point to the jmf Dlls path
    goto Run..>Arguments>VM Arguments
    then add
    -Djava.library.path=.\\jmfdllswhere jmfdlls is folder contains ALL DLLs inside your project
    or easily if you have installed jmf by installer
    -Djava.library.path=C:\\WINDOWS\\system32I tried it it works
    Note : this is applied when using any library that use native codewith swt e.g. jacob
    this solution is from this thread
    http://eclipsezone.com/forums/thread.jspa?threadID=80055
    And this
    http://eclipsezone.com/forums/thread.jspa?threadID=28020

  • How to use jmf convert the rtp packet (captured by jpcap) in to wav file?

    I use the jpcap capture the rtp packets(payload: ITU-T G.711 PCMU ,from voip)
    and now I want to use JMF read those data and convert in to wav file
    How to do this? please help me

    pedrorp wrote:
    Hi Captfoss!
    I fixed it but now I have another problem. My application send me this message:
    Cannot initialize audio renderer with format: LINEAR, Unknown Sample Rate, 16-bit, Mono, LittleEndian, Signed
    Unable to handle format: ALAW/rtp, Unknown Sample Rate, 8-bit, Mono, FrameSize=8 bits
    Failed to prefetch: com.sun.media.PlaybackEngine@1b45ddc
    Error: Unable to prefetch com.sun.media.PlaybackEngine@1b45ddc
    This time the fail is prefetching. I have no idea why this problem is. Could you help me?The system cant play an audio file / stream if it doesn't know the sample rate...somewhere along the way, in your code, the sample rate got lost. Sample rates are highly important, because they tell the system how fast to play the file.
    You need to go look through your code and find where the sample rate information is getting lost...

  • How to use JMF without download it?

    hi all,
    I have a Video conferencing using JMF
    - transmission : an application (with capturing a webcam source and jmf installed)
    - reception : an applet (display the video without jmf)
    How could a remote user use the applet without download jmf?
    Thanks a lot
    Christel

    hi,
    I have tried this way but it doesn't work.
    I have make a jar-file but there is not Manisfest inside.
    My process:
    1- Type of Archives -> "JAR de l'applet" (Jar of the Applet)
    2- Name = JAR de l'applet
    File = C:/CAV/RtpApplet/RTPApplet.jar (I don't know what i can put in this area)
    I have also checked all CheckBoxes
    3- Classes et ressources du projet (Classes and resources of the Project) -> I have check "Toujours inclure les classes et ressources" (always include classes and resources)
    Add classes et packages : javax, com, rtpavc (my personal package)
    4- Library = "AV" (which is the entire jmf.jar)
    select the CheckBox "Inclure classes et toutes ressources requises" ( include classes and resources needed)
    5- select the CheckBox "Inclure un Manifest dans l'archive" (include a Manifest in the archive)
    Select the RadioButton : "Cr�er un Manifest" (Create a Manifest)
    I have a jar-file (the "JAR de l'applet") but when i select it i have nothing inside and no Manifest-file.
    I really don't know how it's working.
    I really need your help,
    Thanks in advance.
    Christel

  • How to use JMF in ipv6?

    I wrote a program that can run in ipv4. But when I change the IP address from a IPv4 address to a IPv6 address, it doesn't work any more. Do I miss anything? Is there something else I should do to make it work in IPv6?
    p.s. I can have my program contact server with a IPv6 address using only socket, but I can't do that using JMF. Why?

    Hello,
    I posted it in the correct forum itself, once again check your link... it is the same forum to which i posted.

  • How to use JMF (pull)datasource class to access individual video frames?

    Is there anyway of using JMF datasource or pulldatasource class to access individual video frames?
    Edited by: pakkito on Apr 9, 2008 3:15 AM

    Is there anyway of using JMF datasource or pulldatasource class to access individual video frames?
    Edited by: pakkito on Apr 9, 2008 3:15 AM

  • How to use JMF Package.

    I haven't use JMF so any one can help me out and can guide me and tell me.
    the best tutorial or JMF Package Detailes. ????

    http://www.javaworld.com/javaworld/jw-04-2001/jw-0406-jmf1.html

  • How to use JMF to play the video data in a array(not in a local file)?

    dear all:
    I am a newer to JMF.
    Now My program has a thread which is always inputing mpg video data into a static array, so I want to wrap this array as a DataSource, then let the player play the video.
    But I don't know how to wrap that as a DataSource, What I know is just play a media file.
    So could any guy give me some advice??
    Really appreciate your help!
    Thanks
    Sam
    MSN: [email protected]
    Email: [email protected]

    I have never tried doing what you are soing so I am just thinking aloud. I think that using datamerge for this is going to assign the same ID to the fields, which is why the checkboxes are filling when selecting one of them. Open the PDF in Acrobat to check it though.
    Another thought. Are you merging to a new document or direct to PDF? If going direct to PDF, try creating the merge document first. If that doesn't work, I think it will be the field IDs being also replicated. If so, then the only course of action would be either manually changing them in Acrobat, or an ID script and or an Acrobat script. Neither of which I have heard of. But if they do have the same IDs, then I would inquire in both the ID scripting forum and the Acrobat forum.
    Good luck. Interesting use of datamerge. I hope you find a suitable answer.
    Mike

  • How to use JMF capture two webcam?

    I want to use two camera in the same time. Can I do this? If JMF can't do it please suggest me how to do this.

    There is a thread in this forum about your question.
    Time to search! :)

  • How to use JMF in p2p system ??

    I want to develop a system about p2p stream,and I use the jmf as the client.
    could you guys suggest me ?? and provid some material to me ??
    PLEASE !!!!

    Find on the net AVReceive2, AVTransmit2, AVReceive3, AVTransmit3 and RTPSocketAdapter Java source files. Just search in google or yahoo, for instance, they are available everywhere. These are the the most used when beginning to work with JMF. Number "3s" are actually the ones you might be looking for. Something like p2p video/audio streaming.
    Hope that helps

  • How should use jmf to broadcast bigger media file?

    Hello! I have a question about JMF RTP
    I use the AVTransmit.java to play a video file.
    but it show error
    this is error message:
    java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at com.sun.media.codec.video.mpeg.Packetizer$MPEGSegment.copyData(Packetizer.java:623)
    at com.sun.media.codec.video.mpeg.Packetizer$MPEGSegment.copyData(Packetizer.java:608)
    at com.sun.media.codec.video.mpeg.Packetizer.doGOP(Packetizer.java:423)
    at com.sun.media.codec.video.mpeg.Packetizer.doProcess(Packetizer.java:302)
    at com.sun.media.codec.video.mpeg.Packetizer.process(Packetizer.java:218)
    at com.sun.media.BasicFilterModule.process(BasicFilterModule.java:322)
    at com.sun.media.BasicModule.connectorPushed(BasicModule.java:69)
    at com.sun.media.BasicOutputConnector.writeReport(BasicOutputConnector.java:120)
    at com.sun.media.SourceThread.process(BasicSourceModule.java:729)
    at com.sun.mcan you help me?
    thanks
    KD

    Jie Li,
    For guidance on using D3L, I suggest you refer to Appendix B in Oracle® Application Server InterConnect User’s Guide, 10 g (9.0.4), Part No. B10404-01.
    You can download the Guide from here.
    http://download.oracle.com/docs/cd/B10465_01/integrate.904/b10404.pdf
    This should help to answer your questions.
    Cheers, Yan

  • How to use JMF

    hi,I think I will be writing some JMF code.
    I am now using j2sdk1.4.1_01,can I write JMF code with this one?or do I need to install new sdk for it?
    and I found that JMF API is apart from my standard API for J2SE,why?JMF is part of J2SE,isn't it?
    can anyone help?

    JMF is not part of J2SE. It is an optional package that must installed separately.
    After all, why ship another 10Mb of code to every single Java user, if only
    1% of the users would use it. So it will always be an extension to java.
    You should read the Frequently asked questions section in the JMF documentation. That will answer a lot.
    http://java.sun.com/products/java-media/jmf/reference/faqs/index.html
    regards,
    Owen

  • How to capture the video in a file using JMF-RTP?

    Please someone help in capturing the live streaming in a file using JMF......
    Thanks..

    Hi, I have a problem with RTPExport output video files. One side streams H263/RTP(AVTransmit2.java) and other write this steam to a file by RTPExport.java. When network conditions are ideal, output video file has same fps and same number of frames like original file. Problem occures, when theres packet lost in network, then output file has different fps,and also has less frames like original video(because it didnt write missing frames to file, and thats why it get shorter). Pls how can I achieve output file that will have the same fps like original one? How to write to file an identical copy of what I can see while receiveing video with AVReceive2.java? Its there a way to modifi rtpexport or avreceiver to do this? Thanks!

  • How to use MS GSM support in JMF?

    Hello,
    Anyone has idea how to use the MS GSM encoding and decoding support in JMF.
    As Microsoft GSM is different from the standard GSM 6.10, however, JMF can both read and write MS-GSM coded file (in .wav wrapper). Here I would like to know whether it is possible to have real-time encoding and decoding in MS GSM format?
    This is very important for me as I need to use PocketPC for live audio streaming and it only support microsoft GSM coding.
    Thanks in advance
    /h.b.

    Hello,
    Did you (hotbee) eventually solved your problem ?
    I'm writing an application which listens to a GSM 06.10 audio stream from a multicast socket.
    The application that sends the audio is written in C++ and I don't manage to find the correct parameters for JMF to be able to decode it...
    Here is the C++ code that encodes the audio :
    m_WaveFormatEx.wfx.wFormatTag = WAVE_FORMAT_GSM610;
    m_WaveFormatEx.wfx.nChannels = 1;
    m_WaveFormatEx.wfx.nSamplesPerSec = 9920;
    m_WaveFormatEx.wfx.nBlockAlign = 65;
    m_WaveFormatEx.wfx.wBitsPerSample = 0;
    m_WaveFormatEx.wfx.cbSize = 2;
    m_WaveFormatEx.wSamplesPerBlock = 320;
    m_WaveFormatEx.wfx.nAvgBytesPerSec = (m_WaveFormatEx.wfx.nSamplesPerSec / 320) * 65; Is JMF (Windows performance pack) able to decode this ?
    If so, what is the AudioFormat I should return from my custom SourceStream ?
    I tried quite a lot of parameters (GSM, GSM_MS with various combination of parameters), but couldn't get an audible sound... :(
    Thanks for any help !
    Julien

Maybe you are looking for

  • Can't set date and time automatically thru Airport Extreme

    We have an Airport Extreme that serves as the router for our home network. No computer using the Airport (wirelessly or via ethernet) can set it's date and time automatically. If I bypass the Airport and hook a computer directly to the ISP's modem vi

  • IBooks Author stopped recognizing my iPad

    Hello everyone, ibooks author stopped letting me publish a preview to my iPad. When I click on preview, it doesn't show any devices attached. iTunes can see my iPad (and iPhone for that matter). Any ideas? I've seen similair forums, but the key diffe

  • Simply question: Are these two query same?

    Question 1: There is this query from someone: (I'm not sure how Join ON works) SELECT NULL AS order_id ,line_id ,o.item_id ,o.customer_id INTO v_line_table FROM xx_items_v i, JOIN order_dtl o ON i.item_id = o.item_id WHERE o.que_id = 3380; Is this sa

  • Video deletion problem

    Since the update, whenever I delete a video from my iPodafter watching it, it seems to not be completely gone. By that I mean that when I plug it to my computer, the deleted videos still appear on my iPod (not on the iTunes part - most often, they're

  • I can't sign in to use my widget browser in cs6

    I get this error message when trying to sign in to use the widget browser in CS6: "Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://www.adobe.com/cfusion/exchange/exchangedwwidgetsfacade.cfc?wsdl)"