From e79eab711afea62e9830973186600fe80b005de4 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sun, 8 Jan 2023 19:58:06 -0700 Subject: [PATCH] Fix RPi preset (#4968) --- frigate/ffmpeg_presets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.py index 9e52f28e8..4b457fe10 100644 --- a/frigate/ffmpeg_presets.py +++ b/frigate/ffmpeg_presets.py @@ -80,6 +80,8 @@ PRESETS_HW_ACCEL_DECODE = { } PRESETS_HW_ACCEL_SCALE = { + "preset-rpi-32-h264": ["-f", "rawvideo", "-pix_fmt", "yuv420p"], + "preset-rpi-64-h264": ["-f", "rawvideo", "-pix_fmt", "yuv420p"], "preset-vaapi": [ "-vf", "fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p",