Tee and prerolling state

Sebastian Dröge sebastian at centricular.com
Sun Oct 27 22:55:35 CET 2013


On Mi, 2013-10-23 at 02:30 -0700, adrien_sch wrote:
> 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/n4662805/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.

Can you provide your code for comparison? Without that we can just guess
what you're doing and that won't be very useful :)

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131027/ad1b20f7/attachment.pgp>


More information about the gstreamer-devel mailing list