From 5003bcaef6f3b7ff7eca168a9c8b04d5a9e8de04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20Test=C3=A9?= Date: Fri, 4 Mar 2016 23:37:20 +0100 Subject: [PATCH] Adding webcam feed pipeline (has to be implemented in gstconf.py) --- stream_2016/gstream_pipeline_by_quidam | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stream_2016/gstream_pipeline_by_quidam b/stream_2016/gstream_pipeline_by_quidam index ab937dd..91d187e 100644 --- a/stream_2016/gstream_pipeline_by_quidam +++ b/stream_2016/gstream_pipeline_by_quidam @@ -41,3 +41,7 @@ One line version (prototyping/test): To fix: min_quantizer and/or max_quantizer fail the initialization of vp8enc gst-launch-1.0 -e rtspsrc location=rtsp://192.168.48.2:554 latency=100 ! queue ! rtpjpegdepay ! tee name=rawjpeg ! queue ! jpegdec max-errors=-1 ! tee name=rawvideo ! queue ! xvimagesink pulsesrc ! queue ! vorbisenc quality=0.3 ! tee name=oggaudio rawvideo. ! videoscale ! video/x-raw, width=640, height=360 ! vp8enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=2 sharpness=7 ! queue ! webmmux name=mux2 oggaudio. ! queue ! queue ! mux2. mux2. ! queue ! tee name=streamlo ! queue ! filesink location=popo2 oggaudio. ! queue ! oggmux ! queue ! tee name=streamaudio ! queue ! filesink location=popo4 streamlo. ! queue ! shout2send ip=live.fsf.org port=80 mount=testlo.ogv password=icecastfsf1 streamaudio. ! queue ! shout2send ip=live.fsf.org port=80 mount=testaudio.ogv password=icecastfsf1 + +Webcam feed: +------------ +gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,width=640,height=480 ! queue ! xvimagesink sync=false \ No newline at end of file -- 2.25.1