summaryrefslogtreecommitdiff
path: root/transcode.sh.1
diff options
context:
space:
mode:
Diffstat (limited to 'transcode.sh.1')
-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