[FFmpeg-cvslog] avcodec/nvenc: disable s12m timestamps by default
Timo Rothenpieler
git at videolan.org
Sun May 30 00:28:54 EEST 2021
ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Sat May 29 22:53:38 2021 +0200| [8d0fea81c736280ff19283b05cd0ad935d1e35c5] | committer: Timo Rothenpieler
avcodec/nvenc: disable s12m timestamps by default
Leads to weird crashes with valid looking input data for otherwise
unknown reasons.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d0fea81c736280ff19283b05cd0ad935d1e35c5
---
libavcodec/nvenc_hevc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index 007099242a..2c8b2197cf 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -148,7 +148,7 @@ static const AVOption options[] = {
{ "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 },
- { "s12m_tc", "Use timecode (if available)", OFFSET(s12m_tc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE },
+ { "s12m_tc", "Use timecode (if available)", OFFSET(s12m_tc), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 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 },
#ifdef NVENC_HAVE_MULTIPASS
More information about the ffmpeg-cvslog
mailing list