How to run with the specifically installed gstreamer version on Ubuntu?
Tim-Philipp Müller
t.i.m at zen.co.uk
Thu Apr 27 17:06:30 UTC 2023
On Thu, 2023-04-27 at 15:45 +0000, cfd new via gstreamer-devel wrote:
> no help with
> export GST_PLUGIN_PATH=/opt/gstreamer/lib
That's not right, it should be /opt/gstreamer/lib/gstreamer-1.0/ as you
had before.
You probably want to set GST_PLUGIN_SYSTEM_PATH, but also it shouldn't
really be needed if your app picks up the right libgstreamer-1.0.so
anyway, since it will default to looking in the prefix it was installed
into anyway.
> /opt/gstreamer/bin/gst-inspect-1.0 -b shows libgstcodecs-1.0 is in
> the blacklist
This isn't really a cause for concern, since this is a library not a
plugin (just an effect of you setting the plugin path to the library
dir).
Cheers
Tim
>
> Any help?
> On Thursday, April 27, 2023, 10:09:20 a.m. EDT, cfd new
> <newcfd at yahoo.com> wrote:
>
>
> Hi, Guys,
>
> I installed gstreamer 1.22.4 under opt/gstreamer in Ubuntu 22.04
> which has 1.20.3. Also libva and vaapi driver are built with it.
> They all are installed under the same dir /opt/gstreamer. I set the
> following environment variables
> export LD_LIBRARY_PATH=/opt/gstreamer/lib/:$LD_LIBRARY_PATH
> export PATH=/opt/gstreamer/bin:$PATH
> When I tried to run a pipeline, I got the following message
> Warning: erroneous pipeline: no element "vah264dec".
> vah264dec is in plugin-bad and it is definitely installed.
> but /opt/gstreamer/bin/gst-inspect-1.0 -b shows libgstcodecs-1.0.so
> is in the blacklist
> /opt/gstreamer/bin/gst-inspect-1.0 vah264dec shows no such element or
> plugin "vah264dec"
> I also tried to set
> export GST_PLUGIN_PATH==/opt/gstreamer/lib/gstreamer-1.0
> and removed cache file in ~/.cache/gstreamer
> The result is same.
>
> What else should I do to remove codecs from the blacklist and make it
> available?
>
> Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230427/90206705/attachment.htm>
More information about the gstreamer-devel
mailing list