2

I'm trying to process with OpenCV and python a live video transmission from a WebRTC site. But I can't open the video with

cv2.videocapture (URL)

When I try to open the video whith cv2.videocapture, it returns this error: [

ERROR:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap.cpp (116) cv::VideoCapture::open VIDEOIO(CV_IMAGES): raised OpenCV exception: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\videoio\src\cap_images.cpp:235: error: (-5:Bad argument) CAP_IMAGES: error, expected '0?[1-9][du]'

How could I open the video that is compatible with OpenCV? I appreciate it if you demonstrate the code.

β.εηοιτ.βε
  • 33,893
  • 13
  • 69
  • 83
Pretto
  • 21
  • 3

0 Answers0