This commit is contained in:
parent
358261fd32
commit
2ec6f808ca
@ -903,7 +903,7 @@ class UnifiCamBase(metaclass=ABCMeta):
|
||||
base_args = [
|
||||
# "-avoid_negative_ts",
|
||||
# "make_zero",
|
||||
"-fflags",
|
||||
# "-fflags",
|
||||
# "+genpts+discardcorrupt",
|
||||
# "-use_wallclock_as_timestamps 1",
|
||||
]
|
||||
@ -938,11 +938,11 @@ class UnifiCamBase(metaclass=ABCMeta):
|
||||
# f" {destination[0]} {destination[1]}"
|
||||
# )
|
||||
cmd = (
|
||||
"ffmpeg -nostdin -loglevel debug -y "
|
||||
f"{self.get_base_ffmpeg_args(stream_index)} "
|
||||
f'-i "{source}" '
|
||||
f"{self.get_extra_ffmpeg_args(stream_index)} "
|
||||
f"-metadata streamName={stream_name} - | nc {destination[0]} {destination[1]}"
|
||||
"ffmpeg -nostdin -loglevel debug -y"
|
||||
f" {self.get_base_ffmpeg_args(stream_index)}"
|
||||
f' -i "{source}"'
|
||||
f" {self.get_extra_ffmpeg_args(stream_index)}"
|
||||
f" -metadata streamName={stream_name} -f flv - | nc {destination[0]} {destination[1]}"
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user