How to get pipeline from gstreamer plugin written in python?

Josh Doe josh at joshdoe.com
Thu Jul 2 17:12:13 UTC 2020


On Wed, Jul 1, 2020 at 9:51 AM facepalm <ejlungay at gmail.com> wrote:

> In my gst-python plugin I wanted to get the pipeline so that I can query
> all
> plugins from the pipeline by name and update their properties.
>

Something like this:

self = playbin.get_by_name('mix')
bin = self.get_parent()  # may need to recurse up if bins are nested
for el in bin.iterate_elements():
    print(el.get_name())
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200702/a6251bf4/attachment.htm>


More information about the gstreamer-devel mailing list