From cee52e9cfdc4f02c2d8bdb742e3ef467e5f97799 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sun, 1 Jan 2023 12:41:27 -0700 Subject: [PATCH] Remove vaapi interlace which caused fps to be higher than specified (#4843) --- frigate/ffmpeg_presets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.py index c45cab7f1..026339171 100644 --- a/frigate/ffmpeg_presets.py +++ b/frigate/ffmpeg_presets.py @@ -87,7 +87,7 @@ PRESETS_HW_ACCEL_DECODE = { PRESETS_HW_ACCEL_SCALE = { "preset-intel-vaapi": [ "-vf", - "fps={},deinterlace_vaapi=rate=field:auto=1,scale_vaapi=w={}:h={},hwdownload,format=yuv420p", + "fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p", "-f", "rawvideo", ], @@ -105,7 +105,7 @@ PRESETS_HW_ACCEL_SCALE = { ], "preset-amd-vaapi": [ "-vf", - "fps={},deinterlace_vaapi=rate=field:auto=1,scale_vaapi=w={}:h={},hwdownload,format=yuv420p", + "fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p", "-f", "rawvideo", ],