diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.py index 1adbd3c9f..b6ec49b21 100644 --- a/frigate/ffmpeg_presets.py +++ b/frigate/ffmpeg_presets.py @@ -12,7 +12,7 @@ _user_agent_args = [ PRESETS_HW_ACCEL_DECODE = { "preset-rpi-32-h264": ["-c:v", "h264_v4l2m2m"], "preset-rpi-64-h264": ["-c:v", "h264_v4l2m2m"], - "preset-intel-vaapi": [ + "preset-vaapi": [ "-hwaccel_flags", "allow_profile_mismatch", "-hwaccel", @@ -42,16 +42,6 @@ PRESETS_HW_ACCEL_DECODE = { "-c:v", "hevc_qsv", ], - "preset-amd-vaapi": [ - "-hwaccel_flags", - "allow_profile_mismatch", - "-hwaccel", - "vaapi", - "-hwaccel_device", - "/dev/dri/renderD128", - "-hwaccel_output_format", - "vaapi", - ], "preset-nvidia-h264": [ "-hwaccel", "cuda", @@ -85,7 +75,7 @@ PRESETS_HW_ACCEL_DECODE = { } PRESETS_HW_ACCEL_SCALE = { - "preset-intel-vaapi": [ + "preset-vaapi": [ "-vf", "fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p", "-f", @@ -103,12 +93,6 @@ PRESETS_HW_ACCEL_SCALE = { "-f", "rawvideo", ], - "preset-amd-vaapi": [ - "-vf", - "fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p", - "-f", - "rawvideo", - ], "preset-nvidia-h264": [ "-vf", "fps={},scale_cuda=w={}:h={}:format=nv12,hwdownload,format=nv12,format=yuv420p", @@ -130,7 +114,7 @@ PRESETS_HW_ACCEL_SCALE = { } PRESETS_HW_ACCEL_ENCODE = { - "preset-intel-vaapi": [ + "preset-vaapi": [ "-c:v", "h264_vaapi", "-g", @@ -172,20 +156,6 @@ PRESETS_HW_ACCEL_ENCODE = { "-async_depth:v", "1", ], - "preset-amd-vaapi": [ - "-c:v", - "h264_vaapi", - "-g", - "50", - "-bf", - "0", - "-profile:v", - "high", - "-level:v", - "4.1", - "-sei:v", - "0", - ], "preset-nvidia-h264": [ "-c:v", "h264_nvenc",