Skip to content

Commit

Permalink
Fix ffmpeg hanging because stdout was never read and got filled up
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Dec 13, 2023
1 parent e53d2fe commit 101eaeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seplis_play_server/transcoders/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ async def start(self, send_data_callback=None) -> bool | bytes:
os.path.join(config.ffmpeg_folder, 'ffmpeg'),
*args,
env=subprocess_env(self.settings.session, 'transcode'),
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE,
stdout=asyncio.subprocess.DEVNULL,
stderr=asyncio.subprocess.DEVNULL,
)
self.register_session()

Expand Down

0 comments on commit 101eaeb

Please sign in to comment.