Bug ? AAC / H264 video gets out of sync

ello,
we're using Wowza for live TV broadcasting. For now the service isn't publicly released (it will be a subscriber-only TV) but it will be in the next day.
Here is our setup:
- PlaylistBroadcaster, part of the Darwin Streaming Server distribution, reads a playlist of files and forwards them through RTP/RTCP to WMS. The files are:
Hinted MP4 container (with "Server optimization")
768 kbps, 25 fps, 720x576 H264 video
128 kbps stereo AAC-HE audio
(encoded from Final Cut Pro)
- A custom module written in Ruby generates .replacelist files to dynamically generate the playlist.
- WMS configured in live-rtp mode streams the thing to flash clients.
All this is being run on the same server (Gentoo Linux), which has quite low load when streaming (something like 0.06 on a bi-processor system).
All this is perfectly in sync when the files are read locally. It is also in sync if I watch with the "live" player shipped with Wowza or with my own, home-made player and do not leave the flash window or tab.
However, if I drop focus for the video window, like if I switch a Firefox tab, Safari tab, or press alt-tab and do something else, and then come back a bit later the video is out of sync (late) with the audio.
This happens only on this live streaming player, not on YouTube.
This night I have been running a test: I left the video running all night keeping focus on the window. After a 8 hour run, the video was still totally in sync so that's not a problem on the DSS side.
I then tried to drop focus and come back a minute or two later, on the video, and there's a slight offset, between 400ms and 2s. The audio is in advance, this is an invariant parameter: the video is never in advance.
So I'm wondering if that's a problem with Flash Player: obviously this is not a problem with Wowza or Darwin Streaming Server since it stays in sync. Could it be due to Flash hardware acceleration or something ? Any hints about H264 video getting out of sync with audio when Flash has not the focus, freezes for a second, and other such events ?
We are working on Adobe Flash CS4, the video is encoded with Final Cut Pro.

Is it 50p or 50i?
What make.model canera shot the footage?
Was the audio recorded to the camera or by a separate recorder?
Russ

