gst stuck when using the linux tee

Abu Abdullah falcon.sheep at gmail.com
Mon Jul 11 17:51:48 UTC 2016


>
> Just like using tee element in GStreamer, you need both output of the
> tee to implement enough buffering to prevent blocking the other size.
> If you need to run one without the other, you probably need leaky
> queues. The require adding a queue in GStreamer, and probably modifying
> live555 code. Have you considered using gst-rtp-server library instead
> of live555 ?
>

i would appreciate if you can show me how the pipeline would be with
after adding the 'queue'. modifying the code for live555 might be
diffecult for me (http://textuploader.com/5i2wm) so i will it first
without it.

i tried rtsp server as well but it will not work for me. i cannot have
two sinks at the same time since the camera feed is not allowing two
outputs at the same time.

i was using this gst-rpicamsrc plugin:

./test-launch "( rpicamsrc bitrate=1200000 intra-refresh-type=both
drc=medium ! video/x-h264,profile=baseline,width=640,height=480 !
h264parse config-interval=1 ! rtph264pay name=pay0 pt=96 )"

this command is working for me but i need additionally udpsink as
well. I tried to use tcpserversink and tcpclientsrc so that i can have
multiple sinks but it was not working:

raspivid -n  -t 0 -w 640 -h 480 -b 1200000 -fps 20 -o - |
gst-launch-1.0 -v fdsrc do-timestamp=true ! h264parse ! gdppay !
tcpserversink host=192.168.1.5 port=5000 | ./test-launch "(
tcpclientsrc host=192.168.1.5 port=5000 ! gdpdepay ! rtph264pay
config-interval=1 name=pay0 pt=96 )"


More information about the gstreamer-devel mailing list