[x264-devel] flushing x264 - allowed in the middle of encoding?
BugMaster
BugMaster at narod.ru
Tue Nov 13 20:02:22 CET 2012
On Tue, 13 Nov 2012 10:50:02 -0800, Jason Garrett-Glaser wrote:
> On Fri, Nov 9, 2012 at 9:07 AM, Philipp B <philippb at gmail.com> wrote:
>> Hi!
>>
>> My question might sound a bit strange, but here it is:
>>
>> Id like to flush the decoders delayed frames in the middle of my encoded
>> movie.
>> The movie is encoded with forced keyframes at particular positions. For some
>> reason, I'd like to flush
>> the delayed frames before these forced keyframes are encoded.
>>
>> I know how to flush x264 with NULL packets, however, I'm not sure if i can
>> still use the encoder for real
>> frames afterwards. And, even more important: If this is supported, I'm still
>> concerned that x264 behaviour
>> will change in this situation, as this is really a strange use case.
>>
>> So, I'd like to know, if x264 supports being flushed in the middle of
>> encoding, and if this behaviour is expected
>> to be changed some day.
> I'm not 100% sure, but I'm guessing this won't work. What exactly is
> the use-case?
> Jason
It wouldn't work for sure because the first NULL-frame will kill
lookahead thread.
More information about the x264-devel
mailing list