summaryrefslogtreecommitdiff
path: root/LICENSES/BSD-3-Clause.txt
diff options
context:
space:
mode:
authorDennis Fink2026-05-09 21:30:38 +0200
committerDennis Fink2026-05-09 21:30:38 +0200
commit46e56972f2b4d16ca6b3fd04611f86cf8580ea10 (patch)
treeadd502327a7f85c9b9b7af60abea617c5f246085 /LICENSES/BSD-3-Clause.txt
parentcfeb338478bb67defce2fb48222a6be3cffc4263 (diff)
downloadtranscode.sh-46e56972f2b4d16ca6b3fd04611f86cf8580ea10.tar.gz
transcode.sh-46e56972f2b4d16ca6b3fd04611f86cf8580ea10.zip
feat(core,cli): add hardware acceleration support via --hwaccel
Add --hwaccel [METHOD] / --no-hwaccel flags to control whether -hwaccel is passed to ffmpeg before the input file. The METHOD argument is optional and defaults to "auto", letting ffmpeg select the best available hardware decoder with automatic software fallback. Hardware acceleration is enabled by default (method: auto). Users on hosts where hwaccel causes compatibility or stability issues can opt out with --no-hwaccel or config.toml [encoding] hwaccel = false. The config key accepts false (disable), true (auto), or a method string such as "vaapi" or "cuda". CLI flags take precedence as usual. Bash completion is extended with a hwaccel_methods word list (auto, cuda, vaapi, dxva2, d3d11va, videotoolbox, qsv) for both the space form (--hwaccel <TAB>) and the equals form (--hwaccel=<TAB>). The completion script is also reformatted from 4-space to 2-space indentation for consistency with transcode.sh itself.
Diffstat (limited to 'LICENSES/BSD-3-Clause.txt')
0 files changed, 0 insertions, 0 deletions