From 01989b71829a82add19d26cab8e0bbba35f76bf7 Mon Sep 17 00:00:00 2001 From: maziggy Date: Wed, 24 Dec 2025 13:43:35 +0100 Subject: [PATCH] - Fix A1/P1 camera streaming with extended timeouts and lower FPS cap - Removed deprecated -stimeout option (renamed to -timeout in ffmpeg 5.0+). --- backend/app/api/routes/camera.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/app/api/routes/camera.py b/backend/app/api/routes/camera.py index 2d368fa82..bba8be9bd 100644 --- a/backend/app/api/routes/camera.py +++ b/backend/app/api/routes/camera.py @@ -92,9 +92,7 @@ async def generate_mjpeg_stream( cmd.extend( [ "-timeout", - "10000000", # 10 seconds in microseconds - "-stimeout", - "10000000", # Socket timeout + "10000000", # 10 seconds in microseconds (replaces deprecated -stimeout) "-analyzeduration", "10000000", # Longer analysis time "-probesize",