How to demultiplex the merged audio and video streams

Hi. I'm currently working on a video conferencing program. I successfully implemented the program using threads to run the audio and the video clients and servers. The problem with this is that the delay for the transmission of both media is a little too great. So now, I'm trying to merge both media into on DataSource, so then I don't have to worry about sending audio and video into 2 different ports and RTP sessions. I know how to merge the audio and video streams, but I was wondering how to extract each media back after receiving the merged audio and video streams. Any ideas? I used the createMergingDataSource(the_DataSource_array) method to merge both streams. Thanks.
J.L.

I am working on the same problem. Is there any solution yet?
Regards
C.Eckert

Similar Messages

  • When exporting separate audio and video streams, the audio drifts out of sync

    So this is my first slightly larger project in Final Cut Pro X.
    When I export my finished project (around 12 minutes long) straight to quicktime, it plays back perfectly.
    When I export using compressor, the resulting audio and video streams are two different lengths. The audio comes out a full second longer. If you try to lay them down in a program like Adobe Encore, the audio starts out perfectly in sync. Two minutes in you notice the video is slightly out of sync with the audio. By the end of the video it's comically bad, over a second out of sync.
    What's even more vexing is if I try to take the quicktime file that IS in sync upon playback, and try to convert it burn that to a dvd or blu-ray using toast, the problem re-emerges.
    I triec searching around, but most of the suggestions that came up were vauge, like, "Upgrade to a real program like Final Cut." (This was in reply to people who were using free software programs.)
    I did see one idea surface where 44 and 48 kHz sampling rates don't play well together. So I combed through my project and found all the 44.1 songs that were used, and swapped them out with upsampled versions. Nothing changed. It didn't sound like it would fix it, as people usually said it was a specific amount of frames off, not something drifting out of sync.
    So the question is, does anyone have any suggestions on what could be causing this? Thanks! :-)

    Project settings can be accessed and changed by selecting the project and pressing command-J. Then, in the inspector, click on the little gear in the lower-right hand corner to access the settings.
    Why are you trying to output video/audio separately? If the content plays in-sync when exporting a quicktime movie (using current project settings), you could try separating the video/audio using MPEG Streamclip as a second step instead of using compressor. For audio, don't change the sample rate from the project settings, and use uncompressed audio (AIFF) as the output format.

  • Adobe Captivate 7 Project How to make Rollover cations, audio, and video work in HTML format?

    Adobe Captivate 7 Project How to make Rollover cations, audio, and video work in HTML format?

    Honestly, I don't even know why this is an option. The conversion to Flash is completely unusable.
    I have exported some things to Flash, and since I program in Flash all the time I was able to manipulate to work to some degree. Most text captions are built with multiple elements and completely fall apart.
    Sorry, I can't be of more help.

  • Multiplexing audio and video streams,,,,,,,,,,

    hii frnds,,,,,,,,my proj is "Web Conference" ,suppose v capture audio and video streams separately from MIC and webcam respectively now how to multiplex this into a single stream so that i can later upload it to a server and from there clients can download as a single stream and later demultiplex at receiver side

    I am programming the videoconference program using Java Media Framework API. I use two session to transmint and recieve the media, one for audio and one for video. Two players are opened to play both media. I would like to know if I can play both media using only one window.

  • Audio and video streaming example using USRPs

    Is there any example available which can do audio and video streaming together using USRPs.
    Thanks.
    JK

    It is video transmission only.  That is the only example I can find that comes close to what you are trying to do.  Together along with this demo:
    http://www.ni.com/white-paper/13881/en/
    You may be able to piece together what you are trying to do.  Other than that, I don't see any current audio/video streaming examples.  If you pursue this application, don't forget to give back to the community!
    http://www.ni.com/examples/

  • Multiplex audio and video streams

    I am stuck here,I want the audio and video streams obtained after processing by Codes to multiplex to AVI format. I found that this problem has already being posted but no reply. Kindly reply immediately as project is in last phase.

    I am programming the videoconference program using Java Media Framework API. I use two session to transmint and recieve the media, one for audio and one for video. Two players are opened to play both media. I would like to know if I can play both media using only one window.

  • How to fix problems between audio and video sync?

    Hello, I have this old camera DSR 200P and I'm trying to import to my final cut pro x. The importation success well but at the end the syncro between audio and video doesn't work. How can I fix it?
    It's possible my mac doesn't accept this kind of camera or should I change any options of final cut?
    Thank you

    I use to edit footage for a client that was recorded on a DSR-250 (successor of the DSR-200) and every time, every single time, the audio sampling rate would not match my Sequence settings of 48khz, 16bit.  The sampling rate of the captured video was always off by a slight amount. It might be 47999.9 one time and 48000.1 the next time ... but it was never at 48000 as it should have been.  I chalked it up to Sony using cheap synthesized crystals (frequency generator) to control the rate.
    Anyway, the fix was to export the captured clip using QuickTime Pro with the export's audio settings to 48khz, 16 bit.
    -DH

  • How do I combine separate audio and video files into one Quicktime movie?

    I have DVDs that contain separate audio and video files in folders marked Audio_TS and Video_TS. I would like to know how to combine these files into a single Quicktime movie. Is there inexpensive or shareware software that imports and unites these files reliably? A simple solution is preferred, rather than getting into complex media editing applications.
    G4 eMac   Mac OS X (10.4.9)  

    Doug - the VOB files (in the VIDEO_TS folder) are MPEG-2 files. MPEG-2 have the video and audio mixed into the one file - there are no audio files to combine.
    The rest are directions to a DVD player (e.g. the BUP and IFO's) . The AUDIO_TS folder is used for DVD Audio discs and on video DVDs is always empty.
    Many people use Handbrake or iSquint to convert VOB to iPod video though MPEG Streamclip is the best - open the first numbered VOB and it will prompt you to open all of them. ALWAYS fix timecodes when it asks. You can then edit/trim and export to MPEG-4.

  • How to synchronize multiple, unorganized audio- and video clips

    I'm editing a video with audio recorded by an external recorder.
    I've been given a lot of unorganized files and I wonder if there's a quick way to synchronize them all without knowing which audio- and video file that fit together.

    I've been pretty amazed by how well the synchronize clips command works. You might take a chance and select all of your audio/video files at once, right click and choose Synchronize Clips.

  • Play audio and video streams in only one player

    I am programming a video conference system and I need to play streams of audio and video with only one player. I recieve the audio and video with two different sessions and two windows players are opened to play the medias. I want to play both medias with an only window. Can I do this?
    Thank you!

    I am programming the videoconference program using Java Media Framework API. I use two session to transmint and recieve the media, one for audio and one for video. Two players are opened to play both media. I would like to know if I can play both media using only one window.

  • FCP7; "unmerge" merged audio and video clips in the timeline?

    Our TC was way off in some areas due to a bad timecode lemo on set. My editor synched by slate then merged the video with an audio mixdown track using the in points. Now when I export an EDL the original TC from the audio clip is gone, so he has no reference for matching up the audio. Does anybody know of a way to un-merge these clips and restore the original filename (audio takes the name of merged video but reveals correctly in finder) and timecode? Thanks.

    what happens if you match frame the audio?  I would think it would match back to the source audio clip which you could then use to replace the audio in the timeline.

  • Upgraded to mac os x maverick 10.9.1. Any suggestions on how to fix problems with audio and video bugs?

    Having problems with video and audio delays for mac ox x maverick 10.9. Are there any ways to fix this?

    I also noticed that if I wiggle my mouse around while I watch video streams the video&audio is significantly smoothier.

  • Audio and Video streaming speed to high

    I'm struggling for a couple of weeks to stream fm radio to my BB. It switches over to wap, and right after that the buffer starts filling. I hear a coupke of seconds of normal sound, and then the speed doubles. Anyone knows what i'm doing wrong?

    It is video transmission only.  That is the only example I can find that comes close to what you are trying to do.  Together along with this demo:
    http://www.ni.com/white-paper/13881/en/
    You may be able to piece together what you are trying to do.  Other than that, I don't see any current audio/video streaming examples.  If you pursue this application, don't forget to give back to the community!
    http://www.ni.com/examples/

  • Audio and video streaming

    When trying to stream content on Reuters news video streams well, but there is no audio stream. does anyone else experience this problem? I'm not sure if i have accidentally muted audio....any suggestions would be appreciated.

    Hi chris1414 and welcome to the BlackBerry Support Community Forums!
    Do you only experience this behavior when visiting the Reuters website? Have you tried other sites with streaming video?
    Thanks.
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Trouble merging audio and video

    Hi everybody. I'm using 'merge clips' to combine audio recorded separately from video. We also had a mic on the camera, so we can hear how it syncs up. The clip is an hour long. The audio starts out in sync, but gradually and steadily lags behind the video. The audio ends up being 1-2 frames behind every 30 seconds or so. Very annoying. Any idea why this would happen and how to fix?

    wing hunter wrote: unknown audio recording device. I got them as wav files.
    I would be hunting down the guy who recorded them, finding out what the unknown device is, and what its settings are/were at the time, as well as what they did before delivering the files. Were they imported from the device into some sort of software? File conversions? I know ProTools projects have selectable frame rates, and that needs to match your footage frame rate or you will have sync issues.
    Lots of variables that need to be determined before we can help.

Maybe you are looking for

  • How to install and use multiple products on same machine

    Hi, I installed BEA portal 9.2 a while back. Now I also installed AquaLogic Service Bus 2.6. How can I configure one of them so that workshop refers to one type of domain at a time. As of now, first installed version seems to take precedence. Appreci

  • GETWA_NOT_ASSIGNED DUMP while creating quotation.from existing quotation.

    hi, when i am creating an quotation from the existing quotation using the COPY button in the crmd_order i get an runtime error (DUMP) "GETWA_NOT_ASSIGNED" C "SAPLSLVC" or "LSLVCF36" "DATA_TABLE_FILL" this is happenning in production server,  but in t

  • Upgrade media

    Hello In SAP note 1299009 there is path to newest SAPUP which I do not find: Entry by Application Group -> Additional Components -> Upgrade Tools -> SAPUP UNICODE -> SAPUP 7.02 UNICODE -> 51033520 ERP 6.0 SR3 UC u2013 Upgrade Master Linux on x86_64 6

  • X mark on Query Result

    Hi, I am getting X on Query result. My result is set to Average of all values <>0. I am getting X on teh result. I did N0DIV also but didnt work. N0DIV work for individual single value but not for the Result. I browed the forum but nothing. Can you p

  • Space B/w string

    Hi Folks, How to put space b/w the string. I mean i have 'string120'.But i have to display this string as like 'str ing 120'. the total string is stored in single variable only. Is it possible ....if yes..How. Thanks in advance. Subbu.