NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Set the loglevel for OpenCV ffmpeg messages to fatal (#14728)
joshjryand7935abc1424
diff --git a/docker/main/Dockerfile b/docker/main/Dockerfileindex ac4d277bdd..9d2f442f08 100644--- a/docker/main/Dockerfile+++ b/docker/main/Dockerfile@@ -211,6 +211,9 @@ ENV TOKENIZERS_PARALLELISM=true# https://github.com/huggingface/transformers/issues/27214ENV TRANSFORMERS_NO_ADVISORY_WARNINGS=1+# Set OpenCV ffmpeg loglevel to fatal: https://ffmpeg.org/doxygen/trunk/log_8h.html+ENV OPENCV_FFMPEG_LOGLEVEL=8+ENV PATH="/usr/local/go2rtc/bin:/usr/local/tempio/bin:/usr/local/nginx/sbin:${PATH}"ENV LIBAVFORMAT_VERSION_MAJOR=60diff --git a/frigate/util/services.py b/frigate/util/services.pyindex a717292631..9ee6da9996 100644--- a/frigate/util/services.py+++ b/frigate/util/services.py@@ -584,7 +584,7 @@ async def get_video_properties(width = height = 0try:- # Open the video stream+ # Open the video stream using OpenCVvideo = cv2.VideoCapture(url)# Check if the video stream was opened successfully