After many attempts using pygame, or OpenCV to capture and display pictures from a standard USB-camera I decided to ask this question.
Mplayer worked with all cameras I have tested (a=Logitech, b=Creative, c=SPEEDLink). Mplayer works from commandline; I found no python adaptation.
The other libraries did not even recognize the camera or found a non existing format of the video stream. Solutions from the internet describe older Raspbian OSs, maybe that's the problem. I am using 'Stretch' now and certainly will go on to 'Buster'.
so:
- can I use Mplayer from Python?
Other hints are welcome.
Thanks for help.
pyv4l2
. – Dmitry Grigoryev Feb 14 '20 at 12:16