PyImageSearch / imutils

A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.
MIT License
4.53k stars 1.02k forks source link

Failed to set mediaType (stream 0, (1920x1080 @ 1) MFVideoFormat_RGB24(codec not found) #246

Open mali-supriya opened 3 years ago

mali-supriya commented 3 years ago

Error : Failed to set mediaType (stream 0, (1920x1080 @ 1) MFVideoFormat_RGB24(codec not found) For video format .mkv, I am getting this error. Even tried to change following in the source code video = cv2.VideoCapture(0,cv2.CAP_DSHOW) but still unable to extract frames.