mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-21 11:51:53 +03:00
formatting
This commit is contained in:
parent
1987c052ff
commit
ae987c0964
@ -579,7 +579,9 @@ class RecordingExporter(threading.Thread):
|
|||||||
else:
|
else:
|
||||||
chapters_path = self._build_chapter_metadata_file(recordings)
|
chapters_path = self._build_chapter_metadata_file(recordings)
|
||||||
chapter_args = (
|
chapter_args = (
|
||||||
f" -i {chapters_path} -map 0 -dn -map_metadata 1" if chapters_path else ""
|
f" -i {chapters_path} -map 0 -dn -map_metadata 1"
|
||||||
|
if chapters_path
|
||||||
|
else ""
|
||||||
)
|
)
|
||||||
ffmpeg_cmd = (
|
ffmpeg_cmd = (
|
||||||
f"{self.config.ffmpeg.ffmpeg_path} -hide_banner {ffmpeg_input}{chapter_args} -c copy -movflags +faststart"
|
f"{self.config.ffmpeg.ffmpeg_path} -hide_banner {ffmpeg_input}{chapter_args} -c copy -movflags +faststart"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user