[MPlayer-dev-eng] 3 pass encoding syntax poll
drab at kepler.fjfi.cvut.cz
Fri Feb 11 21:01:06 CET 2005
On Fri, 11 Feb 2005, Andreu Escudero wrote:
> > Yeah, I thought of that flaw as I wrote that e-mail - someone mentioned
> > something betters - use a .new file, and when you are done, replace the
> > regular one.
> > That way, no extra files are produced, you don't have to remember to restore
> > backup if you canceled, and it solves the -passlogfile option by just
> > appending a '.new' to the filename... I think that's the perfect solution...
> > Implementation is kinda a problem though.. The only one that really knows when
> > the encode is complete and successful is mencoder.c, and it knows nothing of
> > the log file (which is a good thing...).
> There's another problem.
> Sometimes, log files are corrupt (when encoding from an MPEG,
> sometimes timestamps on it cause the log file to be truncated). I
> solve that mplaying to a fifo stream.yuv and encoding from there, and
> in the last pass I encode from the original to oac copy the audio, but
> I keep a copy of the last log file just in case. If it was done
> automatically, the last log file would be lost...
Then it's a bug and should not be reflected in the conceptual idea,
rather repaired if possible.
More information about the MPlayer-dev-eng