How to run with the specifically installed gstreamer version on Ubuntu?
newcfd at yahoo.com
Thu Apr 27 19:03:06 UTC 2023
Thank for your reply, Tim.
then try to run my pipeline and get the same error message
Warning: erroneous pipeline: no element "vah264dec"
gstreamer 1.22.2 is built and installed successfully.
On Thursday, April 27, 2023, 01:06:38 p.m. EDT, Tim-Philipp Müller via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:
On Thu, 2023-04-27 at 15:45 +0000, cfd new via gstreamer-devel wrote:
no help with
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).
On Thursday, April 27, 2023, 10:09:20 a.m. EDT, cfd new <newcfd at yahoo.com> wrote:
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_PATHexport PATH=/opt/gstreamer/bin:$PATHWhen I tried to run a pipeline, I got the following messageWarning: 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.0and 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel