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

Jason Garrett-Glaser darkshikari
Fri Mar 6 10:10:10 CET 2009

On Fri, Mar 6, 2009 at 12:46 AM, madshi <dear at madshi.net> wrote:
> 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:

I said --min-keyint, not keyint.

> 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.

This is potentially reasonable logic for the general case, but your
justification for that logic--of adapting the decoder based on
x264--is a phenomenally stupid idea, IMO.

Dark Shikari

More information about the ffmpeg-devel mailing list