[MPlayer-users] [BUG] lavc error - 2pass curve failed to converge

Corey Hickey bugfood-ml at fatooh.org
Mon Jul 17 06:39:09 CEST 2006


bonnie clyde wrote:
> Corey Hickey wrote:
>> vitko wrote:
>>> 2 pass lavc encoding fails with current SVN, I'm getting following
>>> on second pass:
>>>
>>> ...
>>> videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
>>> [mpeg4 @ 0xbf80d0]Error: 2pass curve failed to converge
>>> Could not open codec.
>>> ...
>>>
>>> Commands used were (stripped to bare minimum? from "hi-quality", but
>>> still producing the error):
>>>
>>> $ mencoder dvd://1 -dvd-device . -nosound -ovc lavc \
>>> -lavcopts vcodec=mpeg4:vpass=1 -frames 500 -o /dev/null
>>> $ mencoder dvd://1 -dvd-device . -nosound -ovc lavc \
>>> -lavcopts vcodec=mpeg4:vpass=2 -frames 500 -o rctest.avi
>>>
>>> It's too late and maybe I missed something.
>> Did you try reverting ffmpeg r5422 like I suggested (in an off-list 
>> discussion) yesterday?
>>
>> Giacomo, try this with the attached patch:
>> $ cd .../mplayer/libavcodec
>> $ patch -p2 -R < /tmp/ffmpeg_r5422.eml
>>
>> I don't know if that will work -- only that it caused me some similar 
>> problems a while ago.
>>
>> -Corey
>> ------------------------------------------------------------------------
> Just so you all know, I did a 2 pass ffmpeg encode on a dv file just a 
> few weeks ago. All went well. Why it would work on a dv file and not a 
> vob is beyond me, though.

Thanks for the info, but the issue isn't particular to any kind of file.
The problem occurs with some files but not others, according to how the
ratecontrol handles the video data.

-Corey



More information about the MPlayer-users mailing list