[FFmpeg-devel] [PATCH] H.264 I-frames with SEI are also key frames

madshi dear
Fri Mar 6 09:46:52 CET 2009


Jason Garrett-Glaser schrieb:
> On Thu, Mar 5, 2009 at 11:52 PM, madshi <dear at madshi.net> wrote:
>   
>> Not sure about the runtime. In what distance does x264 usually
>> place IDR frames?
>>     
> = --min-keyint
>   

Thanks. MeWiki says default for "keyint" is 250. And it also says:

Recommendation: Default, or 10x whatever your framerate is.

So based on this my new suggestion would be:

(1) If we're at runtime 11 seconds or later and
(2) there was no recovery point SEI found yet and
(3) there was one IDR frame at the start of the stream and
(4) there was no further IDR frame found yet, ...

... in this situation treat all future I-frames as key frames, until
a recovery point SEI or a new IDR frame is found.

Regards, madshi.




More information about the ffmpeg-devel mailing list