[x264-devel] one question about x264 flush delayed frames

qw applemax82 at 163.com
Wed Jul 29 12:56:33 CEST 2015


Hi,


I found one issue about x264 flush operation. Normally, multi-threads is used, and coded video data is not output immediately.


x264_encoder_encode() is used to encode raw frame, and is also used to flush delayed frames with pic_in==NULL. If x264 flushes delayed frames, and continues encode raw frames, there is deadlock when calling x264_encoder_encode(). The reason is that, lookahead thread, i.e. x264_lookahead_thread() doesn't exist after flush operation.


Can x264 encoder continue to encode raw frames after flush delayed frames?


Thanks!


B.R.


andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20150729/fcbc50ab/attachment.html>


More information about the x264-devel mailing list