Issue setting MJPEG format when capturing using CAP_MSMF

asked 2020-11-12 08:31:03 -0500

Sanju gravatar image

Hi, Using CAP_MSMF video capture I can't able to set MJPEG format.

capture.set(cv::CAP_PROP_FOURCC, cv::VideoWriter::fourcc('M', 'J', 'P', 'G'));

but this works when I use CAP_DSHOW video capture.

edit retag flag offensive close merge delete