Skip to content

Commit

Permalink
add audio to idle stream
Browse files Browse the repository at this point in the history
  • Loading branch information
tyr84 committed Oct 11, 2023
1 parent 68978cc commit 7cb241c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async def _start_idle_stream(self):
while exit_code > 0:
self.stream = await asyncio.create_subprocess_exec(
*['ffmpeg', '-re', '-stream_loop', '-1',
'-i', 'idle.mp4', '-c:v', 'copy',
'-i', 'idle.mp4', '-c:v', 'copy', '-c:a', 'copy',
'-bsf', 'dump_extra', '-f', 'mpegts', 'pipe:'],
stdin=subprocess.DEVNULL, stdout=self.proxy_writer, stderr=subprocess.DEVNULL
)
Expand Down
Binary file modified idle.mp4
Binary file not shown.

0 comments on commit 7cb241c

Please sign in to comment.