I am trying to access a Logitech c310 webcam on my beaglebone. It always returns false for any device ID, I am not sure why.
I use the following code.
video related functionality is not supported (not compiled with FFmpeg), if cv2 was installed from pypi wheel:
pip install opencv-python
https://pypi.python.org/pypi/opencv-python
If you didn't solve it in many ways,you can try to
find and install "opencv3.2.0-dev",I use it to solve
the problem twice.
just pip install opencv-python is not enough.(hmm,
at least sometimes)