Audio Help

Discussion in 'DivX / XviD' started by KZFan, Aug 5, 2006.

  1. KZFan

    KZFan Member

    Joined:
    Jul 11, 2006
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    16
    well i got miami vice and the audio is not timed with the video any way to fix this?
     
  2. The_OGS

    The_OGS Active member

    Joined:
    Feb 18, 2004
    Messages:
    1,461
    Likes Received:
    0
    Trophy Points:
    66
    Hello KZFan,
    is a little vague. Whatcha got there?
    Is it a DivX or XviD AVI?
    If so I will teach you to fix it quick and easy.
    Regards
     
  3. KZFan

    KZFan Member

    Joined:
    Jul 11, 2006
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    16
    i got a xvid avi of miami vice
     
  4. The_OGS

    The_OGS Active member

    Joined:
    Feb 18, 2004
    Messages:
    1,461
    Likes Received:
    0
    Trophy Points:
    66
    Kewl.
    The technique is to open the AVI using Nandub.
    Now any 'alterations' you make to anything, Nandub will write a new AVI - you make your changes, then select 'save as AVI (F7)' and Nandub writes new file. Make sure you use different filename or directory (or harddisk).
    Important: You must select 'Direct-stream copy' for audio and also for video! I refer to this as Direct-stream both.
    Now, think of the video as 'fixed' (as in fixed in-place) - you must therefore adjust the audio to match the video. You advance or retard the audio relative to the video, from within the Audio > Interleaving > Audio Skew Correction menu of Nandub.
    So if the audio is 'late' at the beginning of the movie, you advance it; if the audio is 'early' you of course delay it.
    The adjustment is in milliseconds! Remember, 1000ms = 1 second.
    I have put ~6000, 7000, even 8000ms adjustment on some miserable poorly-made AVIs in my time... LoL.
    Anyway, once you get it to synch at the beginning (trial & error method) you view the program and hopefully synch will maintain.
    Advanced:
    If synch is achieved at the beginning but then loses synch, you can now adjust video framerate slightly - this will quicken or slow the video's arrival at the end of the program, to where the audio awaits.
    In other words, you adjust the audio to synch at movie's beginning, now the audio is 'fixed' and you must manipulate video rate to match audio at conclusion.
    It is possible to achieve synch at beginning, and achieve synch at ending, and synch might still wander a bit in middle of movie...
    But you have done all you can. MP3 codecs are 'lazy' and they speed-up and slow-down slightly during audio encoding.
    Hey if whoever made your AVI was using GKnot, everything could have been perfect to begin with, LoL :^)
    Apart from trial & error and fiddling, to actually write the 'new' AVI will take Nandub only ~50 seconds or so (direct-stream both) so it is not too overly time-consuming... goes quick when you begin to get a feel for it,
    L8R
     

Share This Page