gst stuck when using the linux tee

Abu Abdullah falcon.sheep at gmail.com
Mon Jul 11 16:31:50 UTC 2016


Hi,

I'm trying to forward a camera output (Raspberry PI camera 'raspivid')
to live555 and Gstreamer using the following:

raspivid -n -t 0 -w 640 -h 480 -b 1200000 -fps 20 -o - | tee
>(./testRaspi) | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay
pt=96 config-interval=10 ! udpsink host=192.168.1.15 port=5000

the above command will copy the output of raspivid and pass it to
live555/testRaspi. at the same time it will forward it also to
Gstreamer.
using the linux comman tee.

the problems with this command is:
- GStreamer client will not start until RTSP\live555 client start
requesting the stream i.e. only both of them will work at the same
time but not the GStreamer alone. in addition the stream from gst is
not smooth, it is like buffering some part of the stream and display
it very quickly in chunks.

is it something related to gst. does gst send acknowledgement as a
response to the src (copy of the camera feed).

N.B. it works fine without tee i.e.:
raspivid -n -t 0 -w 640 -h 480 -b 1200000 -fps 20 -o - |
gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay pt=96
config-interval=10 ! udpsink host=192.168.1.15 port=5000

Any support is appreciated


More information about the gstreamer-devel mailing list