Audio Video synchronization issues

Hi,
I have a video application that I am building - and
previously I used FMS and TCP connections for video. Now expecting
the latency to be much lesser with UDP, I implemented UDP in my
application and stratus as the RTMFP capable server. I used the
sample video phone application's tutorial do a simple sendStream
and receiveStream for video.
However, unlike the hosted sample application itself, my
audio and video are completely out of synchronization - about 4
secs!! I tried to look at the sample code to see if there were any
special settings that were made. I could not find any.
My questions:
1. Did Adobe make any special tweaks in their hosted sample
application? If so, what are they?
2. Are there any known synchronization issues with using
RTMFP connections for video?
3. Does anyone else also face audio video synchronization
issues?
4. If none of the above is true, what do you think my
mistakes are? Please let me know if I need to add more information
to answer this question.
Thanks in advance.
Rohan

with RTMFP, video and audio can go out of sync if the data
rate of your stream exceeds your network capacity. video is
currently sent with 100% reliability, so once it's queued for
transmission, it's going to be sent (eventually). video is lower
priority than audio, though, so your audio data gets first dibs on
your network capacity. if the video stream's data rate is higher
than what fits in your network (after audio), the video data will
back up until its send buffer is filled, and new camera frames will
stop getting captured. in the steady state, this can look like a
multi-second offset between the video and audio.
try turning your video rate/quality down so that it fits in
your network capacity. video and audio should stay in sync.
with RTMP, there's one network transmission buffer (TCP's)
for all of the parts of your stream (audio & video). when you
have insufficient network bandwidth, the TCP buffer will eventually
fill up and video frames will stop being captured to compensate. so
while audio and video might remain in sync, the total end-to-end
latency will go up. when using RTMFP, the audio and video have
independent transmission buffers, so in cases of insufficient
network resources, the higher-priority audio should remain more
timely but video may fall behind.
-mike

