PDA

View Full Version : Job Control With Null Output


johnmeyer
27th August 2006, 19:44
I have a LOT of AVISynth scripts where I want to run a first pass and output a LOG file, but don't want to generate a video file (it isn't useful for the first pass). I can do this manually with the "Run Video Analysis Pass" option. However, under Job Control, I don't see a command to replace the "VirtualDub.SaveAVI" command.

Is there another command, or is there a way to specify a NULL file? I want VD to do exactly what it does when you select the Run Video Analysis Pass option, but I want to do it as part of a batch operation because this will be several days worth of crunching and over 100 GBytes of video.

Thanks!

squid_80
27th August 2006, 23:54
From http://www.virtualdub.org/docs/vdscript.txt :
void RunNullVideoPass(); (VirtualDub 1.6.5+ or later)

Runs the processing engine in video-only mode but discards the output.
This is useful with video filters or codecs that have an analysis pass
which does not produce usable output.

johnmeyer
28th August 2006, 00:26
Thanks!! I looked everywhere for the VirtualDub API, but obviously wasn't able to find it. This will save lots of time.