[x264-devel] Does x264 encoder has 1 frame delay on IFrame generation

Alexander Sbitnev alexander.sbitnev at gmail.com
Mon Sep 20 17:02:09 CEST 2010


> x264_encoder_delayed_frames() will tell you the current delay.
> 
> In the case of delayed frames, x264 will return empty frames until the
first
> valid one.

I checked x264_encoder_delayed_frames() return values. After first frame
coded it always return "1".
So yes I suppose one frame delay is present.
Is it possible to achieve zero frames delay? 

I've already got:      i_threads = 1     i_sync_lookahead = 0   i_lookahead
= 0    i_bframe = 0
Where else should I look for delay cause? (Please pardon me if my question
is really annoying)

And do I understand right what first frame coded twice?



More information about the x264-devel mailing list