Similar Messages

  • Creative ZEN 4gb video gets out of sync, please h

    When i play back relati'vely long videos (around 30 minutes or more) on my new Creative ZEN 4gb? the audio part of the video i'm watching becomes out of sync with the video after 5 minutes or so, hence the words that characters say don't match up w/ their li
    ps.
    get the picture? it is REALLY annoying and i've tried firmware .20 and it didn't help, i've also reverted to .0, same problem. is it just my player or is this a common occurance and what can i do to fix it's thanks a bunch. and don't get me wrong, i think that despite the bugs the new ZEN is a good player.

    hmm... come to think of it, that makes total sense. that could also be why the screens lag a bit when i'm listening to music and browsing my system settings as fast as i can. i'll try encoding my videos at a lower bitrate tomorrow, have any good setup in mind? (i.e. xxxKbps format-.xxx audio xxxKbps format-.xxx) also, i would think that a high bitrate (high enough to slow the player down) would produce visual slowness in the videos, and thus i could tell if that was the problem or not. but i haven't noticed visual slowness so does it work some other way or is it just so subtle that it takes a while to notice the video losing sync with the audio?

  • Why is the audio on my video getting out of sync when it is imported into itunes?

    Hello,
    I have videos in the MP4 Format, and have imported them into itunes. However, during playback in itunes, the audio gets more and more out of sync as the video plays. By the end of the film the audio can be 5-6 seconds out!
    What's strange is that the source file, played with quicktime or Windows media player, is fine and works perfectly.
    Why is the audio stretched once it is imported?
    Thanks,
    James

    I have the same problem.
    Motherboard: Gigabyte GA-MA785GPMT-UD2H
    Chipset:
    North Bridge: AMD 785G
    South Bridge: AMD SB710
    Video: Integrated ATI Radeon HD 4200
    HDMI Audio through the HDMI port out to the TV.
    Tried on Windows 7 Pro 32bit and Windows 8.1 Pro 64bit.
    Tried with the integrated ALC889A audio device enabled and disabled (It seems that the video card drives the HDMI audio device though, because it still appears in Windows even if I disable the Audio device in BIOS).
    Latest iTunes and drivers installed.
    I have already tried all sugestions about matching Windows Audio settings to iTunes settings (bit depth, frequency rate).
    Apple, any suggestions? I'm not having a great customer experience after buying a pair of HD movies in iTunes.

  • Sound and video get out of sync

    Hi,
    I am trying to craete a small little instructional video
    My video is a .avi that has 44100 audio and 29 fps
    First - Which presets should I be using?
    Second - Im trying every preset I can and watching some videos but everytime I try and edit my video and then play or move the timeline the sound gets off.  Can you guys help? Thanks so much if you can
    Im on CS4 and have done all the Updates

    Im still not sure which Preset to use?  I read your article and may have just missed how to check the preset?
    The selection of the Preset will depend on exactly what G-Spot tells you about your source footage. Things like Frame Size, Frame Rate, etc.
    As for MJPEG, I agree with Harm's suggestion to install either the Morgan, or the MainConcept MJPEG CODEC's. For most users, either works perfectly. The choice is yours.
    I wonder which MJPEG CODEC you have installed? G-Spot has Tables, where you can see installed Video CODEC's. Be aware that it will show false positives for the Adobe MainConcept installed CODEC's being broken. This is due to Adobe's naming convention for its installed CODEC's, to keep others from overwriting, or breaking them, but it fools G-Spot and Sherlock the CODEC Detective.
    Good luck,
    Hunt

  • ITunes audio/video drifts out-of-sync

    I have for a while been having problems with watching videos I have downloaded from the iTunes Store on my PC. I'm running windows 7, all my drivers are up to date, and the videos play fine if I open them up in Quicktime. If I watch them in iTunes, however, the audio and video get out of sync rather rapidly... If I watch a show in iTunes, I need to pause and restart it every 30 seconds or so, otherwise it just becomes too annoying to watch. Clicking pause then play again syncs it back up, but again it doesn't last long. I open the files in Quicktime and they play just fine, and considering iTunes just uses Quicktime for video playback, the problem must be with iTunes. I have gone through several iTunes updates, hoping with each one that the problem gets fixed, but it never does... can anyone help me??

    Also been experiencing this for some time now, win7 x64 and same sort of pc specs to all you guys, fixed it just this evening so hopefully it's not just a fluke!
    Two things to do, first in quicktime preferences, audio tab, under the sound out field, rate change too 44.1khz, size to 16 bit and make sure channels matches you windows default. Now you need to make sure your audio driver software matches these settings (as that is the software that controls the sample rate and bit depth in shared mode); mine is realtek HD audio manager, so for anyone else who has that, go to the default format tab make sure it is '16bit, 44100hz (CD Quality)'.
    I'm not a big expert on this so I can't say why itunes suddenly has a problem with these settings or why it makes a difference, I just hope that this fix works for you as well because I have been looking for a solution online forever and it's driven me insane!
    Good luck!

  • Photo Booth Audio and Video are out of sync?

    Hi. So there is this glitch that when I take videos on Photo Booth the audio and video are out of sync. This started after I upgraded to Mountain Lion, and since I use Photo Booth a lot, I really do care. Is there anyway that I can fix this until Apple fixes this bug? Thanks.
    Extra Info: The first video I took was not out of sync, but after that they got more and more out of sync.

    I've read all the forums. It's a big problem for most Photobooth users, Apple acknowledges it, but does not yet have a fix.
    The best solution I have come up with is to dump Photobooth (I know - it was a great program, wasn't it? But so was Hypercard) and use Quicktime to make videos. You'll have to spend a little more work savings or exporting, but at least Quicktime is free.
    Just open Quicktime Player and under the File menu you'll see "Record New Movie."
    The downward slide continues...

  • Audio and video is out of sync!

    when I record audio and video together with my isight built in camera on my macbook pro with either quicktime pro, photobooth or imovie, when I play the clip back the audio and video is out of sync! like watching a kung foo movie. I've tried everything, I've taken my book into see a "Genius" at thew mac store and he said to me that the isight is made really for video conferencing and is really not supposed to be fully in sync? Uhh thats weird, so mac makes a product and puts it on all their laptops and it only sort of works?? I've been on the phone with apple care, did a bunch of things like disk utility repairs on permisions, then used the startup disk to do another permisions repair. I've uninstalled quicktime pro and re-installed it a couple of times? If anyone could give me some advice that would be great! I'm a little frustrated as you can probably see! thanks
    cheers
    m

    Welcome to Apple Discussions, m
    See if any of the suggestions offered here reduce your sync quality problem enough:
      http://discussions.apple.com/thread.jspa?messageID=7089133&#7089133
    If, after making certain that your Mac is running well, has plenty of free space on the correct drive, etc., your sync is still not close enough, you can manually re-sync any parts that are unacceptable to you using either QT Pro or iMovie.
    If you check carefully, you will see that not even pro video is always perfectly synced. It is a lot of work to get things "nearly perfect," but, with a bit of practice, it doesn't take long to get things "close enough" for me.
    I use the same simple process with either QT Pro or iMovie, so you can use whichever you find easiest. Whichever you use, keep the original AV clip safe and *_work on a copy_* in case something goes wrong.
    If you do not already know how, here is my process, but you can adjust for your workflow:
    (1) Copy of the audio track.
    (2) Add the audio track copy to the AV file.
    (3) Silence the original audio and work on audio copy.
    (4) Insert small blank audio clips (or split and slide if using iMovie) if needed to make the audio later.
    (5) Cut small bits out of quiet parts (or split and shorten in iMovie) if needed to make audio sooner.
    (6) Repeat until satisfied and delete any tracks no longer needed.
    (7) Save the adjusted AV file.
    (8) Enjoy!
    EZ Jim
    G5 DP 1.8GHz w/Mac OS X (10.5.7) PowerBook 1.67GHz (10.4.11)   iBookSE 366MHz (10.3.9)  External iSight

  • Slideshow audio gets out of sync when exported to iDvd

    I made a large slideshow for a 40th anniversary party. It has 244 images & 7 songs. It is 29 min 54 seconds long. When I view the slideshow in iPhoto it works fine & the last image ends right at the end of the last song.
    When I exported it to iDvd, the audio gets out of sync with the video. By the end of the first song, the video is about 2 seconds ahead. By the end of the last image, the last song is cut of by about 30 to 45 seconds. I tried exporting the slideshow directly to iDvd. I also exported it as a large movie & it did the same thing.
    I'm using a 17" 1.67ghz powerbook with 1.5 gigs of ram.
    I'm using OS 10.4.2.
    I'm using iPhoto 5.0.4
    I'm using iDvd 5.0.1
    The images are scanned tiffs. I also have jpegs that I shot with my canon eos digital rebel xt.
    Anybody have any ideas or work-arounds?

    I suggest you either use iDVD to create two slideshows or use iMovie to get all 277 images and the 8 audio tracks into one slideshow. If you use iMovie after you get the slideshow/movie put together and completed quit iMovie. Then go into the iMovie project package (Control-click and select Show Package Contents). The find your movie in the Shared Movies folder and drag it into an open iDVD menu. This allows iDVD to to the rendering of the stills and give you a sharper image. That movie file you're dragging is a reference movie so leave it where it is and just drag it into iDVD's window.
    If you can live with two separate slideshow (consider it a potty break between the two) and you don't have or need the Ken Burns effect, you can get excellent results by building the slideshows with iDVD from imported stills. The sync to audio in this method works as advertised. I like to add a blank slide at the end of the slideshow so the music fades out during a blank, black slide.
    OT

  • Wav file gets out of sync with sequence

    Hello,
    I have a 30min sequence that I sent the dialogue to an audio engineer for clean up as an OMF. He sent it back and it gets out of sync about the first 2 minutes or so. By the 30th minute the audio is out of sync about 47 frames.
    I've tried multiple things, couple of observations: the WAV file's waveforms in the timeline show that all audio is in sync, yet when I playback in the timeline audio its out of sync. I even opened up the wav file on Quicktime player and timecodes from quicktime player and my video timeline do match, its only when i place the wav file in the timeline that it appears out of sync.
    I've sent the whole sequence to Soundtrack Pro as a multitrack project. When I playback there it is in sync with the video!!! I export back and still same issue...
    Editing on a Macbook Pro OS X 10.8.4 2.6GHZ Intel Core i7 on FCP 6.0.6.
    The sequence settings: Apple ProRes HQ 25fps. Audio settings: 48 KHz, 16-bit, channel grouped.
    Wave file (sent by audio engineer): 16bit 48.000KHz. Data Rate: 1528.21 kbits/s
    Any help would be amazing!
    Thanks,

    One possibility
    You need to have your easy setup have a frame rate that exactly matches your sequence settings BEFORE you import the audio file.  Doesn't seem to always cause a problem, but it can happen.

  • Exported quicktime files have video & audio out of sync

    I am using FCP with a Sony HVR-Z1E. All seems ok in my edit etc but if I try to export my edit to a quicktime file using the quicktime conversion option the audio and video are out of sync on quicktime. If I export using quick time movie option, all is fine as this file is played back by FCP. I have tried different settings but I cant get the audio to be in sync with the video. My settings are HDV 1080i50 on my 15" Macbook Pro
    Thanks for any help
    Regards Alf

    You can open your "quicktime movie" (not qt conversion) in quicktime player. Simply control click on the file in the finder and choose open with... Try that and let us know if the file is in synch.

  • Flash/Youtube videos - sound out of sync over time -[CHROME]

    Hi - i have some problems with videos in Chrome - when i watch videos - the sound gets out of sync from the video over time - in the start of the video the sound is perfect in sync - but after about 7 min the sound plays around 1-3 seconds before the video. it seems like the sound is playing at 100% speed but the video is only playing at 99% speed so the sound slowly gets more and more out of sync - have tried disableling flash in chrome in chrome://plugins but no result - have updated drivers

    A/V sync is hard, and there are hundreds of ways to encode a video.  Adobe provides guidance on how to best publish content to ensure that it consistently plays back well, but that's an uphill battle.
    A direct link to the problem video is the most useful information you could provide in this case, along with details about your system.  It would also be useful to know if the A/V sync problem goes away if you disable hardware acceleration, as described in the video troubleshooting guide.
    https://helpx.adobe.com/flash-player/kb/video-playback-issues.html
    Thanks!

  • Audio and Video are Out of Sync

    Hello,
    This seems to be a reoccurring problem for me and I'd love some help getting it resolved once and for all. After capturing footage, the audio and video are out of sync in the clip AND when I drag it to the timeline. When I go through each part, it looks like the video hesitates often, which seems to be causing the misalignment of audio. But, once it is moved into alignment, it goes out of sync again throughout the remainder of the one hour video.
    I'm capturing through a Canon Optura 50 Mini DV and editing with FCP 6.0.1. I have checked that the audio mode is set to 16 bit on the camera, and the capture settings have the audio rate for 48 KHz.
    This same problem occurred when I was capturing another event last week.
    PLEASE advise. It won't get aligned even if I take the hours and hours to move the audio left and right frame by frame.

    I am still wondering why you're recommending that I use an external drive for this project.
    Because the internal has more than enough to do running Mac OS X and the applications. It is constantly writing files. While DV video is at the lower end of the scale, it is still asking a lot of the drive's read and write head.
    I always used external drives, but we had many problems with delays and processing problems.
    At the very least, you should be using FireWire external drives. USB is no good for video as it delivers data in packets, not the sustained stream that video needs. The drives must also be formatted as Mac OS Extended. Windows FAT 16 of FAT 32 formatted drives have file size limits of 2 and 4 GB respectively. Anything larger is segemented and can cause problems on a Mac.

  • IDE suddenly gets out of sync with dbx

    I recently have seen a few cases where, during debugging sesions, the IDE gets out of sync with dbx: while sitting at a breakpoint, the debugger toolbar buttons suddenly are greyed out with the exception of the "Pause" button, as if the inferior process were running. A message "Process state modified" is displayed briefly in the status line at the bottom. I suspect this may be due to a problem with balloon evaluation, because somehow it seems to be triggered by cursor motion.
    It is possible to "rectify" the situation by issueing a "next" in the dbx console, after this, the debugger toolbar buttons revert to their normal state.
    I will try to narrow this down further. Is there anything I can do which could help to find the problem?
    This happened with Sunstudio Express 07/08 as well as with 11/08.

    I finally managed to reproduce this reliably. This was confusing at first because it does not only involve certain C++ code, but also the dbxenv variable output_dynamic_type.
    This is indeed a balloon evaluation issue: If the mouse pointer hovers over an expression which involves an overloaded "operator->()", I usually get a balloon saying "<contains function calls>, which is okay. If I set "dbxenv output_dynamic_type on", I get the same output, but the toolbar switches somehow to "running" when the balloon pops up.
    I can reproduce this with just a dozen lines of self-contained C++ code.
    I will report a bug at bugs.sun.com.
    BTW: could anybody please set the timeout value for posts and replies in this forum to a reasonable value? This reply took me only a few minutes, but when i actually posted the message I got a timeout response...

  • Mac OS X partition ("Macintosh HD") gets out of sync after hibernation

    Hello,
    I have a first-generation Unibody 15" MacBook Pro. I run Mac OS X Lion and Windows XP Profession 32-bit through Boot Camp on it.
    I notice that the Mac OS X partition gets out of sync after I hibernate in Windows XP, reboot into Mac OS X Lion, restart and resume Windows XP. Certain folders would remain visible in Windows Explorer but become inaccessible, while some folders that I just created in Mac OS X would not even show up.
    Is there a way to tell Windows XP to "remount" the HFS+ partition?
    Steps to reproduce:
    Boot into Windows XP;
    Hibernate Windows XP;
    Boot into Mac OS X;
    Pick a folder and change something in it;
    Create a new folder;
    Reboot and resume Windows XP;
    Open "Windows Explorer";
    Try to access the folders you just meddled with.

    SwordAngel wrote:
    Hello,
    I have a first-generation Unibody 15" MacBook Pro. I run Mac OS X Lion and Windows XP Profession 32-bit through Boot Camp on it.
    I notice that the Mac OS X partition gets out of sync after I hibernate in Windows XP, reboot into Mac OS X Lion, restart and resume Windows XP. Certain folders would remain visible in Windows Explorer but become inaccessible, while some folders that I just created in Mac OS X would not even show up.
    Is there a way to tell Windows XP to "remount" the HFS+ partition?
    Steps to reproduce:
    Boot into Windows XP;
    Hibernate Windows XP;
    Boot into Mac OS X;
    Pick a folder and change something in it;
    Create a new folder;
    Reboot and resume Windows XP;
    Open "Windows Explorer";
    Try to access the folders you just meddled with.
    Don't hibernate, shut XP down when you reboot and the issue goes away, you really should consider using a more modern operating system.

  • Video & Audio out of sync after update

    Ever since I updated my MacBook Pro to OS X Yosemite v10.10 last week, all videos are out of sync with the audio. It wasn't just on Safari while playing YouTube videos or DailyMotion videos, but also when playing videos files on my computer. For short videos, the audio is just a second ahead or behind the video, but for long films it can be minutes apart.
    Does anyone else have this problem? Can anyone tell me what caused this and how can it be solved? Thanks so much!!!

    I have the same issue and it started 3 days ago. This happens with anything I'm watching, netflix, huluplus, youtube, crackle, anything that has audio and video. The biggest issue is that it's also affecting iMovie and Final Cut pro X. This is a MAJOR issue given that I make a living editing video. I hope somebody can find a solution for this issue.

Maybe you are looking for