can't stream webcam logitech c310

henryco fhenryco at yahoo.fr
Mon Dec 5 11:46:43 UTC 2016


thank you, this works but jpegdec takes 98% CPU of my raspberry Pi, that's
why i want either

1) to send the MJPG format as it is, which indeed works with the following
pipelines:

pi side
gst-launch-1.0 v4l2src device=/dev/video0 !
image/jpeg,width=1280,height=720,framerate=30/1 ! 
udpsink host=192.168.1.10 port=5001
PC receiver side
gst-launch-1.0 -v udpsrc port=5001 ! jpegparse ! jpegdec ! autovideosink
sync=false

or 

2) take the raw video format from the webcam with the pipeline of my first
post ... but is there any way to force the webcam to output the video raw
format ? 

i could be satisfied with 1) (gives no more than 6 Mb/s in MJPG), but i
would like to serve this within a gst-rtsp server but the following fails :

./test-launch "( v4l2src device=/dev/video0 !
image/jpeg,width=1280,height=720,framerate=30/1 ! jpegparse ! videorate !
rtpjpegpay name=pay0 pt=96 )"
stream ready at rtsp://127.0.0.1:8554/test
Segmentation fault

and i have no idea why !






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


More information about the gstreamer-devel mailing list