Pipeline not prerolling when tee has more than one src
Jannis
jannis-lists at kripserver.net
Mon Dec 22 11:27:35 PST 2014
Hi list,
I create a videostream with this pipeline:
gst-launch-1.0 videotestsrc !
video/x-raw,width=640,height=360,pixel-aspect-ratio=1/1,framerate=25/1 !
timeoverlay ! clockoverlay deltay=50 ! vp8enc threads=2 deadline=35000 !
matroskamux streamable=true ! gdppay ! tcpserversink host=127.0.0.1
port=5000
When I display it using:
gst-launch-1.0 tcpclientsrc host=127.0.0.1 port=5000 ! gdpdepay ! tee
name=stream ! decodebin ! videoconvert ! ximagesink
everything is fine and the image is displayed. When I append another
element getting its data from the tee element:
gst-launch-1.0 tcpclientsrc host=127.0.0.1 port=5000 ! gdpdepay ! tee
name=stream ! decodebin ! videoconvert ! ximagesink stream. ! fakesink
the pipeline gets stuck in the PREROLLING state. Adding queues after the
tee and "stream.":
gst-launch-1.0 tcpclientsrc host=127.0.0.1 port=5000 ! gdpdepay ! tee
name=stream ! queue ! decodebin ! videoconvert ! ximagesink stream. !
queue ! fakesink
doesn't help, too.
What I actually want to do is save the stream to disk just as it comes
in (e.g. after the gdpdepay element) and decode+display it at the same time.
Best regards,
Jannis
More information about the gstreamer-devel
mailing list