Comment 5 for bug 364744

tuxo (beat-fasel) wrote :

I found a workaround for this problem. As proposed in http://n2.nabble.com/Opencv-Samples-in-Linux-environment-td2302179.html, this is achieved by preloading v4l1compat:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so vgrabbj -d /dev/video0 -f grab.jpg