How to run with the specifically installed gstreamer version on Ubuntu?
cfd new
newcfd at yahoo.com
Thu Apr 27 19:03:06 UTC 2023
Thank for your reply, Tim.
I set
both
GST_PLUGIN_SYSTEM_PATH=/opt/gstreamer/lib/gstreamer-1.0
and
GST_PLUGIN_PATH=/opt/gstreamer/lib/gstreamer-1.0
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.
Joe
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
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_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?
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230427/e8f87d0f/attachment.htm>
More information about the gstreamer-devel
mailing list