gst-env.py does not set GST_PLUGIN_PATH

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Sat Mar 12 05:24:58 UTC 2022


Hi Jim,

This shouldn't be happening, could you please file an issue about this
at: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/new

Can you try doing:

./gst-env.py --only-environment > all_env.sh
. all_env.sh

And see if that sets GST_PLUGIN_PATH? Does the set value match the
value in all_env.sh?

Once we've figured out the issue, we can either fix the issue itself,
or work around it by relying on the plugin loader's recursive nature
and only adding top-level directories.

Cheers,
Nirbheek

On Sat, Mar 12, 2022 at 10:00 AM jim via gstreamer-devel
<gstreamer-devel at lists.freedesktop.org> wrote:
>
> Hi All,
>
> This is my first time building gstreamer from the mono repo using meson/ninja. I was missing libcairo2-dev and the cairo-gobject.pc file had the wrong prefix, but after correcting that, things seemed to build correctly. I'm using Ubuntu 21.10.
>
> I tried using gst-env.py but I ran into a problem: GST_PLUGIN_PATH is empty in the new shell. I tried with --only-environment and saw GST_PLUGIN_PATH  was quite long ... 14k characters long.  So possibly trying to export/set the env var fails? Is this a known issue?
>
> GST_PLUGIN_PATH=/home/jnualart/git/gstreamer/build/subprojects/gst-libav/ext/libav:/home/jnualart/git/gstreame
> r/build/subprojects/gst-plugins-base/gst/videoconvert:/home/jnualart/git/gstreamer/build/subprojects/gst-plugi
> ns-bad/gst/siren:/home/jnualart/git/gstreamer/build/subprojects/gst-python/plugin:/home/jnualart/git/gstreamer
> /build/subprojects/gst-plugins-base/gst/playback:/home/jnualart/git/gstreamer/build/subprojects/gst-plugins-ug
> ly/gst/asfdemux:/home/jnualart/git/gstreamer/build/subprojects/gst-plugins-good/gst/apetag:/home/jnualart/git/
> gstreamer/build/subprojects/gst-plugins-base/ext/gl:/home/jnualart/git/gstreamer/build/subprojects/gst-plugins
> -bad/sys/dvb:/home/jnualart/git/gstreamer/build/subprojects/gst-plugins-bad/gst/gaudieffects:/home/jnualart/gi
> t/gstreamer/build/subprojects/gst-plugins-bad/gst/videofilters:/home/jnualart/git/gstreamer/build/subprojects/
> gst-plugins-bad/gst/proxy:/home/jnualart/git/gstreamer/build/subprojects/gst-plugins-good/ext/cairo:/home/jnua......... etc etc etc
>
> Is there an option to automatically collect all the plugins in one location?
>
> thanks,
> -jim


More information about the gstreamer-devel mailing list