PDA

View Full Version : batch audio extract?


ukishun
24th October 2004, 11:33
Hmm...this may all sound kind of stupid, but I'm only going to use the AVI2VCD for audio extraction. I can't seem to get the settings for the video conversion right (can't get AVI2VCD to tell TMPGEnc not to use source as 4:3, it should be using 1:1 VGA). But anyway, is there a method to do batch extraction of sound from AVI?

I could do it manually, but it kinda wastes my time, since I do around 10 or so everytime.

Nick
24th October 2004, 12:10
AFAIK batch audio extraction is not possible.

As for your problem with TMPGEnc, DVD2SVCD resizes the avi frames in Avisynth before feeding them to TMPGEnc. It doesn't use TMPG's internal resizers. If you are using the current build (1.2.2 B3) then select "16:9 Add borders, Encode as 4:3" and your 1:1 AVI will be resized correctly for 4:3 VCD output, regardless of source resolution.

If you are unsure, use Virtual Dub (or VDubMod) to make a short (say 1 min) AVI clip from your source and do a test encode. It won't take long and you can test-drive the results before wasting hours on the encodes.

Once satisfied, you can then batch up the encodes as per Q73 of the Q+A and leave your machine to it.

HTH
Nick

ukishun
25th October 2004, 14:38
that was exactly my problem. putting it at 4:3 would turn the output VCD into a uber boxy screen.

I'll go try it out tomorrow. ^_^ Thanks.

Matthew
28th October 2004, 05:05
If you were going to batch audio extract IMO the best method would be to use nandub + vcf script + batch file.

Something like:

FOR %%A IN (*.avi) DO (copy /y filename.vcf temp.vcf > nul
gsar.exe -s"NAME" -r"%%~nA" -o temp.vcf > nul
nandub.exe /sC:\temp\temp.vcf /x)

Where filename.vcf contains:

VirtualDub.Open("C:\temp\NAME.avi",0,0);
VirtualDub.audio.SetMode(0);
VirtualDub.SaveWAV("C:\temp\NAME.mp3");

But I'm sure you've solved your video problem anyway :P

ukishun
6th November 2004, 00:35
thanks for the reply. been busy, haven't been able to test it out. so TV output will still be 4:3? I still need to set avisynth to resize it to eliminate overscan problem?