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 -- Vgrabbj returns all green image https://bugs.launchpad.net/bugs/364744 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs