What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-08 23:11:06
[ WARN:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wwma2wne\o pencv\modules\videoio\src\cap_msmf.cpp (677) CvCapture_MSMF::initStream Failed t o set mediaType (stream 0, (640x480 @ 30) MFVideoFormat_RGB24(codec not found)
The following code resolved this issue for me: video = cv2.VideoCapture(0,cv2.CAP_DSHOW) Add solution
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5