From 38c5feba3f99c576f11c6b2f7551f2b44f1d33e4 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 20 May 2023 13:01:27 -0600 Subject: [PATCH] Fix pts --- frigate/record/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/record/export.py b/frigate/record/export.py index 2865ccf32..06a003397 100644 --- a/frigate/record/export.py +++ b/frigate/record/export.py @@ -83,7 +83,7 @@ class RecordingExporter(threading.Thread): if self.playback_factor == PlaybackFactorEnum.realtime: ffmpeg_cmd.extend(["-c", "copy", file_name]) elif self.playback_factor == PlaybackFactorEnum.timelapse_25x: - ffmpeg_cmd.extend(["-vf", "setpts=0.25*PTS", "-r", "5", "-an", file_name]) + ffmpeg_cmd.extend(["-vf", "setpts=0.04*PTS", "-r", "30", "-an", file_name]) p = sp.run( ffmpeg_cmd,