How to synchronize audio track and video when transmitting by RTP

since the audio stream and video stream are transmitted separately on the network even if in a merged data, how to synchronize the audio stream and video stream at the receiving end ?

camelstrike wrote:
Hi everyone!
I've tried to make one of the processors, processor1, control the other processor, processor2, with processor1.addController(processor2) but I get a
javax.media.IncompatibleTimeBaseException. I need to synchronize audio and video rtp-streams because they are sometimes completely out of sync.
In JMF API Guide I've read:
"2. Determine which Player object's time base is going to be used to drive
the other Player objects and set the time base for the synchronized
Player objects. Not all Player objects can assume a new time base.
For example, if one of the Player objects you want to synchronize has
a *push-data-source*, that Player object's time base must be used to
drive the other Player objects."
I'm using a custom AVReceive3 to receive rtp-streams and then I create processors for the incoming stream's datasource's, and they are ALL PushBufferDataSource's.
Does this mean I can't synchronize these. If so is there any way I can change them into Pull...DataSources ?The RTP packets are timestamped when they leave, and they are played in order. You can't change the timebase on an RTP stream because, for all intensive purposes, it's "live" data. It plays at the speed the transmitting RTP server wants it to play, and it never gets behind because it drops out of order and old data packets.
If your RTP streams aren't synced correctly on the receiving end, it means they aren't being synced on the transmitting end...so you should look into the other side of the equation.

