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

Ville Saari 113762 at foo.bar.org
Tue Apr 20 01:48:38 CEST 2004

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.

Such checksumming on 2-pass encoding would also catch early many kinds
of stupid mistakes like using wrong log file or modifying the filter chain
between passes.


More information about the MPlayer-users mailing list