lwolf
18th September 2003, 10:35
Hello all,
I am using a wintv go capture card and virtualdubvcr to capture uncompressed (no compression at all) avis. Thanks to Gordian Knot's avi loading capabilities it is now possible to easily create divx videos from analog captures. However there is one little problem: from what I've heard gknot has a 2gb avi limit so I capture in 2gb segments and then I have to manually strip with vdub every single segment of its wav file (which I then encode with razorlame into mp3 and insert into the appropriate gknot dialog boxes). Is there anyway to create a script to automatically save the wav of the captured avis?
OR
is there a way to bypass the 2gb limit?
Thank you all!
Harry
ikarus
18th September 2003, 14:33
Hi,
1) maybe you should try Huffyuv to keep the filesize a little down
2) im not familiar with Gknot, but you could use avisynth to circumvent the 2 gb limit
3) i wrote myself a batch that is quite shit (bad style etc), but does the job here. i use it to strip wavs from my avs files :
@del c:\avilist
@del c:\demuxwav.jobs
@dir /B *.avi >>c:\avilist
@For /F "usebackq delims=+ tokens=1" %%i in (c:\avilist) do @echo // $job "Job 1" >>c:\demuxwav.jobs & @echo // $input "%%~fdpi" >>c:\demuxwav.jobs & @echo // $output "<OUTPUT PATH>\%%~ni.wav" >>c:\demuxwav.jobs & @echo // $state 0 >>c:\demuxwav.jobs & @echo // $start_time 01c35057 a8c4c330 >>c:\demuxwav.jobs & @echo // $end_time 01c35057 b7feece0 >>c:\demuxwav.jobs & @echo // $script >>c:\demuxwav.jobs & @echo VirtualDub.Open("%%~di\%%~pi\%%i",0,0); >>c:\demuxwav.jobs & @echo VirtualDub.audio.SetSource(1); >>c:\demuxwav.jobs & @echo VirtualDub.audio.SetMode(0); >>c:\demuxwav.jobs & @echo VirtualDub.audio.SetInterleave(1,500,1,0,0); >>c:\demuxwav.jobs & @echo VirtualDub.audio.SetClipMode(1,1); >>c:\demuxwav.jobs & @echo VirtualDub.audio.SetConversion(0,0,0,0,0); >>c:\demuxwav.jobs & @echo VirtualDub.audio.SetVolume(); >>c:\demuxwav.jobs & @echo VirtualDub.audio.SetCompression(); >>c:\demuxwav.jobs & @echo VirtualDub.SaveWAV("<OUTPUT DRIVE LETTER>:\\<OUTPUT DIR LEVEL1>\\<OUTPUT DIR LEVEL2>\\%%~ni.wav"); >>c:\demuxwav.jobs & @echo VirtualDub.Close(); >>c:\demuxwav.jobs & @echo // $endjob >>c:\demuxwav.jobs & @echo // >>c:\demuxwav.jobs & @echo //-------------------------------------------------- >>c:\demuxwav.jobs
copy c:\demuxwav.jobs <PATH to VDUB-DIRECTORY>\VirtualDub.jobs
<PATH to VDUB-DIRECTORY>\VirtualDub.exe /r /x
@del c:\avilist
@del c:\demuxwav.jobs
might not work on your system
this just writes a vdub jobs file, i was not perfectly sure which lines were really needed. all i can say this small batch works for me.
Please note this overwrites previous jobs files in your vdub dir without checking or asking for your approval, so watch it.
sorry for the long line, but io don't know if newlines would kill it (i think so).
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.