[FFmpeg-devel] Force a keyframe

Janin Kolenc janin.kolenc
Mon Mar 16 16:20:33 CET 2009


Well... it did not work. Frame was marked as an I-frame but it was not
encoded as one.

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.
>
> ? ?Edward
>
>> Janin
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
> _______________________________________________
> 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