On Sun, Apr 10, 2016 at 6:29 AM, Carl Eugen Hoyos <ceho...@ag.or.at> wrote:
> Rick Kern <kernrj <at> gmail.com> writes:
>
>> +    { "keyframes_only", "Output only I-frames", OFFSET(keyframes_only),
>
> I suspect this should check for -g 1 instead.
>

Indeed, checking avctx->gop_size would make it compatible with other
encoders instead of inventing its own property.
gop_size 0 or 1 should be intra only, I think.

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

Reply via email to