Currently on audio tracks:
Applying option b:a (video bitrate (please use -b:v)) with argument 240k.

but b:a is the recommendation:
Applying option ab (audio bitrate (please use -b:a)) with argument 240k.

Feel free to change the new string.

Gerion
>From ddc4a7af0b355a03775ea76fa192004028cead27 Mon Sep 17 00:00:00 2001
From: Gerion Entrup <gerion.ent...@flump.de>
Date: Fri, 22 Apr 2016 18:37:41 +0200
Subject: [PATCH] make debug output for bitrate more meaningful

Currently the b:v hint appears also on audiotracks.
---
 ffmpeg_opt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 00d91c8..7700f8d 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -3341,7 +3341,7 @@ const OptionDef options[] = {
     { "ab",           OPT_VIDEO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT,            { .func_arg = opt_bitrate },
         "audio bitrate (please use -b:a)", "bitrate" },
     { "b",            OPT_VIDEO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT,            { .func_arg = opt_bitrate },
-        "video bitrate (please use -b:v)", "bitrate" },
+        "set the bitrate", "bitrate" },
     { "hwaccel",          OPT_VIDEO | OPT_STRING | HAS_ARG | OPT_EXPERT |
                           OPT_SPEC | OPT_INPUT,                                  { .off = OFFSET(hwaccels) },
         "use HW accelerated decoding", "hwaccel name" },
-- 
2.7.3

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to