[FFmpeg-devel] Force a keyframe

Michael Niedermayer michaelni
Mon Mar 16 16:36:08 CET 2009

On Mon, Mar 16, 2009 at 04:20:33PM +0100, Janin Kolenc wrote:
> Well... it did not work. Frame was marked as an I-frame but it was not
> encoded as one.

maybe you found a bug, a patch fixing it would be welcome,
adding more code and a new field to workaround it is not

> On Mon, Mar 16, 2009 at 3:57 PM, Edward Hervey <bilboed at gmail.com> wrote:
> > On Mon, 2009-03-16 at 15:47 +0100, Janin Kolenc wrote:
> >> Hello!
> >>
> >> I wrote a small patch which makes it possible to force a keyframe with
> >> mpeg encoders. I do not know if this is the right way to do it, so
> >> comments are more than welcome.
> >>
> >
> > ?Can't you just use the AVFrame.pict_type field ? And set it to
> > FF_I_TYPE.
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I wish the Xiph folks would stop pretending they've got something they
do not.  Somehow I fear this will remain a wish. -- M?ns Rullg?rd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090316/563591d0/attachment.pgp>

More information about the ffmpeg-devel mailing list