diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.py index 7735def811..9e52f28e8d 100644 --- a/frigate/ffmpeg_presets.py +++ b/frigate/ffmpeg_presets.py @@ -119,6 +119,8 @@ } PRESETS_HW_ACCEL_ENCODE = { + "preset-rpi-32-h264": "ffmpeg -hide_banner {0} -c:v h264_v4l2m2m -g 50 -bf 0 {1}", + "preset-rpi-64-h264": "ffmpeg -hide_banner {0} -c:v h264_v4l2m2m -g 50 -bf 0 {1}", "preset-intel-qsv-h264": "ffmpeg -hide_banner {0} -c:v h264_qsv -g 50 -bf 0 -profile:v high -level:v 4.1 -async_depth:v 1 {1}", "preset-intel-qsv-h265": "ffmpeg -hide_banner {0} -c:v h264_qsv -g 50 -bf 0 -profile:v high -level:v 4.1 -async_depth:v 1 {1}", "preset-nvidia-h264": "ffmpeg -hide_banner {0} -c:v h264_nvenc -g 50 -profile:v high -level:v auto -preset:v p2 -tune:v ll {1}", @@ -127,6 +129,8 @@ } PRESETS_HW_ACCEL_GO2RTC_ENGINE = { + "preset-rpi-32-h264": "v4l2m2m", + "preset-rpi-64-h264": "v4l2m2m", "preset-intel-vaapi": "vaapi", "preset-intel-qsv-h264": "vaapi", # go2rtc doesn't support qsv "preset-intel-qsv-h265": "vaapi",