Adding a new sink pad to a tee.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Adding a new sink pad to a tee.

robin-2
Hello,
 
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,
 
 
 
 
Robin

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel