still no idea what im doing
All checks were successful
Build Docker image / docker (push) Successful in 1m29s
All checks were successful
Build Docker image / docker (push) Successful in 1m29s
This commit is contained in:
parent
b2a0ea2c36
commit
8d1f1a9dd2
@ -929,15 +929,16 @@ class UnifiCamBase(metaclass=ABCMeta):
|
||||
source = await self.get_stream_source(stream_index)
|
||||
cmd = (
|
||||
"ffmpeg -nostdin -loglevel error -y"
|
||||
# f" {self.get_base_ffmpeg_args(stream_index)} -rtmp_transport"
|
||||
f' -i "{source}"'
|
||||
f" {self.get_extra_ffmpeg_args(stream_index)} -metadata"
|
||||
f" streamName={stream_name} -f flv - | {sys.executable} -m"
|
||||
" unifi.clock_sync"
|
||||
f" {'--write-timestamps' if self._needs_flv_timestamps else ''} | nc"
|
||||
f" {destination[0]} {destination[1]}"
|
||||
# f" {self.get_extra_ffmpeg_args(stream_index)} -metadata"
|
||||
f" streamName={stream_name} -f flv -"
|
||||
"-re"
|
||||
# f" | {sys.executable} -m unifi.clock_sync"
|
||||
# f" {'--write-timestamps' if self._needs_flv_timestamps else ''}"
|
||||
f" | nc {destination[0]} {destination[1]}"
|
||||
)
|
||||
|
||||
|
||||
if is_dead:
|
||||
self.logger.warn(f"Previous ffmpeg process for {stream_index} died.")
|
||||
|
||||
|
Reference in New Issue
Block a user