Tee and prerolling

adrien_sch adrien.schwartzentruber at gmail.com
Thu Oct 24 10:48:20 CEST 2013


Hello guys, 

This is my situation : 
 - I create a rtspsrc element with a signal handler on pad-added 
 - In the callback of the pad-added signal, I add to the pipeline the depay
and parse elements, and a recording bin (with a tee) and a fakesink (on the
tee, will be my decode branch) 
 - My pipeline is blocked in prerolling state. 

Notes : 
 - My tee src pads are of course linked to a queue element. 
 - When I remove the fakesink ( => only one src pad for the tee, the
pipeline works perfectly) 
 - I tried to add the pipeline element with the bus thread, but it didn't
work. 

My pipeline :  recorder.jpg
<http://gstreamer-devel.966125.n4.nabble.com/file/n4662823/recorder.jpg>  

This is the corresponding gst-launch command : gst-launch-1.0 -e rtspsrc
location=rtsp://shuttle:8554/test ! rtph264depay ! h264parse ! tee name=t t.
! queue ! decodebin ! videoconvert ! autovideosink t. ! queue ! mp4mux !
filesink location=/tmp/test.mp4 

This command works, that means that I miss something in my code or something
is wrong. 

Any ideas are welcome. Thx 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Tee-and-prerolling-tp4662823.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list