[FFmpeg-devel] [PATCH 2/2] avcodec/nvenc_hevc: add a53cc option for hevc
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Mon Jun 29 18:35:27 EEST 2020
From: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
libavcodec/nvenc_hevc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index 45dda3d..6153f9a 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -132,6 +132,8 @@ static const AVOption options[] = {
{ "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 },
+ { "a53cc", "Use A53 Closed Captions (if available)",
+ OFFSET(a53_cc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE },
{ NULL }
};
--
1.8.3.1
More information about the ffmpeg-devel
mailing list