From ea89aea3017fa27496a775fff2a367364415d51d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20Test=C3=A9?= Date: Wed, 24 Feb 2016 16:44:21 +0100 Subject: [PATCH] Modification of the pipeline to have a better visualisation --- stream_2016/gstream_pipeline_by_quidam | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/stream_2016/gstream_pipeline_by_quidam b/stream_2016/gstream_pipeline_by_quidam index d0655be..ab937dd 100644 --- a/stream_2016/gstream_pipeline_by_quidam +++ b/stream_2016/gstream_pipeline_by_quidam @@ -14,6 +14,7 @@ streamaudio. ! queue ! shout2send ip=live.fsf.org port=80 mount=testaudio.ogv pa ## ## TODO: Investigate double queues and double mux. +## Use multiple bins (one for each flow) and ghostpads to connect them ## Lightened command (to do CPU load benchmarking): @@ -23,3 +24,20 @@ gst-launch-1.0 -e rtspsrc location=rtsp://192.168.48.2:554 latency=100 ! queue ! pulsesrc ! queue ! vorbisenc quality=0.3 ! tee name=oggaudio rawvideo. ! 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 + +Latest version: +--------------- +Multilines version (visualisation and setting): + +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 + +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 -- 2.25.1