1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

audio out of synch

Discussion in 'DivX / XviD' started by Fiz24, May 4, 2005.

  1. Fiz24

    Fiz24 Guest

    I have a divx file and the audio is ahead of the video. Could someone advise how I can correct this.

    Many thanx for any suggestions
  2. AfterDawn

    AfterDawn Advertisement

  3. The_OGS

    The_OGS Active member

    Joined:
    Feb 18, 2004
    Messages:
    1,483
    Likes Received:
    0
    Trophy Points:
    66
    Hi Fiz,
    To resynch the DivX, you need to re-time it in NanDub.
    Set both A & V to 'direct stream copy', then advance or retard the audio relative to the video to achieve sync at the beginning of the AVI.
    If the sync wanders away as the AVI progresses, you must adjust the video framerate to achieve sync at the end of the DivX.
    If you are sync'd at the start, and at the end, and the sync wanders around in the middle of the program, you're bunned ;^(
    Ask back here if you have any problems.
    Regards
  4. Fiz24

    Fiz24 Guest

    Thanks for the help. Will give NanDub a go, not used before, but your explanation sounds simple.

    Fiz
  5. hursty

    hursty Regular member

    Joined:
    Nov 22, 2004
    Messages:
    4,617
    Likes Received:
    0
    Trophy Points:
    46
  6. narutard

    narutard Member

    Joined:
    Jan 13, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    11
    Hello all
    I have the same problem.
    is there any other software that can do the same as nandub or avinfo?
    Nandub is complicate for me and avinfo doesn't work.:-[
  7. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    1) [bold]VirtualDubMod[/bold]. Open your AVI. Do Stream___Stream List___Save WAV.
    2) [bold]HeadAC3he[/bold]. Encode that WAV audio stream into MP3. Choose, just below the input's file name, a proper delay. Usually, if you encode the sound CBR you don't have any delay, but if the audio was badlly encoded you'll have a constant delay. Listen to the movie and find out the proper delay to apply.
    Click [Options>>] a couple of times until you can choose the LAME configuration. Choose as Preset [bold]Alt CBR[/bold]. Check the mode becomes CBR. Choose a proper bitrate (e.g. 112 or 128 kbps)
    3) [bold]VirtualDubMod[/bold] and Open your AVI (again). Do Stream___Stream List. This time DISABLE the old sound stream and ADD your new MP3 audio stream you just made.
    Keep Video's settings at Direct Stream Copy and do File__Save (F7) to save your new AVI. If you checked Video__Direct Stream Copy , the video won't change a bit, but the sound will be your delayed MP3 sound stream.
    I cannot do more. Free software, a full detailed guide....
    Last edited: May 10, 2005
  8. The_OGS

    The_OGS Active member

    Joined:
    Feb 18, 2004
    Messages:
    1,483
    Likes Received:
    0
    Trophy Points:
    66
    I'm sorry, but I respectfully disagree ;^(
    He can quickly & easily re-time the video and audio he has (be it AC3 5.1, AC3 2.0, VBR MP3 or CBR MP3) in about 90 seconds, with the very simple solution I have described.
    Direct-stream copy both.
    Adjust the synch.
    Done.
    @ Narutard
    Nandub is very, very simple.
    It is the same as VDubMod, but it works with VBR and AC3 audio.
    You open the AVI, select direct-stream video, select direct-stream AVI audio, leave the interleave setting on the default (every 1 video frame) and then adjust the audio to begin sooner, or begin later, using the 'Audio skew correction' on the Audio > Interleaving options menu.
    The adjustment is in milliseconds (ms).
    Remember that 1000 ms = 1 second, and you're good to go :^)
    'Save file as...' and then give it a new name (or same name in different directory).
    I have explained this very simple solution so many times that I grow weary of explaining it, LoL ;^) can n00bies not search to find the previous explanations?
    It seems that even the Moderators are not listening to me...
    L8R
  9. narutard

    narutard Member

    Joined:
    Jan 13, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    11
    Thanks Aldaco
    Thanks OGS

    I'll give it a try again
  10. JUVY

    JUVY Member

    Joined:
    Oct 26, 2004
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    16
    i got the same problem but i got a wmv file. is virtualdub just for avi what is a program for wmv files that i can fix the audio out of sync? or can i use nandub and is there a guide on wmv files to fix the audio out of sync. i found the guide for avi but havnt found 1 for wmv any 1 know plz let me know...

    thanks..
  11. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    Alas, VirtualDub has no WMV support. TMPGenc can transform WMV --> MPG and you can apply the trick to that MPG, but you can only find some version (like v1.3) which supports ASF.
    Therefore, for what I know:
    1) the problem of a a constant out-of-sync can be solved by 1.1) extracting the sound stream from the MPG you obtain by transforming WMV --> MPG with TMPGenc, then 1.2) re-encoding the sound stream to MP2 with HeadAC3he applying a delay to countereffect the un-sync 1.3) re-multiplexing that stream to the movie (video=MPG movie, sound=the delayed one)
    2) the probelem of an un-sync due to the use of CBR MP3 compression applies only in the AVI files
  12. andy25

    andy25 Regular member

    Joined:
    May 23, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    26
    but what if your file is an mpg?
  13. JUVY

    JUVY Member

    Joined:
    Oct 26, 2004
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    16
    is there a guide that shows u step by step cuz iam clue less on how to use this program?
  14. Shryke

    Shryke Member

    Joined:
    Jun 27, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    The_OGS,

    I resynched a video of mine as per your directions, but it doesn`t seem to resynch the audio at all. It takes about 90 seconds as you said, and it creates a new file but the audio is still just as desynched as it was in the previous file. Is there something else that has to be done?

    Last edited: Jun 27, 2005
  15. The_OGS

    The_OGS Active member

    Joined:
    Feb 18, 2004
    Messages:
    1,483
    Likes Received:
    0
    Trophy Points:
    66
    Hi Shryke,
    So, if you are ~2.5 seconds out, that is 2500ms.
    If you adjust wrong (50/50 chance) you will double the problem by doubling the error, instead of correcting it, y'know?
    It usually takes trial&error and some listening training to identify early/late and estimate the milliseconds - I got quite good at it (then I started using GordianKnot: no more problems).
    Anyway, you are moving the audio early/late, relative to the video.
    If your file is 'the same' maybe you're doing it wrong...
    If however your file is different (but not necessarily synch'ed yet) then at least it's working, and you must keep at it until you get it closer & closer.
    Regards

Share This Page