Video and audio out of sync!

Discussion in 'Other video questions' started by janlafata, Apr 1, 2009.

  1. janlafata

    janlafata Regular member

    Joined:
    Dec 21, 2008
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    26
    Question!...If an AVI file, in it's raw form, has the video and audio out of sync a little bit, is there any program that can correct that. I thought I heard someone told me once to run it through VirtualDub under Direct Stream copy. I know whatever program I run it through, it's going to take some time to process. Suggestions?
     
  2. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    If you have VLC installed, you can play the file and use 'Ctrl l' and 'Ctrl k' to figure out the delay.

    If you have MPC, use the + and - keys on the keypad.


    Load the avi file in VirtualDub and set 'Video' > 'Direct Stream Copy' (so that it doesn't recompress the video).
    Then 'Audio' > ' Interleaving'.
    In the lower pane set the 'skew' that you got from VLC or MPC or your best guess, then 'File' > 'Save AVI'.
     
  3. mistycat

    mistycat Active member

    Joined:
    Nov 3, 2003
    Messages:
    3,054
    Likes Received:
    0
    Trophy Points:
    66
    Only if the sync issue is constant, AviMux_Gui should fix thing's in about 30 second's: http://www.alexander-noe.com/video/amg/ (vl binary 17.8). Open or drag your avi into the top window, highlight it and select generate data. In the lower window, highlight audio and your delay will appear to the right in ms. Select start and create a new avi to use. If burning to DVD, check avi's that have no delay on the pc, has only failed me twice in a couple of hundred avi.
     
  4. janlafata

    janlafata Regular member

    Joined:
    Dec 21, 2008
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    26
    Misty,

    When you say "constant", I'm assuming that you mean if the the audio is out of sync with the video throughout the duration of it's playback. I'm not sure that's the case with some of my AVI's. One or two have a period where the video and audio are out of sync at first but then it clears up some as it goes along.
     
  5. mistycat

    mistycat Active member

    Joined:
    Nov 3, 2003
    Messages:
    3,054
    Likes Received:
    0
    Trophy Points:
    66
    Constant-the same sync issue start to finish as opposed to gradual where sync deteriorate's throughout. AviMux_Gui won't help the file's you describe. Use attar's method or have a look here though I've never tried this: http://forum.videohelp.com/topic309224.html (old thread, any version of G-Spot should do-may be for encoded video too).
     
  6. janlafata

    janlafata Regular member

    Joined:
    Dec 21, 2008
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    26
    Wow,

    Great wealth of information on that Videohelp thread! I'm having trouble though when I open an AVI in VirtualDub. I get a message that says "Couldn't locate decompressor for format DX50(unknown".

    "VirtualDub requires a Video for Windows (VFW) compatable codec to decompress video" etc etc

    I first wasn't sure if it was because I had the program in the wrong directory. I'm running Windows XP x64 and I downloaded the x64 version. I first had it sitting in the C:\Program Files (x86) directory but I got the error message so I tried the program in the C:\Program Files directory but I also got the same message there. Still not sure where exactly I should put it.
     
  7. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128

Share This Page