Similar Messages

  • Nokia n8 How to switch audio tracks in video playe...

    How to switch audio tracks in video player? and How can I connect an external audio track playback video?

    Re: Nokia N8 how to reset to factory settings [ New ]
    ‎2013-01-16 23:06
    Hiiii i hace the same problem i dont have pasaron to hard reset my Nokia 8 and i have a big problem, i cant maje calles , or go to the Home menú, or use wifi, dial aytihing I been having that message saying that there no memory and u have to delete some data, since then just menu screen it works but nothing else please help
    HI everyone! I also have the same problem as per above. Please help! Thank you!

  • Audio Tracks and Video Out of Sync!!

    I am having a problem with not only the video and audio being out of sync, but the audio tracks, left and right, are out of sync with each other. I know it isn't the camera or tape because I watch the footage while it's capturing and it is fine, plus it happens all the time, with different tapes and different cameras. What would cause this and how do I fix it? Also, how do I set my preferences to automatically start the camera when I click capture? I have it set on my iMac but I can't find it on my G5.

    I am having a problem with not only the video and audio being out of sync, but the audio tracks, left and right, are out of sync with each other. I know it isn't the camera or tape because I watch the footage while it's capturing and it is fine, plus it happens all the time, with different tapes and different cameras. What would cause this and how do I fix it? Also, how do I set my preferences to automatically start the camera when I click capture? I have it set on my iMac but I can't find it on my G5.

  • How to add Audio Formats and Video Formats in one movie?

    Now that FCP X will not allow different settings how would I change the Audio Format and the Video Format to one movie in Compressor 4?
    When I change the Audio to ACC I have a sound file and when I change the Video Format to HD 720 I get the movie but with the original sound.
    Any help is always appreciated.

    Sorry for this one also.  Just finally searched the Inspector windoe in Compressor 4.  It is already there.

  • How to keep audio synchronized with video when exporting?

    I have a few .mp4 source files that I'd like to combine into a single file.  I've done the editing and exported.  When played, the audio is misaligned to the video.  As a test, I've tried exporting a single clip rather than joining a few and the same thing happens.  I end up with audio that is misaligned to the video after export even though they are perfectly synched in the source video.  As another test I've tried exporting a single clip to .mpeg rather than .mp4 and the audio stays perfectly synched with the video.  It seems the misalignment occurs whenever I export to .mp4.  I'm obviously missing a fundemental concept here.  Can anyone shed some light on it for me?  Thanks in advance.
    Brandon

    Hi Rafeek,
    One solution is to set the column width after manually or programmatically refresh the PivotTable, for example:
    Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Columns("A").ColumnWidth = 10
    End Sub
    Another option is to set the column width, then protect the columns from been updated by the user, before refreshing the PivotTable, unprotect the worksheet. For example:
    Public Sub LockColumnA()
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Columns("A").ColumnWidth = 10
    ws.Columns("A").Locked = True
    ws.Protect "123"
    End Sub
    Public Sub UnprotectWorksheet()
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Unprotect ("123")
    End Sub
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to repalce audio track in PR or AE?

    Assume that I recorded my voice and detected my voice frequency and waves,then i wanna replace an audio of a video im my voice frequency and it will perform my voice,it sounds like my voice.do anyone know how many softwares i need? and i to process.thx,can AE or PR accomplish this task?

    You can use Audacity to record you voice - http://audacity.sourceforge.net/
    export Audacity audio file (your voice track) as an MP3
    Import this MP3 into PPro
    Lock video track and delete original unwanted audio track
    select your new mp3 and paste to time line of the deleted audio track
    Test and adjust if audio needs to be In-sync etc.
    When happy with new audio track and video unlock video track.
    Locking the video track allows just the audio track to be edited.

  • How to import 2 separate audio tracks and keep them separate?

    I need advice about importing two separate simultaneous audio tracks and keeping them separate. I am importing footage from my Sony PDX-10 DV Cam.
    In the field I had wireless microphones on two people, a man and woman. I interviewed them separately. The man was on channel 1 and the woman was on channel 2.
    While shooting the man, for example, I could also hear the open mic of the woman who was maybe a block away talking to some friends. But her distracting sound was on CH 2 and in playback on the camera, if I dial down the volume of CH 2, I no longer hear the woman and I have a clean audio track, Ch 1, of the man who is being filmed.
    I'm trying to import the interviews into iMovies with only the relevant track turned up and the distracting track turned down. When I listen to the audio from the camera on my headsets, I can get clean sound of just the person who is on camera. But the FIREWIRE seems to grab both tracks, even though in playback i'm listening only to the clean track.
    Does anyone know how I can send just one audio track to IMovie? Any way to prevent the Firewire from importing both Ch 1 and Ch 2 at the same time?
    I only want the sound that's relevant to the person who is on camera. And I know that in the camera, it's possible to listen to just the track from one channel. I'm hearing just one track through the headsets, because I can sucessfully dial down the other track. That's the way I want to import the footage to iMovie. But the FIrewire seems to grab all the sound it can find and carry over both CH 1 and CH 2, which means I'm left with a jumble of sound that is not useful.
    And finally, if the firewire needs to grab both tracks, is there a way to assign them to two separate tracks in iMovie, so I can then simply turn one of the tracks off?
    iMacG5   Mac OS X (10.3.9)  
    iMacG5   Mac OS X (10.3.9)  
    iMacG5   Mac OS X (10.3.9)  

    welcome finecut to the  boards of discssions ...
    nope.
    iM handles the two stereo-channels as "one track", and offers 3 tracks of stereo.. (the one inside the video, 2 additional tracks...)
    I would... :
    * export clip(s) share/Quicktime/Expert Settings/aiff..
    * in a designated audio processor (Garageband, Audacity, ...) seperate the two channels, creating two "new" ones, stereo, where one channel is located in the stereo middle..
    * import these two "stereo" files into iM, into Track2 and Track 3 ...
    .. boom!done

  • HT4914 How to  synchronize my own produced Video between iPad and iPhone

    How to  synchronize my own produced Video between iPad and iPhone

    First, both your devices shoulde be using the same Apple ID account.
    Second make sure that the "Documents and Data" option under iCloud settings are set ON for both devices.
    That should make it work.

  • Language audio tracks and subtitles with videos

    I have a number of movies I have ripped that have both Chinese and English audio tracks. Is there a way to switch between audio tracks for videos, or do I just need to load separate .mp4 files for each?

    I do not think there is any option in the ipod to select between the two sound tracks, unless there is a hidden hack. I might be wrong though.
    Obviously the only option I am aware of is creating two different files each with the different sound track.

  • How to acess audio on a video  clip... it plays when clicked on seperately,but not in movie.

    I have created a movie.  It will not play the audio, but when I expand the view to expert, the audio shows up.. it just does not play.  It does play the narration added to the pictures in the clip... What can I do.  Yes, the volume on the computer is on and turned up.

    joflobird
    What version Premiere Elements and on what computer operating system? Premiere Elements 12/12.1 by any chance?
    In your project, did you have audio on the numbered audio track and lost the sound for that once you added the narration to the project,
    using the project Narration Tool? If 12, that is a known issue. Please refer to
    ATR Premiere Elements Troubleshooting: PE12: Audio Losses After Narration Addition
    Please determine if the above applies to your situation. And, then we will decide what next.
    Thanks.
    ATR

  • TS3989 how come I'm not seeing my iphone photos and videos when I og in to icloud on my PC or online? When I log in to icloud the photos icon is missing.  I have photostream and icloud activated on my iphone..

    how come I'm not seeing my iphone photos and videos when Iog in to icloud on my PC or online? When I log in to icloud the photos icon is missing.  I have photostream and icloud activated on my iphone..

    There is no way to view your photos via iCloud.com. Videos are not uploaded.
    Photo Stream merely "pushes" the photos to your other devices.

  • WAV Audio Track 2 silent when rendered

    Using CS4/    i7 & 8 gig ram.
    Thanks so much for your help in the past. I've just noticed something strange.
    On the past couple of projects, the following happens:
    Using Bill's suggestion, I changed the mp3 over to WAV with Audacity.  Everything works better.  However, there is another issue.
    I have  imported a WAV music track into my project and placed it on audio track 2.  When I first start further editing on the project, the audio from track 2 plays fine.
    However,  when I render the video, and audio render follows, track 2 does not play.   Track 1 plays fine.
    1.  I can go to the preview panel and place the same audio file on track 3 and it will play fine................  or,
    2.  I can exit from PP and when I restart PP and reopen the project, the track 2 audio will play fine.  If I do not render the audio when I render the video,Track 2 plays fine............
    Why would rendering the audio shut off the sound?????  Any way around this situation?
      Tks,  Tom B.

    You do not need Audacity. Premiere has a feature called Render and Replace.
    Is this rendering the timeline or exporting out of Premiere?
    You can do whatever works best.
    Select audio clip, go to Clip, Audio Options, Render and Replace. THis will render the audio part to a wave generated by Premiere.
    See how that works.

  • How to replace audio track in mpg file (3,4 Gb) by mp3 fies?

    How to replace audio track in mpg file (3,4 Gb) by mp3 fies? Without loosing video quality?

    I've never used muxers under Linux, but you can try mpegdemux.
    Take a look at Elecard Xmuxer Pro, for example – but that costs $$$. Look here and you may find a good, free Windows-based tool.

  • How to separate Audio tracks

    Hi there
    Yes, I know I'm a community expert so you mighty be wondering why one would be asking here, but not for Premeire Elements. This app is new to me!
    I have a clip I've inserted into PE that was recorded with some odd stereo effect. I'm hoping there is an easy way to listen to each side of the stereo independently, decide which is the more pleasing of the two, then remove either the left channel or the right and fill in the opposite channel with the same audio.
    I've unlinked the audio from the video but am unsure how to proceed from there.
    Thanks in advance for any insight!
    Cheers... Rick

    Rick,
    Not sure how I managed to do this in PE, but I managed to delete the existing audio track and bring back in the modified one.
    I'm not sure either. Maybe brute force and a chisle to the monitor... ?
    The easiest way, for next time, is to Import that new PCM/WAV into the Project with Get Media>Folders & Files. Then, Alt+click (you are on PC, aren't you?) on the original Audio Clip (or Audio Stream of a muxed file), and Delete. Then, drag your recently Imported PCM/WAV from the Project Panel to the now empty Audio Track, where the Deleted Audio Clip was. If you have Snap ON (the S key toggles that), as you get the Head of the PCM/WAV replacement file near that of the Video Clip, the Audio will "snap" ito place.
    Glad that it worked for you.
    As stated earlier, PE certainly lacks any form of being intuitive to use. I'm really shocked this is aimed at consumers! Couple that with the, ummm "less than stellar" help system and you really have a (cough) winning combo there!
    Most of us here are in complete agreement with you. We are very fortunate to have a wonderful MOD, Steve Grisetti, who is also a prolific author, and most of his books are how to do things in PrElements (and PSElements in two cases). Steve has also done a Basic Training Series of tutorials and articles on Muvipix.com, a Web site that he co-founded. After one finishes with that, he has a complete Learning Series of tutorials and articles, though those are available by subscription to the site. The Basic Training Series is free.
    Most subscribers here point to those, the books and tutorial series, to help new users get going. Of all the Adobe programs, that could benefit from a manual, PrE is definitely one. With PrPro, the user often has a good background in NLE video work, so it's easier to use the Help Files, as they are looking for how PrPro differs from, say AVID. With PrE, the user is often very fresh to NLE work, and so many show up here totally lost. I'd love to see Adobe strike a deal with Steve, to include a copy of his PrE book with every copy!
    Good luck, and glad that we could help,
    Hunt

  • Is there a way to get an iPod touch to play one audio track and stop.

    Is there a way to get an iPad to play one audio track and stop.
    I work in education and particularly music. Teachers are looking to create a playlist of selected track but only want the selected track to play then stop.
    This allows them to talk to the class during presentation and not worry about having to stop playback mid discussion.
    I've been successful doing this from appleTVs homeshared to a library by unchecking songs in the playlist. But It would be useful to instructors who have there own media on their device.

    Thanks for a cognative answer TXMark.
    For what its worth to any readers that work in education and would like this play once and stop 'feature'
    I had great success in homeshareing a iTunes library of teaching material and creating topic specific playlist and used apple remote app to control an appletv connected to that homeshared library. As TXMark suggests, uncheck the songs in iTunes and the media will not automatically play the tracks in sequence.
    note: if you have video media that you would like to have in the playlist, be sure its listed as a music video in the options of get info of track. otherwise the apple tv will not see the media in the playlist and will put it in the movies section of the library.

Maybe you are looking for

  • Can't figure out how to change username, shortname and home directory?

    Hello, Trying to change the username, shortname and home directory on a new Macbook. I tried the following article to do this: http://www.macworld.com/article/132693/2008/03/changeshortusername.html This is my problem after trying the above article:

  • How to connect oracle database in UNIX OS

    Hi All can any one help me on how to connect to oracle database in UNIX system(PUTTY).. Generally what i am doing is 1) login with my user name 2) trying to connect oracle using the command sqlplus -s username/password showing error SQLPLUS: not foun

  • 1920x1080 TV as monitor not filling screen/black padding.

    I have an LE40C535 Samsung HDTV. I'm connected to it via VGA cable. When I choose 1920x1080 @ 60 hertz, the screen is compressed from the left and right with 2 black vertical rectangles. Setting to lower resolutions fills the screen but it looks poor

  • Editable ALV Report

    Hi experts, Is it possible to create ALV report in editable mode. Regards, Rajneesh Gupta

  • Analysis Trace -- HTTP Plugin for Internet Explorer 8

    Hello, We have configured E2E Root Cause Analysis, and we are trying to use "Trace Analysis". We have download HTTP Plugin that is attach in Note 1041556, but in this note we have found that this plugin is for IE 6 and IE 7, and in our customer we ha