Problems of implementation of video chat using JMF.

Hello

I am beginner in JMF and the obtaining of some problem while application.

-> my algo base application:
LAYOUT ŒUVRE (BASIC-ALGORITHM)
(1) first need to capture the video\audio of device (Cam\microphone) of the computer.
(2) the need to send on the network using RTP (Real Time Protocol).
(3) captured the media at one end and the other end to the network (using RTP) play this media stream.
When 4) complete three steps above, then I need to extend to the peer to peer video chat.

-> what I've implemented is given below:
(1) I created datasource with the help of ds = Manager.createDataSource (new MediaLocator("vfw://0"));) and I need to show this captured video on the jpanel for the next, I can send this data source on the network using RTP.
Important: I created the drive using the drive = Manager.createRealizedPlayer (new MediaLocator("vfw://0"));) and add in jframe componet of the player, but to send media stream on the network, we must right processor? but for the creation of processor, we need to create the data source.

So what I need is capture video webcam show screen and at the same time to send over the network.
Please guide.

Answer in your message to hack who had been separated from stand on its own merits:
Re: JMF is the best choice for video capture?

Tags: Java

Similar Questions

  • Collection BC 19 when using Yahoo messenger video chat

    Which would cause an error in Code BC 19 using the function of video chat in Yahoo Messenger 10?  This file appears in the error message, C:/windows/minidump/mini060510-01.dmp.  I uninstalled and reinstalled Yahoo Messenger 10 and do not believe that is the problem.

    Hello Steelers10,

    If the SFC/scannow did not help with your question, then I suggest you try the following:
    I suggest you uninstall Yahoo messenger 10. Then reinstall and see if you still get the same error.
    You can download the Windows Installer Cleanup utility. Click here to download it from the link here.

    Download Yahoo Messenger from a link here. The latest version is Version 10.

    If still get errors, do you a clean boot and see if you can identify any 3rd party software that may be in conflict.
    Follow the article listed here.

    929135 KB - how to solve a problem by performing a clean boot in Windows Vista or in Windows 7

    Please answer back with an update.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Problems on lifecam cinema courses video chat

    Recently, I had some weird problems with my lifecam cinema. When I video chat with a friend using Skype or other software, at first the cat everything works perfectly well, but the webcam still stops working after a few minutes (I can't find the device in the Skype settings, the light on the webcam of turns off), and then it will restore to normal. This situation occurs that when I video chat, if I use just audio chat there is no problem. I have all my software lifecam upgrade to the most recent and I tried to reinstall the drivers as well but the problem remains.

    Hey Hong.

    Please check the event logs display of error messages followed when the unit stops working in Skype and other video chat programs.

    See http://windows.microsoft.com/en-in/windows7/open-event-viewer to open Event Viewer and check the logs.

    Provide us the error report detailed if you find with Skype / other programs and the LifeCam cinema camera.

    See http://support.microsoft.com/kb/2262196 to be able to use Skype with the LifeCam cinema.

    Here are some general troubleshooting steps for Webcam problems.

    http://www.Microsoft.com/hardware/en-us/help/support/troubleshooting/webcam/LifeCam-Setup

    You can also connect to another computer, and then check if the problem persists when you use Skype and other video chat programs.

  • using firefox, I can video chat w / anyone using safari?

    using firefox, I can video chat w / anyone using safari?

    Hello boyo13, Hello firefox will work with all browsers and platforms that support the web - real time communication, which is a standardization being open protocol. at the moment it is supported in chrome, opera and firefox - but not safari and internet explore unfortunately.

    http://caniuse.com/#feat=rtcpeerconnection
    http://www.webrtc.org/

  • Qosmio G30 - video input using WinDVD Creator and WinDVR 5 problems

    Hi all
    My G30 (PQL32L) supplied with Windows MCE. It has preinstalled WinDVD Creator 2 and personally I install WinDVR 5 (application of part 3 came with my Plextor ConvertX PX-TV402U PVR).

    Problems:
    1 WinDVD Creator 2: failed to set the TV system. I plugged my video source via the video cable (yellow, white, red) provided and connected to the AV-in port. I chose TV on the HARD drive for the new project. Default WinDVD defined as NTSC but my TV system is PAL. Therefore, input video quality is blurry and cut in two. Once I changed the setting in the software of PAL, the video screen turned black and no response. I have no problem with Qosmio Player with the same configuration of the connection.

    2 5 WinDVR: Application can not start correctly (hang and cannot complete the program) I to my Plextor ConvertX PX-TV402U PVR TV source, then connect it via USB2.0 for G30. My ConvertX works in my office, but failed with the G30. The application cannot start properly and hung. No response yet I'm trying to complete the program, but the screen was always there. When I try to stop my G30 then Windows MCE hung at the "Closing Windows" screen. I have to stop by pressing the button. ConvertX being operation USB cable, it is not achievable in Qosmio.

    Can someone help to solve these or give advice?

    Fine thanks
    Samuel

    Hello

    I copied the film on my camcorder for Qosmio G30 (WXP MCE) without any problem and subsequently created the DVD using Ulead moviefactory program. I also tested it with VHS-recorder. Once again without any problem!

    My camcorder was connected with firewire cable and it has been recognized correctly. VHS-recorder was connected with the aerial cable simply. I was able to record sources using Qosmioplayer (it was just to test because I'm interested, how it works). Movie from VHS-recorder was also possible to record using Media Center Edition.

    I know I also tested it with pre-installed Win DVD Creator but camcorder has not been recognized as usual. If I remember well I put the TV source and that the camcorder is recognized correctly. To be honest I don't like this Win DVD Creator and I have not tested properly.

    So I would like to know what your video source and what you hear in AV-in port.
    Please tell me exactly what cable you use for audio/video data transfer and exact port on your Qosmio laptop?

  • I have connection problems with Skype video chat (Internet Explorer 8 - Windows XP pro). What I haveto do to fix this?

    I have connection problems with Skype video chat (IE 8 - XP pro.) What should I do to correct this?

    Hello

    go to skype.com and make sure you have the latest version of their software.

    Kind regards.

  • Why I don't have any audio when I video chat with Skype or facebook? I don't know how to fix this problem in my lap top

    When I video chat with my children, weather it is Skype or facebook, they can hear me but I can't hear them.

    Hello
    1 did you change on your computer before this problem?
    2. you receive an error message?
    3. audio is working properly in other applications?
    Follow the suggestions and see if it helps.
    Method 1
    Run the fix of the article.
    Tips for solving common audio problems
    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-fixing-common-sound-problems

    2 process
    Follow the steps in the article.
    No sound in Windows
    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    Method 3
    Check to see if the problem exists in a clean boot state.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: After a troubleshooting follow step 7: reset the computer to start as usual

    Reference:

    https://support.Skype.com/en-us/FAQ/FA897/why-can-t-the-other-person-hear-me;JSESSIONID=273F71FEEECEC3441168745C5312ABFE

    You also question post in forums Facebook for assistance on the Facebook problem.

    http://www.Facebook.com/help/community

  • Unable to connect to the chat server using ICUII video Chat v8.

    Original title: ICUII video Chat 8

    I downloaded ICUII cat worm 8, but I can't seem to connect to a chat server

    Hello

    Have you been able to connect to the chat server earlier?

    Step 1: Check if the program is compatible with Windows 7. You can check the compatibility of the major part of the hardware and software with Windows 7 on the following Web site.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Step 2: I suggest you to uninstall and reinstall the software and check if the problem persists. Check out the following link to uninstall the program, programs and features.

    http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program

    If the problem persists then, I'd say contact the software support on the issue.

  • New problem with Amazon. No video control using WMP version 11.

    Thanks for your help, Meghmala.  I did what you suggested, but when I came tohttp://go.microsoft.com/FWLink?LinkID=34506 the 'UPGRADE' button was grey once again and would not work.  However, after changing the choice of two hidden files, I tried the new UNbox and - sail! -It downloaded and played videos from Amazon.  The only remaining problem is the following: videos of the Amazon are such that they can also be played in Windows Media Player.  I have WMP version 11 from the XP platform.  Videos actually work in WMP version 11, but the video controls (brightness, contrast, color, Tint) don't work - BUT ONLY WITH THE AMAZON of VIDEOS.  Otherwise, the video controls work fine with all my other videos.  By 'do not work', I mean that when I try to drag the pointers to a new value, they suddenly go back to the center position by s.  Any help here?  Thank you!

    Samhrutha - It seems that the problem was with Amazon.  I downloaded the videos WMP 11 wouldn't play correctly, i.e. with the video controls not working not properly, the simplest and most obvious way.  An Amazon representative suggested that I download them a more roundabout way (a lot more), so I did.  Now, WMP 11, they play very well.  Thanks for your help.

  • Can I use H264 video chat live?

    Hello

    I use FMS, and I want to send my video stream using H264.

    Is this possible?

    THX in advance.

    "But the quality of the video is the same before."

    Have you tried with hight level video? If your video will be better. I know because same webcam can not be better than normal video camera view.

    Don't forget to connect with the Webcam device! Thank you!

    Thank you

  • Button grey video chat out on android?

    The video chat button is grayed out on Android. This is the latest version of Skype. Im running on a Nexus 6 p located on Android 6.0.1 which is the latest version. The microphone works and I can hear everyone. But I do not see someone else was a video of. Other buttons that are grayed out are 'Add' and 'more '. Do not click on those. Everyone is running on a computer, so I don't know if that's the problem, but if so can someone please fix it? It's a real disappointment is not not able to video chat on devices.

    Hi, thanks for the reply and sorry for taking so long. I found the problem, it's because the people who called me using an obsolete version of Skype. Thanks for your help anyway

  • Microsoft LifeCam Cinema Webcam and Google Video Chat do not work together

    I installed a MS LifeCam Cinema camera to use with Google Video Chat.  I initiate a video calling the camera fires each time, and then I get a "Internet Explorer has stopped working.  A problem caused the blocking of the program works correctly.  "Windows will close the program and the fotify you if a solution is available" error.  Then the application controls lifecam part appears, but no camera.  And then Google closed and reopens - never proceed with the connection of video chat.  The camera works fine with the software installed locally and on Live MS aps.  Any ideas?

    Hi DigForHelp

    You can check this link for more information to solve the video messaging problems that occur when you use your LifeCam with Gmail

    http://support.Microsoft.com/kb/969275

    After back and let us know if it helped to solve your problem.

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When I am on messenger I continues to disconnect and I can't video chat. I can see the person, but the person cannot see me.

    as I have said, I continue to disconnect from windows Messenger and video chat does not work. I can see the person and they can't see me.

    Hello

    ·         You get the error message?

    ·         What version of windows messenger do you use?

    ·         Have you updated the drivers for your sound card, video card or Web camera?

    ·         Have you tried to add your webcam to the conversation, adding audio?

    ·         What kind of camera do you have to Web?

    ·         This problem occurs with just a touch or all contacts? »

    Step 1: Check the video configuration in windows messenger.

    (a) start Windows Live Messenger and sign in.

    (b) prior to connect to anyone, open the menu "Tools" then click on "Configuration video / Audio.

    (c) perform the tests and click on 'next' and confirm the webcam is the video display and then click "Finish."

    (d) prior to connect to anyone, open the menu 'Tools' and then click 'Options '.

    (e) select "Personal" and put a check mark next to "Webcam - enable others to see that I have a webcam".

    (f) click on 'Apply' and then click 'Ok '.

    (g) sign out and completely EXIT Windows Live Messenger to save the new settings.

    Step 2: temporarily disable the security software and check if it works.

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    If this does not work, I suggest you to visit the following site to get help.

    http://windowslivehelp.com/forums.aspx?ForumID=568c1adc-41d2-47E0-BB2C-cdfedd9642ef

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • AUDIO CONFERENCE USING JMF

    I use JMF RTP Manager to send and receive audio streams... Audio peripheral file1 and a data source allows you to him and he listens to the Audio stream from another system. After receiving the audio stream from another system, it confuses the audio captured and audio received together. Then, he transmits the resulting data source to another system and plays using player.
    Audio peripheral File2 and a data source allows you to him. It then transmits the data source captured and he listens to the Audio stream. After receiving, he's just playing it.

    Run the file1 in a single system and file2 in another system.

    PROBLEM:
    Now, the problem I have is that the system in which I run file1... running plays the mixed audio good... But the system to one in which I run File2 doesnot cheek... She shows up to 'receive streaming.. evt' but it never shows "receiver wire started...". »



    FILE1
    /**
    *
    * John @author
    *
    */
    Import Java.util;
    javax. Import media;
    Javax.media.protocol import. *;
    Import javax.media.bean.playerbean.MediaPlayer;
    Javax.media.format import. *;
    java.net import. *;
    import java.util.StringTokenizer;
    import java.util.Vector;
    Javax.media.rtp import. *;
    Javax.media.rtp.event import. *;
    / * This class is used to add, remove peer to the mixer and receive all peer voices and mix it and send to all peers * /.

    public class implements SessionListener, ReceiveStreamListener mixer
    {
    public static processor audioProcessor, audioProcessor1;
    public static String mixer_ip;
    Data source data source;
    Data source processedAudioSource, processedAudioSource1;
    Data source audioInputSource, audioInputSource1;
    public static RTPManager srcMgrs;
    Sources of the object [];
    List of data sources;
    public static SessionAddress srclocalAddr;
    public Mixing()
    {
    Try
    {
    dataSources = new ArrayList();
    if(srcMgrs==null)
    {
    System.out.println ("NŒUDS CHILDREN");
    srcMgrs = RTPManager.newInstance ((RTPManager));
    srclocalAddr = new SessionAddress (InetAddress.getByName (InetAddress.getLocalHost (CI.g etHostName())), 3000);
    srcMgrs.initialize (srclocalAddr);
    srcMgrs.addTarget ("HOST NAME the sstm another", 3000);
    srcMgrs.addReceiveStreamListener (this);
    srcMgrs.addSessionListener (this);
    System.out.println ("insider listeners...");

    }

    Process();

    }
    catch (System.Exception e)
    {
    System.out.println ("error in mixing add child Nodes11");
    System.out.println("Error"+e);
    }

    }


    public synchronized void update (SessionEvent evt)
    {
    Try
    {
    System.out.println ("Come within the Session event");
    }
    catch (System.Exception e)
    {
    System.out.println ("error in Session");
    System.out.println("Error"+e);
    }
    }

    public void process()
    {
    Try
    {
    Vector of information = CaptureDeviceManager.getDeviceList (null);
    If (info is nothing)
    System.out.println ("No. capture devices JMF");
    on the other
    {
    DeviceInfo = (CaptureDeviceInfo) info.elementAt CaptureDeviceInfo (0);
    MediaLocator locator = deviceInfo.getLocator ();
    System.out.println ("got clue:" + index);
    audioInputSource = Manager .createDataSource (locator);
    System.out.println ("started to capture...");
    System.out.println ("Configuration in the mixing process");
    The formats [] = new Format [1];
    formats [0] = new AudioFormat(AudioFormat.GSM_RTP,8000,16,1);
    audioProcessor is Manager.createRealizedProcessor (new ProcessorModel (audioInputSource, formats, new FileTypeDescriptor (FileTypeDescriptor.RAW)));.
    processedAudioSource = audioProcessor.getDataOutput ();
    dataSources.add (processedAudioSource);
    audioProcessor.start ();
    System.out.println ("transfer to peers');

    }
    catch (System.Exception e)
    {
    System.out.println ("error in the mixing process");
    System.out.println("Error"+e);
    }

    }


    Public Shared Sub main (ar [] chain)
    {
    Mixture of m = new Mixing();
    }


    public synchronized void update (ReceiveStreamEvent evt)
    {

    System.out.println ("to receive feed evt...");
    Try
    {
    If (evt instanceof RemotePayloadChangeEvent)
    {
    System.Err.println ("-a received a RTP PayloadChangeEvent.");
    System.Exit (0);
    }
    on the other
    {
    If (evt instanceof NewReceiveStreamEvent)
    {
    System.out.println ("inside reception game event");
    Bishop RTPManager = (RTPManager) evt.getSource ();
    Participant participant = evt.getParticipant ();
    Stream ReceiveStream = evt.getReceiveStream ();
    audioInputSource1 = stream.getDataSource ();

    dataSources.add (audioInputSource1);
    sources = dataSources.toArray (new DataSource [0]);
    dataSource = Manager.createMergingDataSource ((DataSource[]) sources);

    sendStream = srcMgrs.createSendStream(dataSource,0);
    sendStream.start ();

    Player AudioPlayer = Manager.createRealizedPlayer (dataSource);
    System.out.println ("receiver wire started");
    audioPlayer.start ();
    }
    }
    }
    catch (System.Exception e)
    {
    System.out.println ("error in the game receive event");
    System.out.println("Error"+e);
    }
    }
    }



    FILE2
    /**
    *
    * John @author
    *
    */
    javax. Import media;
    Javax.media.protocol import. *;
    Import javax.media.bean.playerbean.MediaPlayer;
    Javax.media.format import. *;
    java.net import. *;
    import java.util.StringTokenizer;
    import java.util.Vector;
    Javax.media.rtp import. *;
    Javax.media.rtp.event import. *;

    / public class Mixing_c implements SessionListener, ReceiveStreamListener
    {
    public static processor audioProcessor;
    String mixer_ip;
    ProcessedAudioSource of data source;
    Data source audioInputSource, audioInputSource1;
    public static RTPManager srcMgrs;
    public static SessionAddress srclocalAddr;
    public Mixing_c()
    {
    VR;
    {
    if(srcMgrs==null)
    {
    System.out.println ("NŒUDS CHILDREN in mixing_c");
    srcMgrs = RTPManager.newInstance ((RTPManager));
    srclocalAddr = new SessionAddress (InetAddress.getByName (InetAddress.getLocalHost (CI.g etHostName())), 3000);
    srcMgrs.initialize (srclocalAddr);

    srcMgrs.addTarget ("host name of the sstm', 3000");
    srcMgrs.addReceiveStreamListener (this);
    srcMgrs.addSessionListener (this);
    System.out.println ("insider listeners of mixing_c...");
    }
    Process();

    }
    catch (System.Exception e)
    {
    System.out.println ("error in mixing add child Nodes11");
    System.out.println("Error"+e);
    }

    }


    public synchronized void update (SessionEvent evt)
    {
    VR;
    {
    System.out.println ("Come within the Session event");
    }
    catch (System.Exception e)
    {
    System.out.println ("error in Session");
    System.out.println("Error"+e);
    }
    }

    public void process()
    {
    VR;
    {
    Vector of information = CaptureDeviceManager.getDeviceList (null);
    If (info is nothing)
    System.out.println ("No. capture devices JMF");
    on the other
    {
    DeviceInfo = (CaptureDeviceInfo) info.elementAt CaptureDeviceInfo (0);
    MediaLocator locator = deviceInfo.getLocator ();
    System.out.println ("got clue:" + index);
    audioInputSource = Manager .createDataSource (locator);
    }

    System.out.println ("started to capture...");

    System.out.println ("Configuration in the mixing process");

    The formats [] = new Format [1];
    formats [0] = new AudioFormat(AudioFormat.GSM_RTP,8000,16,1);

    audioProcessor is Manager.createRealizedProcessor (new ProcessorModel (audioInputSource, formats, new FileTypeDescriptor (FileTypeDescriptor.RAW)));.

    processedAudioSource = audioProcessor.getDataOutput ();

    sendStream = srcMgrs.createSendStream(processedAudioSource,0);

    sendStream.start ();

    audioProcessor.start ();
    System.out.println ("transfer to peers');

    }
    catch (System.Exception e)
    {
    System.out.println ("error in the mixing process");
    System.out.println("Error"+e);
    }

    }


    Public Shared Sub main (ar [] chain)
    {
    Mixing_c m = new Mixing_c();
    }


    public synchronized void update (ReceiveStreamEvent evt)
    {

    System.out.println ("to receive feed evt...");
    VR;
    {
    If (evt instanceof RemotePayloadChangeEvent)
    {
    System.Err.println ("-a received a RTP PayloadChangeEvent.");
    System.Exit (0);
    }
    on the other
    {
    If (evt instanceof NewReceiveStreamEvent)
    {
    System.out.println ("inside reception game event");
    Bishop RTPManager = (RTPManager) evt.getSource ();
    Participant participant = evt.getParticipant ();
    Stream ReceiveStream = evt.getReceiveStream ();
    audioInputSource1 = stream.getDataSource ();

    Player AudioPlayer = Manager.createRealizedPlayer (audioInputSource1);
    System.out.println ("receiver wire started");
    audioPlayer.start ();
    }
    }
    }
    catch (System.Exception e)
    {
    System.out.println ("error in the game receive event");
    System.out.println("Error"+e);
    }
    }
    }
  • When registering free video chat, I hit wrong button and you need to fix as it says im a child

    I am a longtime mozilla/firefox user and just noticed today, which you offer a free video chat, and as I was writing down, she asked my age and I mustve hit something wrong he has redirected me to a page saying, I can't register as I am a child less use it... it was a typo I am 58 years old, so not sure what I hit by mistake, but there is no way for me to fix this and I would like to be able to use the free video chat...

    can you please help me with this, either reset the option for me to register, or get my exact age for me which is 58...

    I await your response, thank you,

    Edit: removed personal information for your protection. (philipp)

    Hi, go to https://accounts.firefox.com/signup and do a right click on an empty part of the page. Then go to view page info > Security > see cookies > clear all cookies & try again later.

Maybe you are looking for