[MPlayer-users] x264: x264_frame_push_unused: Assertion > `frame->i_reference_count > 0' failed

Alexander Roalter alex at roalter.it
Tue Nov 17 23:33:04 CET 2009


On 11/15/2009 10:58 PM, Alexander Roalter wrote:
> With multi-threaded x264 working again, I get the following problem:
> 
> When doing the encoding, on the 2nd pass, at the very end, I get the
> error from the subject line:
> 
> 
> "mencoder: common/frame.c:992: x264_frame_push_unused: Assertion
> `frame->i_reference_count > 0' failed."
> 
> when looking for something similar, I get the following thread:
> 
> http://mailman.videolan.org/pipermail/x264-devel/2009-September/006338.html
> 
> 
> In which for multi-threaded encoding
> 
> param.i_sync_lookahead = 0;
> 
> is suggested... Apparently, mencoder should do the same. (?)
> 
> 

a more informative output from a fresh (x264, mplayer) checkout built
just now:

...
Pos:8332.8s 199800f (99%) 68.03fps Trem:   0min 634mb  A-V:0.018 [513:119]
x264 [error]: Incomplete MB-tree stats file.0min 634mb  A-V:0.013 [511:120]
x264_encoder_encode failed
x264 [error]: Incomplete MB-tree stats file.0min 634mb  A-V:0.011 [511:120]
x264_encoder_encode failed
x264 [error]: Incomplete MB-tree stats file.0min 634mb  A-V:0.009 [511:120]
x264_encoder_encode failed

1 duplicate frame(s)!
Pos:8373.5s 200777f (100%) 68.16fps Trem:   0min 634mb  A-V:0.007 [511:120]
Flushing video frames.
mencoder: common/frame.c:1020: x264_frame_push_blank_unused: Assertion
`frame->i_reference_count > 0' failed.

Oh, and BTW, I used to reach 120fps on the 2nd pass with identical
settings, now I only reach 70...

-- 
Cheers,
Alex


More information about the MPlayer-users mailing list