Log in

View Full Version : MWV to AVI to AVI recode


UncleBop
20th September 2008, 10:56
Hello party people!

I'm not a complete newbie, just couldn't find a proper sub-forum for my problem, that's why posting it here.

Recently I've managed to rip some VOD movies in WMV format. There are some bad things about ripped WMV. First one is that it takes too muh space on HDD than it could be (explained below) and another one is that I cannot play it on my DVD.

So, I was trying to find a proper way of encoding from WMV to AVI (XviD) and finally came up to this solution.

1) I open WMV in VirtualDub with WMV plugin by fccHandler installed and save it as AVI using direct stream copy for video and recompress audio to MP3 CBR. This way I'm getting AVI file with original picture quality (WMV codec) and recoded sound. Surprisingly, it takes about 2 times less HDD space than original one. Anyway, the picture quality is preserved.

2) I open recoded file at previous step in VirtualDub and do 2 pass encoding to XviD, using Direct stream copy for audio at pass 2.

If I don't perform audio recode at first step, it goes out of sync.

Step 2 goes just fine, but... quite slow. Well, first step is quick. But the second one... If I'm trying to use GK for step 2 it goes more than 2 times faster (60 vs 25fps), which has a good impact on long movies, but the problem is that I cannot do proper audio mux with GK and it gets out of sync.

I tried nearly anything. I saved WAV from video I got at step 1 and tried to mux it with GK result video using VirtualDub and Nandub. I also tried to export raw sound and mux it, but every time audio is out of sync, which is very surprising for me, as it's not even a VBR. At the same time, if I use the second step described above, I got no problem with audio at all!

So, actually my problem is... I want to perform quicker 2 pass encoding from AVI (WMV/MP3 CBR) to AVI (XviD/MP3 CBR) than I got in VirtualDub.

Any help is very appreciated.

Cheers

UncleBop
20th September 2008, 22:20
Looks like it was a problematic file... Just tested on another one and it works, if after step 1 I save wav, then do 2 pass GK encoding and then back to VirtualDub to mux GK encoded video and saved wav. Everything is in sync!

Cheers

dat720
28th September 2008, 14:15
You should learn how to use mencoder, it is much better at keeping sync than just about anything else i've tried.