mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix ffmpeg preset typo (#7293)
* Fix ffmpeg preset typo * Fix qsv typo Co-authored-by: Sergey Krashevich <svk@svk.su> --------- Co-authored-by: Sergey Krashevich <svk@svk.su>
This commit is contained in:
parent
761daf46ea
commit
961ce03835
@ -57,8 +57,8 @@ _user_agent_args = [
|
|||||||
PRESETS_HW_ACCEL_DECODE = {
|
PRESETS_HW_ACCEL_DECODE = {
|
||||||
"preset-rpi-32-h264": "-c:v:1 h264_v4l2m2m",
|
"preset-rpi-32-h264": "-c:v:1 h264_v4l2m2m",
|
||||||
"preset-rpi-64-h264": "-c:v:1 h264_v4l2m2m",
|
"preset-rpi-64-h264": "-c:v:1 h264_v4l2m2m",
|
||||||
"preset-vaapi": f"-hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_devic {_gpu_selector.get_selected_gpu()} -hwaccel_output_format vaapi",
|
"preset-vaapi": f"-hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device {_gpu_selector.get_selected_gpu()} -hwaccel_output_format vaapi",
|
||||||
"preset-intel-qsv-h264": f"-hwaccel qsv -qsv_devic {_gpu_selector.get_selected_gpu()} -hwaccel_output_format qsv -c:v h264_qsv",
|
"preset-intel-qsv-h264": f"-hwaccel qsv -qsv_device {_gpu_selector.get_selected_gpu()} -hwaccel_output_format qsv -c:v h264_qsv",
|
||||||
"preset-intel-qsv-h265": f"-load_plugin hevc_hw -hwaccel qsv -qsv_device {_gpu_selector.get_selected_gpu()} -hwaccel_output_format qsv -c:v hevc_qsv",
|
"preset-intel-qsv-h265": f"-load_plugin hevc_hw -hwaccel qsv -qsv_device {_gpu_selector.get_selected_gpu()} -hwaccel_output_format qsv -c:v hevc_qsv",
|
||||||
"preset-nvidia-h264": "-hwaccel cuda -hwaccel_output_format cuda",
|
"preset-nvidia-h264": "-hwaccel cuda -hwaccel_output_format cuda",
|
||||||
"preset-nvidia-h265": "-hwaccel cuda -hwaccel_output_format cuda",
|
"preset-nvidia-h265": "-hwaccel cuda -hwaccel_output_format cuda",
|
||||||
|
Loading…
Reference in New Issue
Block a user