I'm trying to capture gameplay with Virtualdub. Most things are working fine – x264vfw works like a charm, Yadif filter too – but I just can't get audio compression to work.
First, I installed several mp3 codecs for Virtualdub 64bit that crashed Virtualdub as soon as I clicked on "configure". Then I managed to get x264vfw.2245kMod.x86_64 to at least not crash when hitting configure, but the audio is slow and distorted (see video link at the bottom). I thought, maybe it's because of the 64bit versions, so I uninstalled Lame 64 and installed the standard Lame ACM codec. In Virtualdub 1.10.2 (32bit), the codec is listed and I can configure it, but the audio is still distorted.
Now I really have no idea by what the distortion is caused. I've tried many different formats (bitrate, sample rate etc.) from the list and also different configure options, but the problem is always the same.
If there is a different codec (aac/vorbis/whatever) that works with Virtualdub, I'll gladly use this instead, but I can't find any. I've installed opencodecs_0.85.17777, but it doesn't give me Vorbis option in 32 or 64 bit Virtualdub.
Lame audio: http://youtu.be/YBaevAS8KyQ
PCM uncompressed audio: http://youtu.be/WCl47C44rus (had to create a new account because Youtube deleted the video ("duplicate blah"))
Edit – solution!:
The cause for the distorted audio is the sample rate change that occurs by converting PCM (96k) to Lame (48k or below). To match the sample rate, you need to go to Audio -> Conversion (or press CTRL+N) and select the same sample rate you use in the Lame codec settings.
+ Reply to Thread
Results 1 to 9 of 9
Last edited by Kadano; 16th Jan 2013 at 18:12. Reason: solved
That's exactly what I've been trying to do and what I've done in the video. Sorry for not having been clear about this. The good video is what I used as source for the one with lame audio that went bad.
I capture the video entirely untouched as my processor isn't fast enough for realtime encoding anyway.
It's funny you're recommending that because that's exactly what I just tried. Unfortunately, it doesn't work. First it says "Cannot setup audio encoder, check compatibility". When I press okay, it says compression failed.
Switched audio format to aac -> conversion works, but the video is black when I play it. (Although I selected copy for video!)
Switched video format to x264 and container to mp4 -> everything works, but the colors are bad: http://youtu.be/kWdxT2unPAY
I would then give up.
Do you have an idea what could cause the Lame problem? It seems so strange to me.
Sorry for the doublepost in advance, usually I'm totally against doing that. BUT I've found the solution to this problem! The thing I did wrong was that when encoding with Lame, the sample rate is changed from 96k to 48k, you have to tell Virtual specifically to do so by going to Audio -> Conversion -> [whatever you select for Lame, in my case 48k].
I'm so happy I finally got this to work! I'll update the op so people who make the same mistake may find the solution quickly.