I have connected Logitech C170 webcam to one of the USB port of raspi and I can confirm it is working using the motion
utility.
I have also installed gstreamer (sudo apt-get install -y gstreamer1.0-tools
) and I'm able to test it using gst-launch-1.0 videotestsrc ! ximagesink
.
However, when I try to get video input from webcam (gst-launch-1.0 v4l2src device=/dev/video0 ! ximagesink
), it runs in to cryptic errors difficult to understand.
Has anyone been able to use webcam with gstreamer on raspberry pi? Please help / share your pipeline / other setup.