Similar Messages

  • Audio/Video Synchronization Issue

    I am running iTunes for WinXP version 6.0.4.2 and have been unable for the past month to watch any more than ten seconds of a downloaded video before the audio and video become unsynchronized.
    I have tried uninstalling and reinstalling the latest versions of iTunes and Quicktime (v. 7.1) without success. All of my video drivers are up-to-date, and the transfer mode for my hard drive is set to "DMA if available" per the instructions in the troubleshooting guide found at:
    http://docs.info.apple.com/article.html?artnum=303706
    Is this a known issue with the latest versions of iTunes and Quicktime? The Apple commercials on the apple.com website are also out of sync, leading me to think that this might be a Quicktime-specific problem. Any suggestions (short of buying an iMac, which I have already considered)? This has become really frustrating!
    Thanks!
    Dell Inspiron 5100   Windows XP  

    Quick follow up, I just uninstalled iTunes and Quicktime and installed the standalone Quicktime referenced in this thread:
    http://discussions.apple.com/thread.jspa?threadID=529813&tstart=15.
    Quicktime is working as it should now.

  • Audio video sync issues with iMovie 11

    Hi: I've been using Roxio Video Capture software to convert VHS tapes to digital (quiktime) movies in preparation for saving them on DVDs. Most of my clips seem to have synchronization issues and I am at a loss as to how to fix them. Most of the historical blogs and forums get either very technical or simply do not work for me. I am far from being expert at using iMovie or performing editing tasks so I could use specific expert help with this problem. So far I have learned how to detach the audio, but am at a loss as to what to do with it once I detach it

    Hi socalhkc!
    I have a couple of articles that might be able to help you adjust the audio in your iMovie project:
    iMovie '11: Set the beginning and end of a sound or music clip
    http://support.apple.com/kb/PH2258
    iMovie '11: Extend a video clip’s audio over the next clip
    http://support.apple.com/kb/PH2260
    I hope that provides some guidance for you. Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Audio / video sync issue in playback

    for every recording i've made, when i play back the archive there is noticable lack of sync between the audio and the person's mouth.   the video seems to lag behind by almost a second.  the good news at least is that the delta is constant.
    has anyone else experienced this?  it's happening in any scendario i try, even if i'm just recording myself. 
    is the LCCS dev team aware of this?  since audio and video streams are recorded separately, is there any way for me to programatically 'nudge' the streams into sync?
    it's currently a show stopper, it looks really bad when the sync is so obviously absent.

    finally getting back to this..
    i did as you suggested and recorded a video of myself using the recording and playback examples provided with the SDK (the 2.2 newest version btw).
    the de-syncing of audio and video is definitely there.  it seems especially bad for longer recordings.  however, an interesting thing i discovered in playback:
    - sometimes, if i drag the playhead somewhere in the recording, pause, and then hit play, video and audio fall into sync. 
    - if i start playback from the beginning of the recording, audio/video is always out of sync.
    i understand that the video and audio streams are recorded separately and thus played back separately.  my guess is that when those streams are retrieved and playback begins, one starts before/after the other because they're not retrieved at exactly the same time.  it seems some extra work is required to ensure that their playback commences at exactly the same timestamp within each stream.
    i can provide my recordings as an example if required.
    this is a total showstopper for me.  it renders the entire recording service useless if the playback can't have sync between audio and video.  i would be happy to help with testing this more.  can someone from the LCCS team comment on this issue?
    thanks
    adam

  • Why Wont Apple Fix AUDIO / VIDEO Sync Issues

    This has been a problem for awhile. Thank god there is a application fix but im receiving an iTouch very soon and I'm not sure if the same problem is going to be on that to..
    It might be how Quicktime reads .MP4 and .M4V Files but i can play the videos on VLC and Zune Software fine..
    I see other people posting this exact same problems. I see no answers... Apple Knows this is an issue. Why wont they fix it.
    From what im hearing it is the audio that is going out of sync from the video.
    Now my Final Question is
    "Is this just a Software issue for the computers or is it also a Software issue (Assuming that quicktime is the software on these devices) for the iTouch / iPhone ?

    well i got my itouch today and it seems that the audio and video sync issues are only on the computer distributions of quicktime and not the hand held device versions

  • Audio / Video Syncing Issues

    Hello Everyone,
    I own a 2011 MacBook Pro with a 250GB SSD and 8GB upgraded Ram. I'm currently using iMovie to create an hour long movie with images / audio / and voiceover in certain sections.
    I have been working on this for quite some time and would like to be able to export it the same way I'm able to view it inside the Application. However, when I export the movie the audio / video / voiceover is off and it does not match with what I have worked on inside the project.
    I have also tried breaking down the movie and exporting it in sections but the audio is still not syncing correctly on the export.
    Please can someone help me out and help me explore my options.
    Thanks in Advance,
    Mauricio

    Sorry for the confusion. To clarify:
    The Video and Audio are OOS. Let's say that at the beginning of the Clip, the difference is ~ 12 frames off. Is it still that ~ 12 frames off at the end, or is it now ~40 frames OOS?
    Though the best is to Capture with no OOS issues, the former is fairly easy to fix. The latter takes more work.
    Also, whether the OOS is constant, or dynamic, might lead to figuring out where this issue is being introduced.
    Good luck,
    Hunt

  • Audio/video synch issues

    Hi-
    I *Just* got a new Mac Pro last night and installed FCS with FCP 7.  Updated everything.
    I captured NTSC Dv video in ns 48K from my Sony HVR-m25U via firewire. The audio/video are a little out of synch. 
    It's been a few years since I've upgraded FCP.  My last version was 5.1.  Is there soemthing in preferences I should or should NOT check?  I vaguely remember this issue from years ago but can't remember what it was.
    Also, I currently only have 3gb of the installed memory int eh amchine.  16 gb are arriving on Wednesday.  Could this be a problem?
    thanks!!

    Thanks for clarifying!
    I am monitoring the audio through Bose speakers that are connected to the audio output of the compute
    If you go to the menu View > Audio Playback, what is selected?
    "Default"  Audio follows video is grayed out.
    if you go to the menu View > Video Playback, what is selected?
    A grayed out  "(Missing) Apple Firewire NTSC"

  • Audio/Video Publishing Issues

    I've narrated three videos and have included two small flash videos into my project. When I publish the project, the video and the audio don't play. Any advice for resolving these two issues would be much appreciated. Thank you.

    with RTMFP, video and audio can go out of sync if the data
    rate of your stream exceeds your network capacity. video is
    currently sent with 100% reliability, so once it's queued for
    transmission, it's going to be sent (eventually). video is lower
    priority than audio, though, so your audio data gets first dibs on
    your network capacity. if the video stream's data rate is higher
    than what fits in your network (after audio), the video data will
    back up until its send buffer is filled, and new camera frames will
    stop getting captured. in the steady state, this can look like a
    multi-second offset between the video and audio.
    try turning your video rate/quality down so that it fits in
    your network capacity. video and audio should stay in sync.
    with RTMP, there's one network transmission buffer (TCP's)
    for all of the parts of your stream (audio & video). when you
    have insufficient network bandwidth, the TCP buffer will eventually
    fill up and video frames will stop being captured to compensate. so
    while audio and video might remain in sync, the total end-to-end
    latency will go up. when using RTMFP, the audio and video have
    independent transmission buffers, so in cases of insufficient
    network resources, the higher-priority audio should remain more
    timely but video may fall behind.
    -mike

  • A105-S4284 audio/video playback issues

    When I play a CD or DVD using Media Player, Media Center, iTunes or InterVideo WinDVD, I get choppy/slow video and slow/choppy audio with popping sounds.  When I play video or audio already on my hard drive or stream from the web I don't have this issue.  I've tried uninstalling the audio, video and DVD drive drivers, then let Windows find and re-install the drivers/hardware and the problem is still there.  I've tried downloading and installing the latest drivers on the Toshiba site for audio and video and still the problem continues.  I also dowloaded and installed a much newer but generic video driver from Intel's site and I still have the issue. 
    Anyone have any other ideas?
    Thanks. 
    Solved!
    Go to Solution.

    Ok so I'm a bit of a dummy.  This issue has been really bugging me so I decided to try a lens cleaner to see if it would help.  It didn't unfortunately.  I then uninstalled the drive and rebooted rather than scanning for hardware changes.  This improved things a bit-I was able to play a cd normally in Media Player but nothing else.  I checked the IDE controllers again and the secondary channel this time was running in PIO mode.  I uninstalled the sencondary controller, rebooted and voila! The controller reinstalled, is now running in Ultra DMA Mode 2, DVDs and CDs now play fine. Either the lens was dirty and causing time out issues while reading discs which caused the change to PIO or I just missed it when I first checked.  Either way, thanks for the help.

  • Audio & Video synchronization in PE4

    Audio is late. What steps to do to synchronize it with the video.
    Thanks

    Benjamin,
    As Steve points out, this is usually do he AV file. DV-AVI Type I's exhibit out of sync issues often. Xvid & DivX can also, though usually one only get Audio, or Video. Conversion to DV-AVI Type II usually eliminates most sync issues.
    Now, it is possible that you can "fix" your sync problem, if it's a constant offset, and doesn't drift over time.
    Before you do a lot of cutting of your Clip, Zoom in on your Timeline. Find something that is pretty obvious in your Video, like a CU of someone talking, a Clapper/Slate, an explosion, etc. Turn off Snap (remember to turn it back on, when done). Alt-click on your Audio to Select only it, and not the Video. Now, slide the Audio along to match up with that point in the Video. You may have to experiment a bit, depending on what you have to sync to. I'd also monitor the Audio with a good set of headphones, and expand both the Timeline and the Program Monitor to as large as you can for this.
    Once you have the Audio in sync to your visual spot, test the entire Clip, to make sure that the sync stays, and does not drift. If you've got it, then turn Snap back on, and edit. You might want to make a notation of the offset that is required, as it is likely that all other Clips will require the same, or nearly, amount of offset. As Audio sync problems seem to have the Audio late, you might want to add a couple of seconds of Black Video in front of the Clip, to allow you to slide the Audio to the left, to match sync.
    The best way to eliminate this issue is to Capture in PE from a miniDV tape camera via FW, creating a DV-AVI Type II file, or convert your Assets to this, before Importing into PE.
    Good luck,
    Hunt

  • Audio/Video sync issues after exporting

    Two quick issues:
    1. I've recently exported a project from FCE4 to quicktime and am finding that the audio is slightly out of sync with the video everytime.
    Is there an ideal format or setting I need to export at to avoid this?
    2. Also, I've edited two projects using the same clips and keep finding that the second one I make seems to make the video very narrow when I export it. Is there a setting I need to use to avoid this, or does the problem lay in the setup?
    Cheers!
    John

    From what I see in your info, the clips don't match the Sequeunce.
    Furthermore, the clips are not FCE freindly. Probably required rendering?
    I'd suggest using Streamclip to convert the H.264 clips to the exact specs of one of the FCE>Easy Setups, audio and video properties, then start over.
    http://www.squared5.com/
    BTW: Whatever you convert the clips to must match the Easy Setup, so that you work with Clips and Sequence being the same. The best way to acheive this is to start a NEW Project, set the Easy Setup first, then bring in the the matching clips.
    Using Item Properties in Browser>Seqeunce/Clip is one way to confirm matching specs for both.
    Al

  • Final Cut Audio/Video sync issues

    Yes, I realize this has been discussed before, but for the life of me I cannot find the answer. So here we go.
    - FC version is 7.0.2
    - OSX is 10.6.3
    - Processor 2.8 Ghz Intel Core Duo 2
    - Memory 4 GB 800 MHz DDR2 SDRAM
    I have used FC before and well acquainted. Recently I took a brush up course and used material provided in a book DVD. Had no issues while practice editing with this material.
    Now have material saved I want to edit with. All video is saved on an external and in MOV format. No worries getting in imported in FC. However, every video I use starts to audio slide and by the time it reaches around halfway, full blown out of sync. Not by much, but it's definitely there.
    I even took these videos and re-saved them in MOV format and same thing. With all this RAM there should be no need to shut anything down, but I did so. Same thing.
    The interesting part is when using the test videos that were supplied on DVD and were imported into the MAC, no worries. Now I AM bringing those videos over from a saved file on the MAC itself, but that should make no difference. When bringing over the external movies into FC, they should react without a hitch.
    Here's the fun part. ALL of these videos play perfectly on IMovie. All of them. So this makes me think there's something in the FC settings at work here. Then again, why did it not fault before?
    One more thing. I recently upgraded to Snow Leopard and have seen a few glitchy items here and there. But this is the oddest.
    Would really appreciate thoughts and suggestions. Frustration is setting in. And thanks

    The first thing I'd check is to make sure the audio clip's settings and the FCP Sequence settings match. For example, if you use AIFF 32khz, 12 bit audio in an FCP Sequence set at AIFF 48khz, 16 bit, the audio WILL be out of sync as you describe.
    -DH

  • Audio/video sync issues at chapter points, on certain DVD players

    I created a DVD using DVD Studio Pro 4, had it replicated at a manufacturing facility, and have now sent out copies to approximately 600 people. About a dozen or so of my customers have experienced issues where at the chapter points for the film (a 60-minute documentary) the audio and video go out of sync. Unfortunately I can't describe this issue any more accurately than that because I haven't seen the problem. The disc plays fine on the vast majority of players. The people that are experiencing the problem have DVD players like the Sony DVP-NC655P and the Samsung DVD-R120.
    Does anyone have any clue at all as to what the issue could be?
    Thanks very much.
    G5 Dual 2.5 GHz   Mac OS X (10.4.10)  

    Is your audio PCM or AC3? If the audio is going out of sync on onlyl a handful of set-top players, the build is probably OK, and your media is probably starting out in sync. I suspect that your bit rate may be be too high, and the audio is chiking the buffer on the player, making the audio go out of sync. What format of audio is on the disc, and what is combined average/maximum bit rate?
    Hope this helps -
    Max Average

  • Audio / video sync issues

    We are using JMF with FOBS4JMF - on some computers our player has an issue with the audio and video getting out of sync with FLV files - any ideas? Is it related to frame rate?
    Also, if we capture to a MP4 - the video plays but we do not get any audio - but the same file played in QT plays just fine. Any ideas?

    JMF doesn't support MP4 or FLV videos, the support for those are coming from FOBS4JMF, which is a 3rd party add-on to JMF. It's the policy of these Sun forums that 3rd party add-ons and libraries are not supported here.
    As such, you'll need to get FOBS4JMF support from the FOBS people.

  • Audio & video playback issues

    So here’s the deal…
    I just bought my Mac Pro (3Ghz, 3GB RAM) two weeks ago and have had problems ever since. I’m working with HD video in Final Cut Pro and the audio and video playback is glitching pretty bad. I know that it isn’t a software issue because the video and audio work just fine right after I start up my computer but as soon as I render the project or open another application the issue returns. This problem also occurs in iTunes, Soundtrack and QuickTime. Even the mouse will start to stutter. I have tried just about everything. I have reset the computer, trashed my startup folder (both recommended by Apple technicians) added a new user, reinstalled the system’s software and all the applications.
    I also own a PowerBook (1.5 GHz), which works just fine with playing back HD video and audio and actually runs faster then the Mac Pro. I have no idea what’s going in here. Any help would be greatly appreciated. Thanks in advance.

    Ok so I'm a bit of a dummy.  This issue has been really bugging me so I decided to try a lens cleaner to see if it would help.  It didn't unfortunately.  I then uninstalled the drive and rebooted rather than scanning for hardware changes.  This improved things a bit-I was able to play a cd normally in Media Player but nothing else.  I checked the IDE controllers again and the secondary channel this time was running in PIO mode.  I uninstalled the sencondary controller, rebooted and voila! The controller reinstalled, is now running in Ultra DMA Mode 2, DVDs and CDs now play fine. Either the lens was dirty and causing time out issues while reading discs which caused the change to PIO or I just missed it when I first checked.  Either way, thanks for the help.

