aboutsummaryrefslogtreecommitdiff
path: root/transcode.sh.1
diff options
context:
space:
mode:
authorDennis Fink2026-02-24 21:08:38 +0100
committerDennis Fink2026-02-24 21:08:38 +0100
commit7c302ecee9bdb7a53b2fc03d9d63693996566010 (patch)
treeb37a58d3af98945bb503b5b7334a5e40a7727a5f /transcode.sh.1
parent92d0073aede629aae79bf34aab0011d55eba34ec (diff)
downloadtranscode.sh-7c302ecee9bdb7a53b2fc03d9d63693996566010.tar.gz
transcode.sh-7c302ecee9bdb7a53b2fc03d9d63693996566010.zip
docs: document all variables available to presets
Previously only output_pixel_format was mentioned. All three variables (input_codec, input_pixel_format, output_pixel_format) are now listed with descriptions in the script header comment, the README, and the man page.
Diffstat (limited to '')
-rw-r--r--transcode.sh.124
1 files changed, 21 insertions, 3 deletions
diff --git a/transcode.sh.1 b/transcode.sh.1
index fe38c21..a22b802 100644
--- a/transcode.sh.1
+++ b/transcode.sh.1
@@ -153,10 +153,28 @@ array variable named
.B ffargs
containing additional arguments for
.BR ffmpeg (1).
-The variable
+The following variables are available to presets at source time:
+.RS
+.TP
+.B input_codec
+The video codec of the input file as reported by
+.BR ffprobe (1)
+(e.g.\&
+.IR h264 ,
+.IR hevc ).
+.TP
+.B input_pixel_format
+The pixel format of the input file after
+.I yuvj*
+normalisation (e.g.\&
+.IR yuv420p ,
+.IR yuv444p10le ).
+.TP
.B output_pixel_format
-is available to presets and contains the automatically selected output
-pixel format string.
+The recommended output pixel format, automatically derived from the
+input to preserve chroma subsampling (4:2:0, 4:2:2, 4:4:4) and bit
+depth (8, 10, 12, 16\-bit).
+.RE
.IP
Before the preset's
.B ffargs