[MEncoder-users] Assertion failed when encoding in x264

Olivier Rolland billl at users.sourceforge.net
Sun Feb 7 19:02:32 CET 2010


Hi,

I'm having trouble encoding in x264 with core 84 and mplayer rev
30462: an assertion in x264 systematically fails at the end of the 2nd
pass. Here are the command lines and output of the 2 passes:

mencoder -oac pcm -srate 8000 -af channels=1,lavcresample=8000 -aid
129 -sws 7 -vf crop=720:416:0:80,scale=480:192,hqdn3d=2:1:2,harddup
-zoom -o /dev/null -passlogfile test.log -ovc x264 -x264encopts
b_adapt=2:direct=auto:me=umh:rc_lookahead=50:ref=5:subme=8:bitrate=600:threads=2:turbo=2:pass=1
dvd://1

Video stream:  599.874 kbit/s  (74984 B/s)  size: 577207816 bytes
7697.720 secs  192449 frames

Audio stream:  128.000 kbit/s  (16000 B/s)  size: 123136000 bytes  7696.000 secs
x264 [info]: frame I:1610  Avg QP:12.23  size: 15543
x264 [info]: frame P:105288 Avg QP:14.74  size:  4209
x264 [info]: frame B:85545 Avg QP:20.05  size:  1275
x264 [info]: consecutive B-frames: 23.9% 43.2% 17.2% 15.7%
x264 [info]: mb I  I16..4: 17.0%  0.0% 83.0%
x264 [info]: mb P  I16..4:  9.9%  0.0%  0.0%  P16..4: 71.7%  0.0%
0.0%  0.0%  0.0%    skip:18.4%
x264 [info]: mb B  I16..4:  2.1%  0.0%  0.0%  B16..8: 29.0%  0.0%
0.0%  direct:16.8%  skip:52.1%  L0:30.3% L1:42.1% BI:27.6%
x264 [info]: final ratefactor: 15.66
x264 [info]: direct mvs  spatial:77.3% temporal:22.7%
x264 [info]: coded y,uvDC,uvAC intra: 56.4% 65.2% 45.9% inter: 31.9% 21.1% 4.0%
x264 [info]: i16 v,h,dc,p: 46% 21% 15% 18%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 13%  7%  7%  7%  7%  7%  8%
x264 [info]: Weighted P-Frames: Y:4.9%
x264 [info]: kb/s:599.87

mencoder -oac pcm -srate 8000 -af channels=1,lavcresample=8000 -aid
129 -sws 7 -vf crop=720:416:0:80,scale=480:192,hqdn3d=2:1:2,harddup
-zoom -o test.avi -passlogfile test.log -ovc x264 -x264encopts
b_adapt=2:direct=auto:me=umh:rc_lookahead=50:ref=5:subme=8:bitrate=600:threads=2:pass=2
dvd://1

x264 [error]: 2nd pass has more frames than 1st pass (192443).019 [599:128]]
x264 [error]: continuing anyway, at constant QP=15
x264 [error]: disabling adaptive B-frames
mencoder: encoder/slicetype.c:1024: x264_slicetype_analyse: Assertion
`h->frames.b_have_lowres' failed.



More information about the MEncoder-users mailing list