Get outgoing caps in bin

Sebastian Dröge sebastian at centricular.com
Wed May 18 12:28:16 UTC 2016


On Mi, 2016-05-18 at 12:54 +0200, Edgar Thier wrote:
> 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.

Can you explain in more detail what's inside your bin and what kind of
reconfigurations it should do? Should it also reconfigure on the fly,
or only once at the very beginning?

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160518/4c9262a5/attachment.sig>


More information about the gstreamer-devel mailing list