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.