diff --git a/frigate/record/export.py b/frigate/record/export.py index 6ead93011..2e5de61c5 100644 --- a/frigate/record/export.py +++ b/frigate/record/export.py @@ -62,7 +62,7 @@ class RecordingExporter(threading.Thread): if (self.end_time - self.start_time) <= MAX_PLAYLIST_SECONDS: playlist_lines = f"http://127.0.0.1:5000/vod/{self.camera}/start/{self.start_time}/end/{self.end_time}/index.m3u8" ffmpeg_input = ( - f" -y -protocol_whitelist pipe,file,http,tcp -i {playlist_lines}" + f"-y -protocol_whitelist pipe,file,http,tcp -i {playlist_lines}" ) else: playlist_lines = [] @@ -102,7 +102,7 @@ class RecordingExporter(threading.Thread): ffmpeg_cmd = ( parse_preset_hardware_acceleration_encode( self.config.ffmpeg.hwaccel_args, - TIMELAPSE_DATA_INPUT_ARGS + ffmpeg_input, + f"{TIMELAPSE_DATA_INPUT_ARGS} {ffmpeg_input}", f"{self.config.cameras[self.camera].record.export.timelapse_args} {file_name}", EncodeTypeEnum.timelapse, )