[MPlayer-users] 2 pass encoding / encode sound twice?

D Richard Felker III dalias at aerifal.cx
Tue Apr 20 05:27:55 CEST 2004


On Tue, Apr 20, 2004 at 02:48:38AM +0300, Ville Saari wrote:
> On Mon, Apr 19, 2004 at 11:54:30AM -0400, D Richard Felker III wrote:
> 
> > The problem you'll get isn't A/V desync. The problem is that the 2pass
> > stats will be WRONG, which will defeat the purpose of doing 2pass.
> 
> Such problems could be avoided if the 2-pass encoding would use the same
> trick I used in the two-pass operation of my divtc filter: It stores
> a checksum for each frame in the log file and whenever it finds a
> mismach on second pass, it resynchronizes by going back or forward
> in the log.

Resyncronization isn't possible. All it could do is bail out with an
error. If any frames are missing or added, then the number of bits
needed to code subsequent frames changes totally!

Rich




More information about the MPlayer-users mailing list