Am Do., 2. Apr. 2020 um 20:22 Uhr schrieb M Parker <[email protected]>:
>
> >The option force_key_frames is handled in fftools/ffmpeg.c, so your best
> approach is to copy its behaviour.
>
> I had gotten that far, but setting it still eluded me. After much digging, 
> some experimentation
> and a little luck, I figured out how to code it in:
>
> AVDictionary *dict;
> av_dict_set(&dict, "force_key_frames", expression_string, NULL);
> avcodec_open2(videoCodecContext, videoCodec, &dict);

No such option exists in current libavcodec afaict...

Please find out what top-posting means and avoid it here.

Carl Eugen
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to