Log in

View Full Version : 2-Pass Audio setup in Vdub?


xpavement
18th October 2004, 00:28
Hello,

I have looked around for some answers but couldn't find any, so here is my problem:

I'm trying to encode a huffy/wav based tv cap into a 2-pass xvid/CBR Mp3 video with virtualdub. In the past, I have been able to do this with divx 5 by adding both passes to the job list in vdub, on the second pass compressing the audio into the mp3 with the LAME ACM. The wav audio in the avi sounds fine.

When I try to do two passes with the latest xvid, the resulting video file has audio which is messed up, a high pictched static has replaced the audio track, while the video is fine.

In vdub I set it to do a fast recompress with the video, and setup the xvid codec for first/second passes and add the jobs. I set the second pass with the audio compression into mp3. The jobs run fine, but the file's audio is messed up.

If I do just a single pass, the audio is fine.

I know xvid only has to do with video, (and I should probably use VBR mp3 and vdubmod) but am I missing something in setting up vdub to do two passes with xvid? (Sorry if this should go in the audio section, but this only happens with xvid and not divx)

cypher_soundz
18th October 2004, 18:59
Sorry if my approach is like western medicine, but why not use besweet for audio? Then mux the audio after video creation?

lordadmira
18th October 2004, 20:14
Disable the audio in the first pass, there's no point in encoding it twice. I've had problems using the Lame ACM in VDub, try using a non-Lame ACM, i.e. Radium. If you want to use VBR Lame then u can't use VDub anyway. Encode it externally and mux it in Nandub or write to OGM format.

LA

xpavement
24th October 2004, 02:32
Thanks for the help guys. I tried the included MP3 codec now with WM10, and that still had the same problems, so I am just muxing the video with vdubmod for now, but I did find this problem with some other users of vdub at their forums, not sure where the problem lies, maybe in the newest, non production vdub version:

http://virtualdub.everwicked.com/index.php?act=ST&f=15&t=7897&

lordadmira
24th October 2004, 05:13
Well it could be a bug in the new VDub that sets the volume incorrectly. Open the .jobs file and look for the SetVolume line in ur job. It should be VirtualDub.stream[0].SetVolume() meaning leave volume unchanged. But regardless, this doesn't seem to have anything to do with Xvid.

LA