e
All checks were successful
Build Docker image / docker (push) Successful in 1m30s

This commit is contained in:
Lee 2024-03-02 13:38:50 +00:00
parent e2ffdee1cd
commit f8dabbdd4f

@ -904,7 +904,7 @@ class UnifiCamBase(metaclass=ABCMeta):
"-avoid_negative_ts", "-avoid_negative_ts",
# "make_zero", # "make_zero",
"-fflags", "-fflags",
"+genpts+discardcorrupt", # "+genpts+discardcorrupt",
# "-use_wallclock_as_timestamps 1", # "-use_wallclock_as_timestamps 1",
] ]
@ -941,9 +941,7 @@ class UnifiCamBase(metaclass=ABCMeta):
"ffmpeg -nostdin -loglevel debug -y" "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' -i "{source}"'
f" {self.get_extra_ffmpeg_args(stream_index)} -metadata streamName={stream_name} -f flv -" f" -metadata streamName={stream_name} -f flv -"
f" | {sys.executable} -m unifi.clock_sync"
f" {'--write-timestamps' if self._needs_flv_timestamps else ''}"
f" | nc" f" | nc"
) )