How to list elements used by playbin2?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to list elements used by playbin2?

Kyrylo V Polezhaiev
Hello, I want to insert several dlls in my software installer.
So, I need to know, what plugins to include. My program uses playbin2 and two other gstreamer elements.
How can I ask playbin2 to list the elements he used?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to list elements used by playbin2?

Mart Raudsepp
On K, 2012-05-23 at 22:16 +0300, Kyrylo V Polezhaiev wrote:
> Hello, I want to insert several dlls in my software installer.
> So, I need to know, what plugins to include. My program uses playbin2 and two other gstreamer elements.
> How can I ask playbin2 to list the elements he used?

You could look at a debug log with GST_DEBUG=GST_ELEMENT_FACTORY:3 in
your enviroment to see which elements are created.
However, you need to keep in mind that playbin2 does auto-plugging of
elements based on the media container, used video/audio codec and so on,
so by including elements purely based on such metrics, only the same
kind of media files will be possible to be played then. This may be fine
if your application only uses GStreamer to play also included known
media, not user chosen. Otherwise you should probably take a different
approach in choosing which element plugins to include.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to list elements used by playbin2?

Kyrylo V Polezhaiev
Thank you very much! :)

> On K, 2012-05-23 at 22:16 +0300, Kyrylo V Polezhaiev wrote:
> > Hello, I want to insert several dlls in my software installer.
> > So, I need to know, what plugins to include. My program uses playbin2 and two other gstreamer elements.
> > How can I ask playbin2 to list the elements he used?
>
> You could look at a debug log with GST_DEBUG=GST_ELEMENT_FACTORY:3 in
> your enviroment to see which elements are created.
> However, you need to keep in mind that playbin2 does auto-plugging of
> elements based on the media container, used video/audio codec and so on,
> so by including elements purely based on such metrics, only the same
> kind of media files will be possible to be played then. This may be fine
> if your application only uses GStreamer to play also included known
> media, not user chosen. Otherwise you should probably take a different
> approach in choosing which element plugins to include.
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel