From 414ffe075a85447279df98123a8e767c86123cfa Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sat, 2 Aug 2025 01:32:17 -0400 Subject: [PATCH] Fix videos --- app/routers/videos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers/videos.py b/app/routers/videos.py index bd76870..ffad228 100644 --- a/app/routers/videos.py +++ b/app/routers/videos.py @@ -176,7 +176,6 @@ async def stream_video(video_id: str, current_user: dict = Depends(is_user)): '-crf', '28', '-codec:a', 'aac', '-b:a', '128k', - '-vf', 'scale=-1:720', '-loglevel', 'warning', '-hide_banner', 'pipe:1' @@ -213,6 +212,7 @@ async def stream_video(video_id: str, current_user: dict = Depends(is_user)): print(f"[{video_id}] Terminating FFmpeg process.") process.terminate() # Send SIGTERM await process.wait() # Wait for process to exit + stderr_output = await process.stderr.read() elif process and process.returncode != 0: # If FFmpeg exited with an error code stderr_output = await process.stderr.read()