forked from Github/frigate
Set the loglevel for OpenCV ffmpeg messages to fatal (#14728)
* Set the loglevel for OpenCV ffmpeg messages to fatal * Set OPENCV_FFMPEG_LOGLEVEL in Dockerfile
This commit is contained in:
@@ -584,7 +584,7 @@ async def get_video_properties(
|
||||
width = height = 0
|
||||
|
||||
try:
|
||||
# Open the video stream
|
||||
# Open the video stream using OpenCV
|
||||
video = cv2.VideoCapture(url)
|
||||
|
||||
# Check if the video stream was opened successfully
|
||||
|
||||
Reference in New Issue
Block a user