Update ffmpeg args with low risk improvements (#5519)

* Add threads 1 to input / output args

* Remove cuvid from hwaccel

* Update docs for new args

* Formatting
This commit is contained in:
Nicolas Mowen
2023-02-16 15:44:10 -07:00
committed by GitHub
parent 6cfa73a284
commit 52459bf348
3 changed files with 11 additions and 16 deletions

View File

@@ -92,30 +92,18 @@ PRESETS_HW_ACCEL_DECODE = {
"cuda",
"-hwaccel_output_format",
"cuda",
"-extra_hw_frames",
"2",
"-c:v",
"h264_cuvid",
],
"preset-nvidia-h265": [
"-hwaccel",
"cuda",
"-hwaccel_output_format",
"cuda",
"-extra_hw_frames",
"2",
"-c:v",
"hevc_cuvid",
],
"preset-nvidia-mjpeg": [
"-hwaccel",
"cuda",
"-hwaccel_output_format",
"cuda",
"-extra_hw_frames",
"2",
"-c:v",
"mjpeg_cuvid",
],
}