[MPlayer-advusers] [BUG] mencoder floating point exception with -of lavf

Nico Sabbi nsabbi at tiscali.it
Sun Nov 6 23:40:58 CET 2005


Michael Niedermayer wrote:

>>So, I guess that mencoder should either
>>- decode and filter the first frame
>>- or pre-init (assuming it's possible) the video filters chain to probe 
>>the characteristics
>>of the final frame
>>    
>>
>
>whichever way its solved, not knowing the width/height when writing the header
>is a serious problem independant of lavf, just think of nut where width/height
>are variable length, so seeking back and filling it in wont work without some
>hacks, and if i understand correctly we cant just write the header at the 
>first video frame as an audio frame might have been written before?
>
>[...]
>  
>

I agree that decoding/encoding one frame in advance and buffering it is 
a real mess;
preiniting the video pipeline seems much more reasonable to me.
Is there any other alternative?

    Nico




More information about the MPlayer-advusers mailing list