[gst-devel] Getting pipeline from playbin

Stefan Kost ensonic at hora-obscura.de
Mon Jan 28 18:32:45 CET 2008


Hi tim,

Tim Müller schrieb:
> On Sun, 2008-01-27 at 17:07 -0800, John Faith wrote:
> 
>> I'd like to see the element pipeline which playbin uses.  Is there a 
>> simple way to get this?
> 
> Graphically: wait until the pipeline/playbin has reached PAUSED or
> PLAYING state, then use
> 
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-DEBUG-BIN-TO-DOT-FILE:CAPS
> 
> 
> Alternatively: gst-launch-0.10 -v playbin uri=....
> 
> will usually also give you a good idea about what elements are involved
> (check the element names when it prints the caps of the various pads).

I wonder if we should improve this a bit. Currently it lists:
/playbin0/abin/audiosink.sink: caps = aud....

This does not tell you which audiosink it uses. SO what about:
/playbin0/abin/audiosink[alsasink].sink: caps = aud....

Stefan

> 
> Cheers
>  -Tim
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list