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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mali-supriya opened this issue · comments

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.