[FFmpeg-cvslog] avcodec/nvenc: add a53cc option for hevc_nvenc
Timo Rothenpieler
git at videolan.org
Tue Jun 30 20:08:27 EEST 2020
ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Tue Jun 23 17:19:22 2020 +0200| [b11ed975996d960e962af8a4f3cc646dea9094f4] | committer: Timo Rothenpieler
avcodec/nvenc: add a53cc option for hevc_nvenc
Signed-off-by: Timo Rothenpieler <timo at rothenpieler.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b11ed975996d960e962af8a4f3cc646dea9094f4
---
libavcodec/nvenc_hevc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index 45dda3daac..1924e4b148 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -129,6 +129,7 @@ static const AVOption options[] = {
{ "each", "", 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, 0, 0, VE, "b_ref_mode" },
{ "middle", "", 0, AV_OPT_TYPE_CONST, { .i64 = 2 }, 0, 0, VE, "b_ref_mode" },
#endif
+ { "a53cc", "Use A53 Closed Captions (if available)", OFFSET(a53_cc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE },
{ "tc", "Use timecode (if available)", OFFSET(tc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE },
{ "dpb_size", "Specifies the DPB size used for encoding (0 means automatic)",
OFFSET(dpb_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE },
More information about the ffmpeg-cvslog
mailing list