[MPlayer-users] Re: twopass.stats file wrong, maybe a bug ?

Michael Waters baobabb at rogers.com
Sat Jan 24 22:20:23 CET 2004


On Sat, Jan 24, 2004, Nico wrote:
> The problem is that sometimes when you use libmpeg2 the 
> decoding/filtering/encoding pipeline is reinitialized (try to concatenate
> two mpeg files and play it to verify), so xvid reopens in w+b mode the 
> logfile
> and overwrites the previous content, destroying up the logs.
> 
> You can temporarily fix this mess 
> - either using -vc ffmpeg12 (in my tests it never reinited the 
> pipeline, but maybe it can happen) 
> - or changing in xvidcode/src/plugins/plugin_2pass1.c
> the string "w+b" passed to fopen() to "a+b", then recompile and reinstall 
> xvid and
> remember to remove the logfile before any 2-pass encode.

Thanks for explaining that and for the workarounds.   Will this problem
be fixed in a future version of mplayer or xvid ?

Michael




More information about the MPlayer-users mailing list