Adding a new sink pad to a tee.

Robin gstreamerdeveloper at
Fri Mar 30 05:15:03 PDT 2012


I’m using gStreamer-Sharp (c#) and trying to add another sink pad to a tee component.   The first thing I notice is that the AddPad method on Element is protected, so I can’t add one directly.   If I want to add another sink off the tee to link a different pipeline to it, how do I do it?  I’ve got it all working on the command line, i.e.:

gst-launch udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b24c61766335322e39332e30, payload=(int)96, ssrc=(uint)1147061207, clock-base=(uint)874876985, seqnum-base=(uint)25011"! rtpmp4vdepay ! ffdec_mpeg4 ! videorate ! ffmpegcolorspace ! tee name="Splitter" ! queue ! directdrawsink Splitter. ! queue ! videorate ! video/x-raw-rgb,framerate=1/1 ! ffmpegcolorspace ! pngenc snapshot=true ! multifilesink location="frame%05d.png"

In c# I’ve build and run everything up to the tee, and off down to directdrawsink (which links to the default sink on the tee).  Now I need to add everything down to the multifilesink, from a different sink on the tee.

Thanks for any help you can give me,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list