audio running too fast for video

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Huffer
    Junior Member
    Junior Member
    • Nov 2002
    • 9

    audio running too fast for video

    Hey everyone, got a problem with the audio playing a few seconds (3-7secs) faster than the video.

    I've used Virtual Dub and this is the info I've got.

    Video stream:
    Frame size, fps - 352x288, 29.970fps
    # frames (time) - 95013 (52:50)
    Decompressor - DivX 5.0.2 Codec
    Number of key frames - 321
    Min/avg/max/total key frame size - 586/6962/12564 (2183k)
    Min/avg/max/total delta frame size - 0/3456/18445 (327974k)

    Audio stream:
    Sampling rate - 8000Hz
    Channels - 2 (Stereo)
    Sample precision - 16-bit
    Compression - DivX Audio Compressor
    Preload skew - 7 samples (0:00s)
    # of frames - 49405
    Min/avg/max/total frame size - 96/96/672 (4633k)


    Any ideas? Will I need to re-encode the file, and how would I do that?
  • Batman
    Lord of Digital Video
    Lord of Digital Video
    • Jan 2002
    • 2317

    #2
    Read articles on divx-digest.com or search this forum for potential solutions to synchronizing the audio and video streams.

    Comment

    • Huffer
      Junior Member
      Junior Member
      • Nov 2002
      • 9

      #3
      I've already read many of them, and they don't seem to help. I was told to post up the info from VirtualDub so that the community could lend me some advice?

      Comment

      • setarip
        Retired
        • Dec 2001
        • 24955

        #4
        "Compression - DivX Audio Compressor"

        1) Load the file into VirtualDub

        2) Set both "Video" and "Audio" to "Direct Stream Copying"

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

        4) Change "Interleave audio every" to 500ms (NOT "frames")

        5)Click on "OK"

        6) Save with a new filename

        Let us know of your success ;>}

        Comment

        • Huffer
          Junior Member
          Junior Member
          • Nov 2002
          • 9

          #5
          setarip - thanks for the advice - I just tried doing all that you said, and I still came out with the same problem.

          I've just noticed that the audio seems to be in sync for the first few minutes of the movie, but when I get to the end, it's about 6 seconds ahead of the video.

          Any other ideas?

          Comment

          • Enchanter
            Old member
            • Feb 2002
            • 5417

            #6
            "Sampling rate - 8000Hz"
            This kind of audio sampling rate is indeed always giving problems. I can't offer a definitive answer to your problem, but you might just try a few suggestions:
            1. Similarly to the previous given steps, add this additional step: go to Video tab -> Frame Rate, and select 'Change so video and audio durations match.' OR
            2. Upsample the audio to 44,100 Hz and remux it with the video, per instructions given.

            Tell us how it goes.

            Comment

            • Huffer
              Junior Member
              Junior Member
              • Nov 2002
              • 9

              #7
              hey everyone!
              guess what, it worked! Vdub did the job, once I selected "audio & video durations match".

              Thanks heaps for ALL your help! You've just made this movie watcher THAT much happier!

              Comment

              • Enchanter
                Old member
                • Feb 2002
                • 5417

                #8
                Glad to see it worked.

                Comment

                Working...