From f8dabbdd4fb81368c5b259585eed3400e992488b Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 2 Mar 2024 13:38:50 +0000 Subject: [PATCH] e --- unifi/cams/base.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/unifi/cams/base.py b/unifi/cams/base.py index 087b53f..187d19f 100644 --- a/unifi/cams/base.py +++ b/unifi/cams/base.py @@ -904,7 +904,7 @@ class UnifiCamBase(metaclass=ABCMeta): "-avoid_negative_ts", # "make_zero", "-fflags", - "+genpts+discardcorrupt", + # "+genpts+discardcorrupt", # "-use_wallclock_as_timestamps 1", ] @@ -941,9 +941,7 @@ class UnifiCamBase(metaclass=ABCMeta): "ffmpeg -nostdin -loglevel debug -y" 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 ''}" + f" -metadata streamName={stream_name} -f flv -" f" | nc" )