[XviD-devel] another two-pass file

Christoph Lampert xvid-devel@xvid.org
Thu, 5 Sep 2002 09:44:08 +0200 (CEST)


Hi,

since people discussed new options for two-pass... 
If I am not mistaken, two-pass uses one stats file at the moment
where information from first pass is written to. 
The second pass reads this and works accordingly "on the fly".
Please correct me if I'm wrong. At least in Linux it works this way. 

I'd like to have another step: From the first pass logfile 
a second pass "parameter file" is calculated/generate, where all relevant 
information for the second pass is stored. Then the real second
pass uses this precalculated data (with or without little modification to
achieve bitrate). 

It should be possible to feed the "parameters file" to second pass
directly, e.g. after modifying it by hand. 

Then there could be an editor app for this file. It would make some
things easier, e.g. setting start/end of credits, or raising/lowering 
quant during special scenes. When prefilters are active, one could also 
add flags for this, e.g. to have control over motion blurring etc. 
If there is enough diskspace, the first pass AVI file could be saved, or
screenshots of the keyframes, or a downscales version generated during
first pass, so one could have a "preview" of scenes. 

In the end the result could be a complete "video encoding studio" for XviD
(and possible others). If it's supposed to be as plattform independent as 
possible, Qt comes to mind, because it's common on Linux/KDE, but
available for Windows, too. 
An alternative would be a console based app and a pure GUI on top of it,
either plattform dependent or in a GUI script language. 

gruel