diff --git a/unifi/cams/base.py b/unifi/cams/base.py index 9c85551..15e85a1 100644 --- a/unifi/cams/base.py +++ b/unifi/cams/base.py @@ -905,7 +905,7 @@ class UnifiCamBase(metaclass=ABCMeta): "make_zero", "-fflags", "+genpts+discardcorrupt", - "-use_wallclock_as_timestamps 1", + # "-use_wallclock_as_timestamps 1", ] try: @@ -932,10 +932,18 @@ class UnifiCamBase(metaclass=ABCMeta): f" {self.get_base_ffmpeg_args(stream_index)}" f' -i "{source}"' f" {self.get_extra_ffmpeg_args(stream_index)} -metadata" - f" streamName={stream_name} -f flv -" - # f" | {sys.executable} -m unifi.clock_sync" - # f" {'--write-timestamps' if self._needs_flv_timestamps else ''}" - f" | nc {destination[0]} {destination[1]}" + f" streamName={stream_name} -f flv - | {sys.executable} -m" + # " unifi.clock_sync" + # f" {'--write-timestamps' if self._needs_flv_timestamps else ''} | nc" + f" {destination[0]} {destination[1]}" + # "ffmpeg -nostdin -loglevel error -y" + # f" {self.get_base_ffmpeg_args(stream_index)}" + # f' -i "{source}"' + # f" {self.get_extra_ffmpeg_args(stream_index)} -metadata" + # f" streamName={stream_name} -f flv -" + # # f" | {sys.executable} -m unifi.clock_sync" + # # f" {'--write-timestamps' if self._needs_flv_timestamps else ''}" + # f" | nc {destination[0]} {destination[1]}" )