Choose Gstreamer element in pipeline

Sebastian Dröge sebastian at centricular.com
Fri Nov 22 12:08:23 PST 2013


On Do, 2013-11-21 at 04:56 -0800, cxphong wrote:
> Hi,
> 
> I am a newbie in gstreamer. I wonder that how I can determine a suitable
> element in a pipeline? Are there anyway that I can list all available sink
> elements from a source element input?

Take a look at the code in playbin and decodebin, it does exactly that
among other things. You can get all elements with the GstElementFactory
API and can check things like the accepted caps on them to detect
compatibility.

-- 
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/20131122/1f4d3f7f/attachment.pgp>


More information about the gstreamer-devel mailing list