Skip to content

Commit

Permalink
try to reduce resource drain
Browse files Browse the repository at this point in the history
  • Loading branch information
tyr84 committed Nov 12, 2023
1 parent 6c0ce7f commit 1267d29
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 @@ -149,7 +149,7 @@ async def _start_idle_stream(self):
self.stream = await asyncio.create_subprocess_exec(
*['ffmpeg', '-re', '-stream_loop', '-1', '-i', 'idle.mp4',
'-c:v', 'copy',
'-c:a', 'libmp3lame', '-ar', '44100',
'-c:a', 'libmp3lame', '-ar', '44100', '-b:a', '8k',
'-bsf', 'dump_extra', '-f', 'mpegts', 'pipe:'],
stdin=subprocess.DEVNULL,
stdout=self.proxy_writer,
Expand Down
Binary file modified idle.mp4
Binary file not shown.

0 comments on commit 1267d29

Please sign in to comment.