This commit is contained in:
parent
358261fd32
commit
2ec6f808ca
@ -903,7 +903,7 @@ class UnifiCamBase(metaclass=ABCMeta):
|
|||||||
base_args = [
|
base_args = [
|
||||||
# "-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",
|
||||||
]
|
]
|
||||||
@ -942,7 +942,7 @@ class UnifiCamBase(metaclass=ABCMeta):
|
|||||||
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)}"
|
f" {self.get_extra_ffmpeg_args(stream_index)}"
|
||||||
f"-metadata streamName={stream_name} - | nc {destination[0]} {destination[1]}"
|
f" -metadata streamName={stream_name} -f flv - | nc {destination[0]} {destination[1]}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user