This commit is contained in:
parent
e2ffdee1cd
commit
f8dabbdd4f
@ -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"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user