Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to Get MJPEG compression format from webcam!

HI! Im under gentoo linux. I compiled my opencv with all the correct flags to be able to work with this feature...

But when i try to make a:

cvSetCaptureProperty(capture2,CV_CAP_PROP_FOURCC,CV_FOURCC('M','J','P','G')); there was an error:

"Unable to get property <unknown property="" string="">(6) - Invalid argument"

What should I do?

Thaank you!