No Audio with JMF

I encoded some video using virtualdub. I haven't been able to find any audio settings that result in audio playing back properly. I've looking at the supported formats, and I've tried plenty of different settings. Does anyone have any information about how to encode an avi file to work in jmf?
Thanks

Ok, fixed mine. Go to Library/QuickTime: Remove obsolete QuickTime Components: FFusion, Xvid Delegate, 3ivX, DivX, DivX Decoder, XviD, msmpeg4v1, msmpeg4v2, AviImporter, EX_M4S2, Casio AVI Importer, AC3 Codec, Sorenson and MatroskaQT.
Maybe try one at a time starting with 3ivX
I'm using Perian 1.2.3
All working now.

Similar Messages

  • IT's possibile capture audio with JMF on Pocket Pc

    It's possibile capture audio with JMF cross-platform version on Pocket Pc?? Or how can it possibile on Pocket pc?????

    This article say about MMAPI and MIDP, I need a solution about JMF because, my application must capture audio on Pocket Pc with Jeode VM, and Jeode VM is compliant with JDK1.1.8(it's subset).

  • Getting echo when capturing audio with JMF

    Hello.
    I have just downloaded JMF 2.1.1 and have cribbed one of the examples to produce an application that will capture audio input, process it and pass it straight to the speakers. However, I am getting echo, i.e. the input signal appears twice at the speakers, shifted by about half a second.
    Now, before you tell me that it is due to feedback from the speakers to the microphone, I must tell you that my audio signal is from a radio plugged into the mike socket of my PC, so there is no chance of any external feedback.
    Below is the code:
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.control.*;
    import javax.media.format.*;
    public class ExampleClass2 implements ControllerListener {
         private Object waitSync = new Object();
    private boolean stateTransitionOK = true;
         private Processor proc;
         public ExampleClass2 () {
              MediaLocator locator = getLocatorByName ("JavaSound audio capture");
              try {
                   proc = Manager.createProcessor(locator);
                   proc.addControllerListener(this);
                   proc.configure();
                   waitForState (Processor.Configured);
                   proc.setContentDescriptor(null);
                   proc.start();
    //               waitForState(Processor.Started);
    //          proc.getGainControl().setMute(true);
              } catch (Exception ex) {
                   ex.printStackTrace();
                   System.exit(1);
    * Block until the processor has transitioned to the given state.
    * Return false if the transition failed.
    boolean waitForState(int state) {
         synchronized (waitSync) {
         try {
              while (proc.getState() != state && stateTransitionOK)
              waitSync.wait();
         } catch (Exception e) {}
         return stateTransitionOK;
    * Controller Listener.
    public void controllerUpdate(ControllerEvent evt) {
         if (evt instanceof ConfigureCompleteEvent ||
         evt instanceof RealizeCompleteEvent ||
         evt instanceof PrefetchCompleteEvent) {
         synchronized (waitSync) {
              stateTransitionOK = true;
              waitSync.notifyAll();
         } else if (evt instanceof ResourceUnavailableEvent) {
         synchronized (waitSync) {
              stateTransitionOK = false;
              waitSync.notifyAll();
         } else if (evt instanceof EndOfMediaEvent) {
         proc.close();
         System.exit(0);
         public static void main (String [] args) {
              ExampleClass2 two = new ExampleClass2();
    Now, the really interesting thing is that if I uncomment the lines that mute the processor, I get only a single signal out of the speakers. It appears as if there is some connection between the mike input and speaker output.
    Just to make sure, I tried this with JMStudio and got the same result. When I captured input, I got two signals output until I pressed the mute button, when I got one signal.
    I also get the same problem if I use a Player, rather than a Processor.
    I am running on Win95, JDK1.3.
    Any thoughts?

    i'm having the same problem. but i tried with teh audio property settings. and get resolved. wat solution u found? i would like to know how u solved your problem, plz let me know very soon.
    Thanks,
    Parth Pandya
    Hello.
    I have just downloaded JMF 2.1.1 and have cribbed one
    of the examples to produce an application that will
    capture audio input, process it and pass it straight
    to the speakers. However, I am getting echo, i.e. the
    input signal appears twice at the speakers, shifted by
    about half a second.
    Now, before you tell me that it is due to feedback
    from the speakers to the microphone, I must tell you
    that my audio signal is from a radio plugged into the
    mike socket of my PC, so there is no chance of any
    external feedback.
    Below is the code:
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.control.*;
    import javax.media.format.*;
    public class ExampleClass2 implements
    ControllerListener {
         private Object waitSync = new Object();
    private boolean stateTransitionOK =
    ansitionOK = true;
         private Processor proc;
         public ExampleClass2 () {
    MediaLocator locator = getLocatorByName ("JavaSound
    d audio capture");
              try {
                   proc = Manager.createProcessor(locator);
                   proc.addControllerListener(this);
                   proc.configure();
                   waitForState (Processor.Configured);
                   proc.setContentDescriptor(null);
                   proc.start();
    //               waitForState(Processor.Started);
    //          proc.getGainControl().setMute(true);
              } catch (Exception ex) {
                   ex.printStackTrace();
                   System.exit(1);
    * Block until the processor has transitioned to
    d to the given state.
    * Return false if the transition failed.
    boolean waitForState(int state) {
         synchronized (waitSync) {
         try {
    while (proc.getState() != state &&
    & stateTransitionOK)
              waitSync.wait();
         } catch (Exception e) {}
         return stateTransitionOK;
    * Controller Listener.
    public void controllerUpdate(ControllerEvent evt)
    vt) {
         if (evt instanceof ConfigureCompleteEvent ||
         evt instanceof RealizeCompleteEvent ||
         evt instanceof PrefetchCompleteEvent) {
         synchronized (waitSync) {
              stateTransitionOK = true;
              waitSync.notifyAll();
    } else if (evt instanceof ResourceUnavailableEvent)
         synchronized (waitSync) {
              stateTransitionOK = false;
              waitSync.notifyAll();
         } else if (evt instanceof EndOfMediaEvent) {
         proc.close();
         System.exit(0);
         public static void main (String [] args) {
              ExampleClass2 two = new ExampleClass2();
    Now, the really interesting thing is that if I
    uncomment the lines that mute the processor, I get
    only a single signal out of the speakers. It appears
    as if there is some connection between the mike input
    and speaker output.
    Just to make sure, I tried this with JMStudio and got
    the same result. When I captured input, I got two
    signals output until I pressed the mute button, when I
    got one signal.
    I also get the same problem if I use a Player, rather
    than a Processor.
    I am running on Win95, JDK1.3.
    Any thoughts?

  • Capturing Audio with JMF

    Howdy, folks.
    Relative JMF newbie, here. I'm trying to write an app to capture audio from my sound card. Got the basics done, now I want to add some fancy stuff. Specifically, I'd like to show a display of the waveform.
    Now, when I create a datasink, I need to provide the processor (where the data comes from) and the medialocator (where the data goes to). The only way I know to build a medialocator is to give it a URL or a string for a file name. Is it possible to put the actual byte data directly into a buffered reader or something so I can translate it into a graphic waveform or do I have to write it to disk, and then read it back?
    Thanks for any help,
    Russ

    did you find any solution??
    please let me know thanks.
    [email protected]

  • How to render audio with sample rate 48000hz using jmf

    hi,
    In my application i need to play the audio with jmf player with sampling rate 48000hz. but i found that jmf player plays the audio with sampling rate of 44100hz only.but my application needs to play the audio with sampling rate of 48000hz .please help me how to do this using jmf .
    thanks in advance,

    hi,
    In my application i need to play the audio with jmf player with sampling rate 48000hz. but i found that jmf player plays the audio with sampling rate of 44100hz only.but my application needs to play the audio with sampling rate of 48000hz .please help me how to do this using jmf .
    thanks in advance,

  • Recover audio signal to analyse them with JMF

    Hello,
    I'm a french student in informatics in Paris.
    (Sorry for my poor english...)
    We're developping an audio player in JAVA for our end study project with a friend. This player will contain a graphics plugin to "show" music in real time (like the graphics plugin of winamp or media player).
    We are using the Java Media Frameworks API to develope this player. We succeed to read a song, but we don't manage to get audio signal to analyse them. In fact, we want to get audio spectrum in real time, so we have to get audio signal with the intention of analyse it with Fourier tools.
    Did you got an idea of the way to do this?
    Maybe we could re-implements the Player interface of the jmf API, rather than use the Manager.createPlayer method? (actually I also don't really understand how work the Manager.createPlayer() method. And how implements Player interface, when we don't really know what to put in the methods?...).
    Thanks a lot for your help.
    Thomas

    Hi Thomas,
    what you want to do is possible with JMF.... but beware that sometimes Java will prove slower than what you expect.... I don't know if this is the correct way to do it, but you can get the samples by creating a class that implements the Effect interface (see sun GainEffect).
    In the process(Buffer inputBuffer, Buffer outputBuffer) method you have the inputBuffer that contains the sampled audio (in 2 channels, odd and even bytes or words depending on your 8/16 bit preferences).
    You can use this data to compute your FTT animaton... You must then create a 'chain' that will include your processor (again see sun examples, the function assignEffect).
    If you want to be very JMF-complant, you should also implement some other interface to return you 'visual' component that display your graphic animation (probably the right method is the getControlComponent in the Control interface).
    Ok then...I hope this will prove helpful and to see your effects as soon as possible :-)
    Bye
    Marco

  • Play audio file with jmf on linux?

    a simple audio player as flow:
    import javax.media.*;
    import java.io.File;
    import java.net.URL;
    public class SimpleAudioPlayer {
        private Player audioPlayer = null;
        public SimpleAudioPlayer(URL url) throws Exception {
            audioPlayer = Manager.createRealizedPlayer(url);
        public SimpleAudioPlayer(File file) throws Exception {
            this(file.toURL());
        public void play() {
            audioPlayer.start();
        public void stop() {
            audioPlayer.close();
        public static void main(String[] args) throws Exception {
            File file = new File("/usr/local/download/1.wav");
            SimpleAudioPlayer sap = new SimpleAudioPlayer(file);
            sap.play();
    }when run the program
    javac -cp jmf.jar SimpleAudioPlayer.java
    java -cp .:jmf.jar SimpleAudioPlayer
    the output as flow:
    Unable to handle format: ima4/ms, 8000.0 Hz, 4-bit, Mono, Unsigned, 4027.0 frame rate, FrameSize=4096 bits
    Failed to prefetch: com.sun.media.PlaybackEngine@defa1a
    Error: Unable to prefetch com.sun.media.PlaybackEngine@defa1a
    How can I play wav file with jmf on linux?(OS is debian5 and jmf cross-platform pack)

    thanks for your reply.
    I tried to replace the wav file "1.wav" with the linear encoded WAV download from pscode.org,and run the code again,but
    BasicTrackControl:prefetchTrack():96 1 bm = com.sun.media.BasicRendererModule@1186fab
    BasicRendererModule.doPrefetch:155 Render : true
    Render buffer size: 32768
    BasicRenderModule.doPrefetch:159
    javax.media.ResourceUnavailableException: Cannot intialize audio device for playback
    at com.sun.media.renderer.audio.JavaSoundRenderer.open(JavaSoundRenderer.java:93)
    at com.sun.media.BasicRendererModule.doPrefetch(BasicRendererModule.java:158)
    at com.sun.media.BasicTrackControl.prefetchTrack(BasicTrackControl.java:99)
    at com.sun.media.PlaybackEngine.doPrefetch1(PlaybackEngine.java:682)
    at com.sun.media.PlaybackEngine.doPrefetch(PlaybackEngine.java:658)
    at com.sun.media.PrefetchWorkThread.process(BasicController.java:1430)
    !!!!!!!§§§§§§§§§§§ BasicTrackControl:prefetchTrack():96
    at com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339)
    Unable to handle format: LINEAR, 16000.0 Hz, 16-bit, Mono, LittleEndian, Signed, 32000.0 frame rate, FrameSize=16 bits
    Failed to prefetch: com.sun.media.PlaybackEngine@26e431
    Error: Unable to prefetch com.sun.media.PlaybackEngine@26e431

  • Play movie with JMF

    Hey,
    I just started out with JMF (I wanted to play a movie with java).
    I got this code:
    import java.applet.*;
    import java.awt.*;
    import javax.swing.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.media.*;
    * Demonstrate simple code to play a movie with Java Media Framework.
    * @author Ian F. Darwin, http://www.darwinsys.com/
    * @version $Id: JMFPlayer.java,v 1.9 2004/02/09 03:21:20 ian Exp $
    public class NewJApplet extends JPanel implements ControllerListener {
        /** The player object */
        Player thePlayer = null;
        /** The parent Frame we are in. */
        JFrame parentFrame = null;
        /** Our contentpane */
        Container cp;
        /** The visual component (if any) */
        Component visualComponent = null;
        /** The default control component (if any) */
        Component controlComponent = null;
        /** The name of this instance's media file. */
        String mediaName;
        /** The URL representing this media file. */
        URL theURL;
        /** Construct the player object and the GUI. */
        public NewJApplet(JFrame pf, String media) {
            parentFrame = pf;
            mediaName = media;
            // cp = getContentPane();
            cp = this;
            cp.setLayout(new BorderLayout());
            try {
                theURL = new URL(getClass().getResource("."), mediaName);
                thePlayer = Manager.createPlayer(theURL);
                thePlayer.addControllerListener(this);
            } catch (MalformedURLException e) {
                System.err.println("JMF URL creation error: " + e);
            } catch (Exception e) {
                System.err.println("JMF Player creation error: " + e);
                return;
            System.out.println("theURL = " + theURL);
            // Start the player: this will notify our ControllerListener.
            thePlayer.start(); // start playing
        /** Called to stop the audio, as from a Stop button or menuitem */
        public void stop() {
            if (thePlayer == null) {
                return;
            thePlayer.stop(); // stop playing!
            thePlayer.deallocate(); // free system resources
        /** Called when we are really finished (as from an Exit button). */
        public void destroy() {
            if (thePlayer == null) {
                return;
            thePlayer.close();
        /** Called by JMF when the Player has something to tell us about. */
        public synchronized void controllerUpdate(ControllerEvent event) {
            // System.out.println("controllerUpdate(" + event + ")");
            if (event instanceof RealizeCompleteEvent) {
                if ((visualComponent = thePlayer.getVisualComponent()) != null) {
                    cp.add(BorderLayout.CENTER, visualComponent);
                if ((controlComponent = thePlayer.getControlPanelComponent()) != null) {
                    cp.add(BorderLayout.SOUTH, controlComponent);
                // re-size the main window
                if (parentFrame != null) {
                    parentFrame.pack();
                    parentFrame.setTitle(mediaName);
        public static void main(String[] argv) {
            JFrame f = new JFrame("JMF Player Demo");
            Container frameCP = f.getContentPane();
            NewJApplet p = new NewJApplet(f,
                    argv.length == 0 ? "file:/C:/Users/Patrick Kos/Pictures/BAA.avi"
                    : argv[0]);
            frameCP.add(BorderLayout.CENTER, p);
            f.setSize(200, 200);
            f.setVisible(true);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }but I always get a unable to handle format exception, expect with mp3 files.
    But i"ve looked up the supported formats and its says its supported so??

    i get this error
    Unable to handle format: XVID, 320x240, FrameRate=29.9, Length=230400 0 extra bytes
      Unable to handle format: unknown, 22050.0 Hz, 0-bit, Stereo, Unsigned, 8000.0 frame rate, FrameSize=9216 bits
    Failed to realize: com.sun.media.PlaybackEngine@7259da
    Error: Unable to realize com.sun.media.PlaybackEngine@7259da
    Exception in thread "main" javax.media.CannotRealizeException
            at javax.media.Manager.blockingCall(Manager.java:2005)
            at javax.media.Manager.createRealizedPlayer(Manager.java:580)
            at projectnemo.NewJApplet.main(NewJApplet.java:102)

  • Play sdp file with JMF

    Hi,
    I have a Darwin Streaming Server(DSS) running on a machine, that reflects several broadcasts from other machines (I'm broadcasting to the DSS with JMF).
    I can see all the videos and audio without any problem with Quick Time, but I can't find a way to play the sdp files with jmf. I've searched the web for jmf and sdp, and there isn't much information, i've also tried to play with JMStudio..no luck. In the JMF solution there aren't any samples for SDP files....
    If I can't find a way to do it, I'll use Quick Qime 4 Java, the only problem is that there isn't a linux implementation :(
    Thanks in advance.
    Best regards,
    ANeto

    Hi,
    I have read all the mails on the JMF interest group regarding the Broadcaster and DSS.
    Well i too am trying to do a similar application. This is an Application
    Casting program basically to share my desktop with the other person sitting
    across the network using my client. And in order to multicast this, i am
    looking at using Darwin Streamng Server.
    The whole idea here is that i break the desktop image up into frames and
    then compress them and then send it over, protocol used here is TCP/RTP/UDP.
    I am trying to hit this stream of packets to DSS so that it can be accessed
    else where over the internet. I'm trying to under stand the basic
    authentication mechanism DSS uses, so that i can create the .sdp file and
    transfer it over to the DSS, which can further be accessed by any client
    that can understands sdp.
    As i read in the mail some of you were able to create the .sdp file with your custom built boradcaster and send it to DSS if i am not wrong.
    I have tried this with Mpegable Broad caster as you said.
    Now the problem i had was to create .sdp file with my application and push it to the DSS.
    So have you made some kind of a documentation or can you give me an idea as
    to how i can go about this. Or it will be even better if you can share the code with me.

  • Detection problem on HP webcam with JMF

    Hi,
    I'm trying NyARtoolkit and I need to use the video stream of my HP's webcam encrusted above the screen of my laptop (a HP Pavillon tx 2670ef)
    After the installation of JMF, I lunch JMStudio and I manage tu detect my webcam in : File->Preferences->Capture Devices->detect capture devices.
    Then i close the windows and i do File->Capture...->I enable "use video device" and unable "use audio device" then i click on "OK" but aftewards i have an error message saying that JMF couldn't initialize the capture device...
    2 students with me have the same pb...
    I made some researches about this issue and i found this post
    http://72.5.124.102/thread.jspa?messageID=10177842
    Afterwards I've installed ManyCam and i managed to get a video capture from the virtual webcam simulated with ManyCam.
    In fact, when i click on detect capture devices in JMStudio, a windows appears and i can choose "ManyCam Virtual Webcam" instead of "HP webcam".
    Moreover, in the options before capturing video, the encoding is in RVB instead of YUV before with the "HP webcam".
    But when i run my program i have this error :
    java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
         at java.util.Vector.elementAt(Unknown Source)
         at jp.nyatla.nyartoolkit.jmf.utils.JmfCaptureDeviceList.getDevice(JmfCaptureDeviceList.java:80)
         at jp.nyatla.nyartoolkit.java3d.utils.NyARSingleMarkerBehaviorHolder.<init>(NyARSingleMarkerBehaviorHolder.java:68)
         at J3DJME.NyARJava3D.<init>(NyARJava3D.java:174)
         at J3DJME.NyARJava3D.main(NyARJava3D.java:76)
    I tried many other things (Quicktime with QTcap... but i didn't managed to solve this pb yet)
    Coud you help to use my webcam with jmf ?
    josy

    You probably want to remove the crust from your web cam if you expect it to work. Most things that are encrusted aren't in the best of shape...
    JMF connects to web cameras by wrapping around native interfaces. If the JMStudio isn't able to use your web cam, it could mean a number of things...your web cam isn't compliant with the version of the interfaces (VFW and DirectShow, I believe) that JMF is wrapping around, the web cam doesn't output any formats JMF can use, etc.
    But if JMStudio can't use your web cam sucessfully, 99% of the time that means your web cam isn't going to work with JMF... unless you want to code support for it yourself.

  • Recording audio with JavaFX

    Hi All,
    I was looking for advice on how best to record audio with JavaFX, as JMF is seriously out of date.
    Can anybody tell me how to get started here?
    Cheers,
    Chester

    I think you'll have to do it via Java Sound API, because JavaFX itself doesn't have capability of recording audio. Maybe in version 1.3, but I have no access to it.

  • VoIP with JMF

    hello,
    i'm trying to create a J2SE VoIP app with JMF. is it feasible?
    i've read that to overcome the NAT problem, we need to use Symmetry RTP. does it supported in JMF?
    i've done the SIP session managing with JSIP. now i need to send and receive RTP data.
    i've done this for the receiver
    url= "rtp://" + IP + ":" + port + "/audio/16";
    mrl= new MediaLocator(url);
    player = Manager.createPlayer(mrl);
    player.realize();
    // wait for realizing
    while (player.getState() != Player.Realized){
         try
    Thread.sleep(10);
    } catch (InterruptedException e)
    e.printStackTrace();
    player.start();
    with IP is the other party IP specified in the SDP, and the Port is the port specified in the SDP too.
    with wireshark, i've seen that RTCP is seen (Receiver Report, Source Description), and RTCP replies are received (Sender Report, Source Description), but RTP data is not received.
    i realize that JMF open the same local port as the port specified in the MediaLocator. while actually in my INVITE SDP, i tell the other party a different port. might this be the problem that i don't receive any RTP data?
    Thank you.

    Hey,
    No, the loss of packets isn't something you can control... you lose a packet, you lose a packet. The different encodings could have an affect on the impact of the packet loss, however, but the actual loss of the packet is out of everyone's hands. Even God loses packets as they travel on the wire...Well, I went again to Wiki to look for that page and you are right, I am wrong, it didn't say anything about packet loss, but it was referring to the call distortion and wrongly concluded something about the packets.
    Ummmm, maybe. The issue isn't as simple as knowing the public IP address of a client behind a NAT, it's also a matter of traversing the NAT itself. But if the SIP UAS handles all of that, then yes, you should be fine.after putting it to the test, I'm really confused...
    I'll try to lay it out so it would make sense and if that wont work I'll post my code here. there is just a lot of it in a few classes.
    This is tested with one way streaming!
    *1.* I've been trying to transmit audio and video within my home LAN, I've managed to send from one computer to the other, from beginning to end.
    This is what I receive on the callee computer in my home LAN:
    Participant added to list: ACER-LAPTOP/10.0.0.2
      - A new participant had just joined: TacB0sS@Acer-LapTop
    New Stream Event received: StreamMappedEvent
      Stream: com.sun.media.rtp.RecvSSRCInfo@13e6346
      Participant: com.sun.media.rtp.RTPRemoteSourceInfo@1cb374f
      Source: RTPManager
         SSRCCache  com.sun.media.rtp.SSRCCache@cc9d70
         Dataport  33444
         Controlport  33445
         Address  10.0.0.1
         RTPForwarder  com.sun.media.rtp.util.PacketForwarder@17456bc
         RTPDemux  com.sun.media.rtp.RTPDemultiplexer@ea85b4
    New Stream Event received: NewReceiveStreamEvent
      Stream: com.sun.media.rtp.RecvSSRCInfo@13e6346
      Participant: com.sun.media.rtp.RTPRemoteSourceInfo@1cb374f
      Source: RTPManager
         SSRCCache  com.sun.media.rtp.SSRCCache@cc9d70
         Dataport  33444
         Controlport  33445
         Address  10.0.0.1
         RTPForwarder  com.sun.media.rtp.util.PacketForwarder@17456bc
         RTPDemux  com.sun.media.rtp.RTPDemultiplexer@ea85b4
    new stream arrived fromcom.sun.media.rtp.RTPRemoteSourceInfo@1cb374f
      - Recevied new RTP stream: JPEG/RTP*2.* But when I try to transmit to my friends computer, which is far far away... I do receive NewParticipantEvent, and I do get StreamMappedEvent, but no NewReceivedStreamEvent. sometimes I received an InactiveReceivedStreamEvent but to the caller computer, not to the callee. I thought perhaps the log would help:
    This is what I get when I try to call my friends remote computer, on his computer:
    Participant added to list: xx.xx.xx.xx.bb.netvision.net.il/xx.xx.xx.xx
      - A new participant had just joined: TacB0sS@dell-laptop
    New Stream Event received: StreamMappedEvent
      Stream: com.sun.media.rtp.RecvSSRCInfo@198a455
      Participant: com.sun.media.rtp.RTPRemoteSourceInfo@aa37a6
      Source: RTPManager
    SSRCCache  com.sun.media.rtp.SSRCCache@12b7eea
    Dataport  33444
    Controlport  33445
    Address  192.168.2.101
    RTPForwarder  com.sun.media.rtp.util.PacketForwarder@99353f
    RTPDemux  com.sun.media.rtp.RTPDemultiplexer@76e369
    And this is what I get on my computer when I call my friends:
    New Stream Event received: InactiveReceiveStreamEvent
      Stream: null
      Participant: com.sun.media.rtp.RTPRemoteSourceInfo@7b7b11
      Source: RTPManager
         SSRCCache  com.sun.media.rtp.SSRCCache@cc9d70
         Dataport  33444
         Controlport  33445
         Address  10.0.0.1
         RTPForwarder  com.sun.media.rtp.util.PacketForwarder@17456bc
         RTPDemux  com.sun.media.rtp.RTPDemultiplexer@ea85b4This is really bigger then me, we've tried to play a bit with configuration, but I just don't see the point, some events are received some are not...
    What am I missing?
    Thanks,
    Adam.
    Edited by: Adam-Z. on Jun 14, 2010 7:34 PM

  • Rtp to wav(or au, etc) with JMF?

    these days i'm working on a program with JMF, it's sth like an ip phone sniffer, it sends arp spoof packets to ensure all the audio/video streams to pass through the sniffer in a switched lan, and the sniffer captures these streams and plays these streams, my question is:how can i save these rtp streams to a wav(or au, etc) file while playing them, or just save the rtp packets into a file like ethereal capture file, and use JMF API to play the captured file?
    sorry for my english, thanks a lot.

    Hi
    I also have project to convert the rtp packet captured by jpcap (payload: G.711 pcmu,from voip) in to wav file
    Did you find the solution? And if so , could you tell me how to do this or send me the source code please?
    My e-mail:[email protected]
    I really need it
    Thank you,
    Best regards

  • Webcast with JMF

    I'm an under-graduate Engineering student - computer division, and I'm developing a virtual classroom application as a part of my graduation project.
    I'm doing most of my project using JAVA techonologies, and I waneted to do the virtual classroom part using JAVA too.
    I need to do some kind of video/audio conference using JMF, where users can join the conference, see the instrucor, and instructor's screen, also the instructor should be able to receive requests from participants to grant or deny them.
    I was playing around with JMF in the last week and I found some interesting features, I also check the JMF solutions, and I ran some of the RTP stuff offered there, but what I need to do involves something like a webcast, which I could not find anything about.
    Need help please
    Thanks in advance
    J.MAX

    My latest thoughts on this (after some hacking):
    RTSP server available called VODKA (Video On Demand Kicks Ass) some code is there, a reply from a developer was 'try it' so I think you could get something out of it.
    Using RTP I wrote my own sockets controller to count how many connections there are (also sending setup, start, stop and teardown, like RTSP, so the 20-30% cpu of the transcoder isn't always on), you could then send video to each person who asks...) or if you are on the same subnet or VPN then you could multicast.
    multiple unicasts would require datasource cloning? I am not sure... hope this helps you work some things out, my solution was to use multicasting with some custom sockets

  • Getting RTSP servers to work with JMF

    I have read through many postings about this, but none of them have been answered. Has anyone gotten JMStudio or any other JMF application to be able to properly recieve video streams in any format from a video on demand server using RTSP? I have tried Darwin Streaming Server (which the JMF faq claims has been tested with JMF, so I take it someone out there knows how to get this working) and Real's Helix Universal Server Basic. I have tried using JMStudio's Open URL menu, and writing a simple application to act as a client.
    At this point I would just like to find some server that works with some file/encoding format. Has anyone gotten anything to work? Thank you.
    -Brad

    I am facing the same problem. does anyone succeed to write a java RTSP player that interfaces well with Darwin Streaming Server?
    I don't find any examples of MPEG1 streaming in JMF. Most samples i.e. SimplePlayerApplet.java (param="sun.avi") use local video paths but not rtsp:// URLs.
    Samples like AVreceive.java / RTPUtil.java do not use explicit MPEG1 samples and assume that you have an RTP server. And other apps like http://www.alphaworks.ibm.com/tech/mpeg-4 are not fully open source.
    What streaming server would you suggest to use? I tried without success to stream a video within a java applet using DarwinSS (ok with .mov, .mp4 but not in java) or RealServers (ok with .rm but also not in java).
    In http://java.sun.com/products/java-media/jmf/2.1.1/support-rtp.html it is said that the following RTP servers are compatible with the JMF RTP Player (using javax.media.rtp) but each of them have a serious drawback:
    ShowMeTV Transmitter (commercial), IP/TV Server (commercial), vic (Video only), vat/rat (Audio only).
    Thanks in advance for any reply

Maybe you are looking for

  • Microsoft C++runtime error in Adobe Photoshop_10, editor,Windows 7

    Would like to fix this. Program opens, when I click on editor, Visual Runtime error occurs, and program will shut down when I closed window or click to cancel. I have been coming up with some solutions on the forum but some people have not been succe

  • How do you eject a hard drive?

    How do you eject an external hard drive?

  • Est. external monitor resolution

    I am trying to set up a samsung syncmaster 191Tplus as an external monitor on my macbook from early 2008 running 10.6.8. When I plug it in, both screens flash (not just a flicker) as shown in this youtube video posted by someone else, but my problem

  • Regarding MM ebooks

    hi experts if any one is having some links of MM ebooks free to download like Administering Sap R/3: Mm-Materials Management Module (Hardcover) please send me. thanks and regards abhishek

  • CO (FI) Report needed

    Hello expert, our business wants to create report with following structure: Year-Period-AssetType-CostCenter-Product (Global product)-Value Is there any real relation among these fields? Is it feasible and if yes, in which tables can i find these fie