From 99e6b7ceb93db5ce9c4b70619c6ead5a2aaa281c Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Tue, 19 May 2026 18:31:43 +0200 Subject: 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. --- transcode.sh.1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'transcode.sh.1') 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" -- cgit v1.3.1