From ec0df7ab3b5c0293059fdd9d85f2da7d19f63c6d Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 2 Mar 2024 13:24:25 +0000 Subject: [PATCH] e --- unifi/cams/base.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unifi/cams/base.py b/unifi/cams/base.py index dc2a516..46eda3c 100644 --- a/unifi/cams/base.py +++ b/unifi/cams/base.py @@ -939,11 +939,12 @@ class UnifiCamBase(metaclass=ABCMeta): # ) cmd = ( "ffmpeg -nostdin -loglevel debug -y" - # f" {self.get_base_ffmpeg_args(stream_index)}" + f" {self.get_base_ffmpeg_args(stream_index)}" f' -i "{source}"' f" {self.get_extra_ffmpeg_args(stream_index)} -metadata streamName={stream_name} -f flv -" f" | {sys.executable} -m unifi.clock_sync" - f" {'--write-timestamps' if self._needs_flv_timestamps else ''} | nc" + f" {'--write-timestamps' if self._needs_flv_timestamps else ''}" + f" | nc" )