On Tuesday 10 May 2005 13:20, Hans Meine wrote:
However, I have been having problems for several months now with mencoder stopping during the second (lavc-divx) pass with this assertion failing: mencoder: ratecontrol.c:635: ff_rate_estimate_qscale: Assertion `pict_type == rce->new_pict_type' failed.
I just noticed I forgot to add the commands to this mail. It's in the uploaded .txt file, and a complete .log is also on ftp://mplayerhq.hu/MPlayer/incoming/ (under the mentioned prefix "ff_rate_estimate_qscale_assertion.*"), however for people like me not having access to that stuff, this is the combination of options that trigger the error on many of my files (I usually add v4mv and vhq, too): INPUT='ff_rate_estimate_qscale_assertion.avi' VIDEO_PROCESSING='-vf crop=688:400:14:84,pp=lb' VIDEO_ENCODING='-ovc lavc -lavcopts vcodec=mpeg4:vmax_b_frames=2:vb_strategy=1' TARGET='result.avi' mencoder -v $VIDEO_PROCESSING $VIDEO_ENCODING:vpass=1 -oac copy -o /dev/null "$INPUT" && \ mencoder -v $VIDEO_PROCESSING $VIDEO_ENCODING:vpass=2 -oac copy -o "$TARGET" "$INPUT"
[...] cd libavcodec && cvs diff -D20041014 -D20041015 mpegvideo.c ..and this change touched the "pict_type" referenced in the assertion.
Ciao, / / /--/ / / ANS