On 3/12/2018 6:58 AM, Valery Kot wrote:
> Could somebody please take a look into my patch? Or is it somehow invisible
> / badly formatted?
> 
> It allows for inducing key frames at proper moments by e.g.
> -force_key_frames, while using openH264 codec. Thus accurate HLS with LGPL
> license, which is important for us.

Hi,

> +    if (frame->pict_type==AV_PICTURE_TYPE_I) {
> +        (*s->encoder)->ForceIntraFrame(s->encoder, true);
> +    }

Does openh264 differentiate between I and IDR frames in its API, like libx264
and libx265 do?

- Derek
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to