NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
fix(record): replace asyncio.SubprocessError with sp.SubprocessError (#22393)
Peter Dolkens0c988da48557
diff --git a/frigate/util/services.py b/frigate/util/services.pyindex f1eedb01e5..db6e37540f 100644--- a/frigate/util/services.py+++ b/frigate/util/services.py@@ -779,7 +779,7 @@ async def get_video_properties(duration = float(duration_str) if duration_str else -1.0return True, width, height, codec, duration- except (json.JSONDecodeError, ValueError, KeyError, asyncio.SubprocessError):+ except (json.JSONDecodeError, ValueError, KeyError, sp.SubprocessError):return False, 0, 0, None, -1def probe_with_cv2(url: str) -> tuple[bool, int, int, Optional[str], float]: