[MPlayer-users] mencoder error on 2nd pass with x264

Alexander Roalter alex at roalter.it
Sat Apr 28 19:57:46 CEST 2007


On a very long video (4hrs), when doing a 2-pass encoding, I get

x264 [error]: 2nd pass has more frames than 1st pass (275054)0.039 [511:125]
x264 [error]: continuing anyway, at constant QP=25
x264 [error]: 2nd pass has more frames than 1st pass (275054)0.039 [511:125]
x264 [error]: continuing anyway, at constant QP=25
x264 [error]: 2nd pass has more frames than 1st pass (275054)0.039 [511:125]
x264 [error]: continuing anyway, at constant QP=25
Pos:11470.5s 343775f (80%) 36.52fps Trem:  39min 1096mb  A-V:0.038 [511:125]
Skipping frame!
x264 [error]: 2nd pass has more frames than 1st pass (275054)0.038 [511:125]
x264 [error]: continuing anyway, at constant QP=25
mencoder: encoder/slicetype.c:376: x264_slicetype_analyse: Assertion 
`h->frames.b_have_lowres' failed.
Aborted


as error.


The first pass is fine

Command line for the 1st pass is
mencoder video.avi -o reencoded/video.avi -oac mp3lame -lameopts abr=128 
-ovc x264 -x264encopts bitrate=512:subq=4:pass=1:turbo=1:threads=4 -vf 
scale=384:288,dsize=512:288 -srate 44100 -ofps 24

Command line for the 2nd pass is
mencoder video.avi -o reencoded/video.avi -oac mp3lame -lameopts abr=128 
-ovc x264 -x264encopts 
bitrate=512:subq=6:partitions=all:8x8dct:me=umh:frameref=5:pass=2:threads=4 
-vf scale=384:288,dsize=512:288 -srate 44100 -ofps 24

any ideas?



More information about the MPlayer-users mailing list