Get outgoing caps in bin

Edgar Thier edgar.thier at theimagingsource.com
Wed May 18 10:54:38 UTC 2016


Hi,

How can I get the caps for my src pad in a bin so that I am able to modify my internal pipeline 
accordingly?

Sample pipelines would look like this:

gst-launch-1.0 mybin ! video/x-raw,format=RGBx,width=1280,height=720,framerate=30/1 ! videoconvert ! 
xvimagesink sync=false

gst-launch-1.0 mybin ! video/x-raw,format=GRAY8,width=1280,height=720,framerate=30/1 ! videoconvert 
! xvimagesink sync=false

gst-launch-1.0 mybin ! video/x-bayer,format=bggr,width=1280,height=720,framerate=30/1 ! videoconvert 
! xvimagesink sync=false

Is this possible?
My first thought was to negotiate the caps like a pushsrc but that does not seem possible with bins.


Regards,

Edgar


More information about the gstreamer-devel mailing list