can't stream webcam logitech c310

Arjen Veenhuizen arjen.veenhuizen at tno.nl
Mon Dec 5 08:37:00 UTC 2016


It looks like your webcam only outputs MJPG (which makes sense). Therefor,
you have to first decode the stream before you can encode it into h264.

Something along the lines of:

> gst-launch-1.0 -v v4l2src device=/dev/video0  ! image/jpeg, width=1280,
> height=720, framerate=(fraction)30/1 ! jpegdec ! videoconvert ! queue !
> x264enc ! queue ! rtph264pay ! udpsink host=192.168.1.10 port=5001 

should get things going.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/can-t-stream-webcam-logitech-c310-tp4681011p4681017.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list