From 1987c052ff162006586630904c56c246f10f19b7 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 23 May 2026 07:39:29 -0500 Subject: [PATCH] skip data streams in chapter exports to avoid ffmpeg segfault --- 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 9f571a5a5c..94bb72d90b 100644 --- a/frigate/record/export.py +++ b/frigate/record/export.py @@ -579,7 +579,7 @@ class RecordingExporter(threading.Thread): else: chapters_path = self._build_chapter_metadata_file(recordings) chapter_args = ( - f" -i {chapters_path} -map 0 -map_metadata 1" if chapters_path else "" + f" -i {chapters_path} -map 0 -dn -map_metadata 1" if chapters_path else "" ) ffmpeg_cmd = ( f"{self.config.ffmpeg.ffmpeg_path} -hide_banner {ffmpeg_input}{chapter_args} -c copy -movflags +faststart"