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

sound not matching up using virtualdub

Discussion in 'Video - Software discussion' started by johnarsu, Nov 25, 2003.

  1. johnarsu

    johnarsu Member

    Joined:
    Nov 25, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    11
    when using virtualdub i can not get the audio to match the video after about the first 10mins of the video it goes askew. at the start i get a warning saying this is going to happen and to use a constant bitrate encoder to fix this.
    have seen posting on this site to correct this but none work.
    also i can not find a constant bitrate encoder
     
  2. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    OK...What is wrong is that your AVI file has VBR Mp3 audio and when decoded the Length changes because the Bit stream is not constant because of the Variable Bitrate...What needs to happen is the Audio needs to be Fully Decompressed and then re-compressed useing a CBR Compression method Or it doesn"t even have to be re-compressed you can leave it uncompressed but the File size will be Much bigger because of the Uncompressed audio...The best way to uncompressed the audio is to use a Little utility called "Decompress.exe" , It comes with an old crappy encoder called AVI2VCD, which can be downloaded here:

    http://home.cogeco.ca/~avi2vcd/rq4dl/avi2vcd_ver1_4_2.zip

    Just take the "Decompress.exe" file out and you can get rid of the rest..Just load your AVI file into it and then click "Decompress" and it will make a copy of your AVI file but with Uncompressed audio..Now you can take the New AVI file and do whatever you want with it in Virtual-Dub, and if you want to output it with compressed audio you just set the "Video" to "Direct Stream Copy" and set the audio to "Full Proscessing Mode" then under "Audio" go to "Compression" and choose an "Mp3" codec and choose the Bitrate you want to use like 128kbs, then close the compression dialog and to go "file" to "save Avi" and give the File a Name and then save it, Now the new file with be an AVI with Mp3 audio that will stay in sync....Cheers
     
  3. emsylw

    emsylw Guest

    how do I know which codec to choose?
     
  4. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Well There should Only be One and if you have more than one then do a "Enie Menie Minie Moe"....
     
  5. Dwayno

    Dwayno Member

    Joined:
    Nov 27, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    16
    Aha I've just stumbled on to this thread and you may have dealt with my problem Minion.
    I'm having a similar problem too, and I posted a thread please refer to http://forums.afterdawn.com/thread_view.cfm/52844
    Is this what I should do as well? Decompress the audio in both of the AVIs, then append the two segments then recompress. Then voila?
    If so I will give it a try.
    Thanks
     
  6. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Yes that is what you should do ....
     
  7. seboyd

    seboyd Member

    Joined:
    Jan 7, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    Ya Minion same problem here, thanks for the info and decompress program, but.... I have another movie that I ammended in virtDub, and File Information shows audio as AC-3 ACM decompressor. Now the complete joined movie is perfect in audio/video matching, but my file size is 1400mb. Usually I reduce files like these in DrDivx they come out fine but this one always mismatches the audio alignment(when the viewing comes into the second part) in my finished product of 850mb. I used DrDivx and change the audio to 128/44hz and have never had this problem on 2nd time runs of divx compression(original was a divx, then I run it again thru DrDivx to make smaller after joining parts). I also tried running the complete movie above thru virtDub(audio compression) which reduced the file size to 1100mb, but again this finished product has mismatched audio in the second half of the movie, any ideas....
     
    Last edited: Jan 7, 2004
  8. tjeutje

    tjeutje Member

    Joined:
    Jan 8, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    I recently discovered, that when resampling from 48 kHz to 44.1 kHz, VirtualDubbing goes slowly out of sync, which becomes notable after half an hour or more of video. The same happens when compressing on-the-fly with for instance FlaskMpeg.

    To avoid problems you could try to use a codec that supports 48 kHz. This gives better results.

    Alternatively, you could cut out 50 ms of sound every 20 minutes or so before dubbing.
     

Share This Page