This commit is contained in:
parent
cc31f63247
commit
ec0df7ab3b
@ -939,11 +939,12 @@ class UnifiCamBase(metaclass=ABCMeta):
|
|||||||
# )
|
# )
|
||||||
cmd = (
|
cmd = (
|
||||||
"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" {self.get_extra_ffmpeg_args(stream_index)} -metadata streamName={stream_name} -f flv -"
|
||||||
f" | {sys.executable} -m unifi.clock_sync"
|
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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user