Why do these two Gstreamer pipelines work fine separately, but fail when tee'd from the source?
PeterT
peter.j.torelli at gmail.com
Mon Feb 1 00:51:52 UTC 2021
The below pipeline works fine if I either send it to UDP, or if I sent to a
file. When I connect them with a tee, the pipeline does nothing (no data
sent to file or UDP port). No errors are printed, however, when I hit CTRL-C
the pipeline waits for EOL shutdown and I have to CTRL-C again.
gst-launch-1.0 -e \ rtspsrc location='rtsp://userid:pwd@10.0.0.1:554'
latency=100 ! \ tee name=t ! \ queue ! \ rtph264depay ! \
h264parse ! \ mp4mux ! \ filesink location=tee.mp4 \ t. ! \ queue
! \ udpsink host=192.168.1.140 port=5000
This works fine:
gst-launch-1.0 -e \ rtspsrc location='rtsp://userid:pwd@10.0.0.1:554'
latency=100 ! \ rtph264depay ! \ h264parse ! \ mp4mux ! \ filesink
location=tee.mp4
...and this works fine:
gst-launch-1.0 -e \ rtspsrc location='rtsp://userid:pwd@10.0.0.1:554'
latency=100 ! \ udpsink host=192.168.1.140 port=5000
Thoughts?
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210131/f6f6e778/attachment.htm>
More information about the gstreamer-devel
mailing list