Sound Sync

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Silent Bob
    Junior Member
    Junior Member
    • Sep 2003
    • 9

    Sound Sync

    I have an avi video that which it's audio goes on for longer than the video. When I join another avi video on the end it the sound on the second half is out of sync.

    Is there a way of making the video and sound finish at the same time on the first file?
  • infiniter
    Junior Member
    Junior Member
    • Dec 2003
    • 27

    #2
    If you got a delay of 500ms as you write, the audio stream has to be longer than the video or is in fact only delayed.
    Perhaps, you can see it anywhere in the video, when people speak.
    You could re-insert the audio stream with VirtualDub and set the delay to -500ms.

    Comment

    • Silent Bob
      Junior Member
      Junior Member
      • Sep 2003
      • 9

      #3
      Thanks for the reply

      Unfortunately before joining the sound is in sync and after joining the first section is fine but goes out of sync when the second section starts.

      I tried changing the frame rate to match the length of the audio but then the whole video goes out of sync.

      Comment

      • setarip
        Retired
        • Dec 2001
        • 24955

        #4
        To Silent Bob

        "When I join another avi video on the end it the sound on the second half is out of sync."

        Instead of joining the two ORIGINAL .AVIs, do the following:

        1) Load the SECOND .AVI into VirtualDub

        2) Set BOTH "Video" and "Audio" to "Direct Stream Copy"

        3) From the "Audio" dropdown menu, select "Interleaving"

        4) Under "Audio skew correction", enter an appropriate amount (Positive or negative [" - "]) for "Delay audio track by" - so that your NEW second .AVI will now intentionally be out-of-synch (in the opposite direction of what you've presently experienced after joining the two ORIGINAL .AVIs). In most instances, (positive) 1200 seems to do the trick...

        5) Save with a new filename

        6) Close and then Open VirtualDub (Resets defaults)

        7) Set BOTH "Video" and "Audio" to "Direct Stream Copy"

        8) Load the ORIGINAL first .AVI and append the NEW second .AVI


        Let us know of your success ;>}

        Comment

        • Silent Bob
          Junior Member
          Junior Member
          • Sep 2003
          • 9

          #5
          In the end i managed to fix it.

          I opened the first avi in VirtualDub then selected the whole video except the last 1/2 second of video. Then setting audio and video to direct stream copy created a new avi file.

          This chopped off the extra audio and a little bit of video at the end of the file.

          I've now joined it with the second avi and it's now all in sync (except with 1/2 second of video missing which isn't noticeable)

          Comment

          Working...