[FFmpeg-devel] Force a keyframe

Edward Hervey bilboed
Mon Mar 16 15:57:38 CET 2009


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.

    Edward

> Janin
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel





More information about the ffmpeg-devel mailing list