[FFmpeg-devel] [PATCH] avcodec/nvenc: multiple reference frames support
Roman Arzumanyan
rarzumanyan at nvidia.com
Fri Sep 27 12:04:42 EEST 2019
Hello,
This patch adds multiple reference frames support (part of Video Codec SDK 9.1).
It adds "nb_ref_frames" CLI option to set number of reference frames. Possible values:
* auto - let encoder decide (default value).
* [0;7] - set value by hand. 0 is equal to auto.
Usage example:
ffmpeg -i big_buck_bunny_1080p_h264.mov -c:v hevc_nvenc -frames:v 128 -nb_ref_frames auto -bf 2 -y big_buck_bunny_1080p_nb_auto.h265
ffmpeg -i big_buck_bunny_1080p_h264.mov -c:v h264_nvenc -frames:v 128 -nb_ref_frames 1 -y big_buck_bunny_1080p_nb_1.h264
Actual number of reference frames will be determined by encoder, but it will not exceed value of "nb_ref_frames" option.
--
BR, Roman Arzumanyan
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-nvenc-adding-multiple-reference-frames.patch
Type: application/octet-stream
Size: 4615 bytes
Desc: 0001-avcodec-nvenc-adding-multiple-reference-frames.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190927/85c104e2/attachment.obj>
More information about the ffmpeg-devel
mailing list