This commit is contained in:
parent
50d297d41f
commit
865199e5ec
@ -941,11 +941,13 @@ class UnifiCamBase(metaclass=ABCMeta):
|
|||||||
"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)} "
|
||||||
|
f"-metadata streamName={stream_name} -f flv - "
|
||||||
f"| nc {destination[0]} {destination[1]}"
|
f"| nc {destination[0]} {destination[1]}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if is_dead:
|
if is_dead:
|
||||||
self.logger.warn(f"Previous ffmpeg process for {stream_index} died.")
|
self.logger.warn(f"Previous ffmpeg process for {stream_index} died.")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user