summaryrefslogtreecommitdiff
path: root/transcode.sh.1
diff options
context:
space:
mode:
authorDennis Fink2026-05-19 18:31:43 +0200
committerDennis Fink2026-05-19 18:31:43 +0200
commit99e6b7ceb93db5ce9c4b70619c6ead5a2aaa281c (patch)
tree9db42c39d8e9d360c6ecff5f2ec9c914fef17635 /transcode.sh.1
parent38cf6f1dd06176778bda3608d4ba58f6133b521e (diff)
downloadtranscode.sh-99e6b7ceb93db5ce9c4b70619c6ead5a2aaa281c.tar.gz
transcode.sh-99e6b7ceb93db5ce9c4b70619c6ead5a2aaa281c.zip
feat(output): make ffmpeg loglevel configurable
Add --ffmpeg-loglevel so users can choose which ffmpeg messages are shown during encoding instead of always using the built-in default. Load the same setting from [output].ffmpeg_loglevel when it is configured and no CLI value was provided. Document the new option in the README and man page, and add shell completion for supported ffmpeg log levels.
Diffstat (limited to '')
-rw-r--r--transcode.sh.115
1 files changed, 15 insertions, 0 deletions
diff --git a/transcode.sh.1 b/transcode.sh.1
index 3867d1c..bc3639c 100644
--- a/transcode.sh.1
+++ b/transcode.sh.1
@@ -179,6 +179,14 @@ After encoding, replace the original also if the new file is bigger.
Load the preset named \fINAME\fR from the preset directory. Defaults to
.BR default .
.TP
+.BR \-\-ffmpeg\-loglevel " \fILEVEL\fR, " \-\-ffmpeg\-loglevel= \fILEVEL\fR
+Pass
+\.BI \-v " LEVEL"
+to
+.BR ffmpeg(1).
+Defaults to
+.BR fatal .
+.TP
.BR \-h ", " \-\-help ", " \-?
Print a short help message and exit.
.TP
@@ -425,6 +433,7 @@ Boolean. Equivalent to
.B [size_report] file
String. Equivalent to
.BR \-\-size\-report\-file .
+.TP
.B [output] verbose
Boolean. Equivalent to
.BR \-v .
@@ -432,6 +441,12 @@ Boolean. Equivalent to
.B [output] quiet
Boolean. Equivalent to
.BR \-q .
+.TP
+.B [output] ffmpeg_loglevel
+String. Equivalent to
+.BR \-\-ffmpeg\-loglevel .
+Defaults to
+.BR fatal .
.RE
.TP
.IR "${XDG_CONFIG_HOME:-$HOME/.config}/transcode.sh/skip.conf"