Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sadly, none of the VideoCapture::set() or get() settings are guaranteed to work, it depends on your hardware, drivers, os, opencv video backend even.

most webcams only support certain sizes, e.g. multiples of vga or pal resolution, not arbitrary numbers.

in any case, please check the return value from videoStream.set() for failure.