Log in

View Full Version : Only output video file for the last (3rd) pass?


medp7060
7th April 2006, 09:33
I just wondering is it possible that divx outputs video only for the 3rd pass in a 3-pass-encoding. For multi-firstpass, divx codec only writes a log file. how can I config the code and let it also just write a log file only for the 2nd pass as well?

tomos
7th April 2006, 11:59
dont think you can. 1st pass does the log, 2nd pass writes the output avi as well as updating the log i think. 3rd pass does the same.

Brother John
15th April 2006, 19:29
Why would you want to skip the file writing? You need the space for the final file anyway and encoding speed shouldn't change noticably. Compared to calculating the encoded picture writing it to disk takes almost no resources. And even a very old hard drive is perfectly capable of handling the data rates.

If you want to try it nonetheless:
Take avs2avi (http://www.avs2avi.org) and try using NUL as output file except for last pass. I didn't test this, though.

pkh
16th April 2006, 07:17
In VirtualDub you can use "Run video analysis pass" for the 1st and 2nd pass. The 3rd pass normal "Save as AVI" then.

Helpfile from VirtualDub:
Some video filters and video codecs may require analysis passes in order to effectively filter or compress video. In the analysis passes, the video is scanned to determine difficult areas of motion or other features; knowledge of the entire video can then be used to optimize the final output. This is known as multi-pass processing.

For various reasons, VirtualDub does not know that a multi-pass operation is required by a video filter or codec and cannot automate the process. However, the File > Run video analysis pass assists in running analysis passes by running the video pipeline without writing a dummy file to disk. The audio pipeline is disabled as well for additional speed.

medp7060
16th April 2006, 12:48
Thanks for your help. AVS2AVI is a command line program. I never thought I could use VirtualDub that way.