[MPlayer-users] Comment on menconder on multiprocessors.

Nico Sabbi nsabbi at libero.it
Fri Jan 24 18:35:00 CET 2003


>
>a very non formal and probably not 100% correct answer:
>in pass 1, for every frame mencoder saves the complexity of the frame..
>
>in pass2 :
>	-more complex frames can be less compressed => for a complicated frame
>you need to use/reserve more space... 
>	-so when the 2nd pass launches mencoder knows how much space does he
>have, and then he distributes the free space between the frames
>according to their complexity...
>	-as you see at the beginning of pass2 mencoder has to see the
>complexity for all the frames to be able to make the calculation
>

but if there are scenes where the complexity remains the same between the two passes, 
can't  lavc reuse (copying without re-encoding) the scene from the first pass?

If these are in a large number the second pass would be much faster, right?





More information about the MPlayer-users mailing list