Maybe you are looking for

  • Upgrade for HP Pavilion HDX9300 CTO Notebook PC

    Good morning people! I have one HP Pavilion HDX9300 CTO Notebook PC and have some questions: I am wanting to upgrade my HD drive for a SSD model and increase my DDR memory. I know my memory operates at a frequency of 667 MHz but need to know if my no

  • Can't connect Photosmart 7510e all-in-one C311a to network for updates-new install-Windows 7 32 bit

    During installation of new printer and wireless e-print set up (Photosmart 7510e all-in-one C311a) I was asked to use printer to check for updates but I am getting error "printer is not connected to a network". I have printer connected to laptop via

  • Bad file system performance in OS X Mavericks

    After installing OS X Mavericks I experience bad file system performance approx. three times per day: Opening Finder and trying to a access a directory gets my MacBook Air (1.8 GHz Intel Core i7 4 GB 1333 MHz DDR3 with 250 GB Flash) stuck every appro

  • Macbook 5,1: everything works, but in a dark screen.

    My Macbook 5,1 screen is almost completely dark. If I point a flashlight at the screen I can see everything is working fine: It boots, I can open apps, etc. It's just too dark. Someone told me I need to replace the logic board, and that's $1,100 at t

  • How to change IP address permanently on Solaris 10

    Hi Solaris Experts, I would like to update an IP address permanently but believes ifconfig only does it on the fly and will revert back once the Solaris 10 Sun Fire server is rebooted: ( i ) # uname -a SunOS angel 5.10 Generic_139556-08 i86pc i386 i8