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

This commit is contained in:
Lee 2024-03-02 13:24:25 +00:00
parent cc31f63247
commit ec0df7ab3b

@ -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"
)