Hi! Attached patch is meant to ease using an experimental profile for less experienced users.
Please comment, Carl Eugen
From 8e9f5ec1a2989ed53a30db131ae881c41b2b75e5 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <ceffm...@gmail.com> Date: Mon, 29 Jun 2020 00:51:40 +0200 Subject: [PATCH] lavc/dnxhddata: Improve experimental profile message. --- libavcodec/dnxhddata.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c index 154be89860..da565e6f67 100644 --- a/libavcodec/dnxhddata.c +++ b/libavcodec/dnxhddata.c @@ -1148,7 +1148,9 @@ int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth) !(cid->flags & DNXHD_444) && cid->bit_depth == bit_depth) { if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL && cid->flags & DNXHD_MBAFF) { - av_log(avctx, AV_LOG_WARNING, "Profile selected is experimental\n"); + av_log(avctx, AV_LOG_ERROR, + "Selected profile is experimental, add '-strict %d' if you want to use it\n", + FF_COMPLIANCE_EXPERIMENTAL); continue; } for (j = 0; j < FF_ARRAY_ELEMS(cid->bit_rates); j++) { -- 2.24.1
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".