From 9c1083776c2ebf20fa657fd9e19d0d2638a1af3d Mon Sep 17 00:00:00 2001 From: Andrew Roberts Date: Mon, 28 Oct 2024 00:06:54 -0400 Subject: [PATCH] use new hwaccel args in export --- frigate/record/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/record/export.py b/frigate/record/export.py index 0d3f96da0..8bc5efc3c 100644 --- a/frigate/record/export.py +++ b/frigate/record/export.py @@ -225,7 +225,7 @@ class RecordingExporter(threading.Thread): ffmpeg_cmd = ( parse_preset_hardware_acceleration_encode( self.config.ffmpeg.ffmpeg_path, - self.config.ffmpeg.hwaccel_args, + self.config.cameras[self.camera].record.export.timelapse_args, f"-an {ffmpeg_input}", f"{self.config.cameras[self.camera].record.export.timelapse_args} -movflags +faststart", EncodeTypeEnum.timelapse, @@ -316,7 +316,7 @@ class RecordingExporter(threading.Thread): ffmpeg_cmd = ( parse_preset_hardware_acceleration_encode( self.config.ffmpeg.ffmpeg_path, - self.config.ffmpeg.hwaccel_args, + self.config.cameras[self.camera].record.export.hwaccel_args, f"{TIMELAPSE_DATA_INPUT_ARGS} {ffmpeg_input}", f"{self.config.cameras[self.camera].record.export.timelapse_args} -movflags +faststart {video_path}", EncodeTypeEnum.timelapse,