summaryrefslogtreecommitdiff
path: root/transcode.sh.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--transcode.sh.145
1 files changed, 45 insertions, 0 deletions
diff --git a/transcode.sh.1 b/transcode.sh.1
index edeaae8..46b7526 100644
--- a/transcode.sh.1
+++ b/transcode.sh.1
@@ -86,6 +86,37 @@ Combine with
.B \-v
to see the detected codec and pixel format information.
.TP
+.BR \-\-hwaccel " [\fIMETHOD\fR], " \-\-hwaccel= \fIMETHOD\fR
+Pass
+.BI \-hwaccel " METHOD"
+to
+.BR ffmpeg (1)
+before the input file, enabling hardware-accelerated decoding.
+\fIMETHOD\fR is optional; when omitted it defaults to
+.BR auto ,
+which lets
+.BR ffmpeg (1)
+select the best available hardware decoder and fall back to software
+automatically.
+Common values include
+.BR cuda ,
+.BR vaapi ,
+.BR dxva2 ,
+and
+.BR videotoolbox .
+Hardware acceleration is
+.B enabled by default
+(method
+.BR auto ).
+.TP
+.B \-\-no\-hwaccel
+Do not pass
+.B \-hwaccel
+to
+.BR ffmpeg (1).
+Use this on hosts where hardware acceleration causes compatibility or
+stability issues.
+.TP
.BR \-N " \fIVALUE\fR, " \-\-nice " \fIVALUE\fR, " \-\-nice= \fIVALUE\fR
Run
.BR ffmpeg (1)
@@ -287,6 +318,20 @@ String. Default preset name. Equivalent to
Integer. Default niceness value. Equivalent to
.BR \-N .
.TP
+.B [encoding] hwaccel
+String or boolean.
+.B false
+disables hardware acceleration.
+.B true
+enables it with method
+.BR auto .
+Any other string (e.g.\&
+.IR vaapi ,
+.IR cuda )
+enables it with that specific method.
+Equivalent to
+.BR \-\-hwaccel " / " \-\-no\-hwaccel .
+.TP
.B [encoding] verify_output
Boolean. Equivalent to
.BR \-\-verify\-output / \-\-no\-verify\-output .