[MPlayer-users] Dies on finishing 2nd pass

Nico Sabbi nsabbi at tiscali.it
Mon Apr 11 08:41:34 CEST 2005


Mark Williams (MWP) wrote:

>>Greettings all,
>>
>>Ive been trying to encode some TS/TP video recently but at the end of encoding
>>on the 2nd pass for each i get:
>>
>>mencoder: ratecontrol.c:644: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.
>>at which point it then segfaults
>>
>>Im doing:
>>
>>mencoder -o video-first.avi -fps 50 -ofPs 25 -sws 9 -oac copy ovc lavc -lavcopts \
>>  vcodec=mpeg4:mbd=2:v4mv:trell:aspect=4/3:vbitrate=1500:turbo:vpass=1 \
>>  -vf crop=$CROPXY,filmdint=io=2:1/mmx2=1,scale=$SCALEXY,hqdn3d=2:1:2 in.tp
>>
>>mencoder -o video-final.avi -fps 50 -ofPs 25 -sws 9 -oac copy ovc lavc -lavcopts \
>>  vcodec=mpeg4:mbd=2:v4mv:trell:aspect=4/3:vbitrate=1500:vpass=2 \
>>  -vf crop=$CROPXY,filmdint=io=2:1/mmx2=1,scale=$SCALEXY,hqdn3d=2:1:2 in.tp
>>
>>Any ideas?
>>
>>BTW, im using CVS version from yesterday, but ive also tried a CVS version from
>>a few months ago with the same problem.
>>    
>>
>
>A bit more detail from another encoding i tried:
>
>TS_PARSE: COULDN'T SYNC%)  36fps Trem:   0min 979mb  A-V:-0.014 [805:148]]
>Broken frame at 0xE4BEBE0
>Pos:8566.4s 428290f (100%)  36fps Trem:   0min 979mb  A-V:-0.080 [805:148]
>1 duplicate frame(s)!
>Mencoder: ratecontrol.c:644: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.
>
>  
>

"broken frame" should say it all: mencoder found a frame that it can't 
decode.
Are you really sure it happens only during the second pass?




More information about the MPlayer-users mailing list