[FFmpeg-devel] [PATCH 2/2] lavc/qsvenc: enable hevc gpb option

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Apr 3 00:52:27 EEST 2019


2019-04-02 10:00 GMT+02:00, Zhong Li <zhong.li at intel.com>:
> GPB is the default type, just contains forward references but the
> slice_type is B slice with higher encoding efficiency than regular P
> slice, but lower performance.
>
> Add an option to allow user to set regular P slice.

Ok.

> +    { "gpb", "GPB (generalized P/B frame) or regular P frame",
> OFFSET(qsv.gpb), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE},

Before reading above, I was 100% sure that "true" ("1") would
set GPB frames but that the wording should change.

Use "P frames" instead of the default "P frames".
(But I am not a native speaker)

Carl Eugen


More information about the ffmpeg-devel mailing list