VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Member
    Join Date
    Jan 2013
    Location
    Austria
    Search Comp PM
    Hi!
    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.
    Last edited by Kadano; 16th Jan 2013 at 18:12. Reason: solved
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Does it work if you first capture the video with pcm audio and AFTER compress the audio?

    Open the captured video in virtualdub, select video->direct stream copy and audio->compression and select codec. Save avi.
    Quote Quote  
  3. Member
    Join Date
    Jan 2013
    Location
    Austria
    Search Comp PM
    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.
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    You could always try just compress the audio with another software and see how it work. LIke avidemux, under video choose copy, under video choose mp3, format avi and save as new avi.
    Quote Quote  
  5. Member
    Join Date
    Jan 2013
    Location
    Austria
    Search Comp PM
    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
    Quote Quote  
  6. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I would then give up.
    Quote Quote  
  7. Member
    Join Date
    Jan 2013
    Location
    Austria
    Search Comp PM
    Do you have an idea what could cause the Lame problem? It seems so strange to me.
    Quote Quote  
  8. Member
    Join Date
    Jan 2013
    Location
    Austria
    Search Comp PM
    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.
    Quote Quote  
  9. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Great!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!