<html><head></head><body><div class="ydp8efb6a5ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div><br></div><div dir="ltr" data-setdir="false">Thank for your reply, Tim. <br></div><div dir="ltr" data-setdir="false">I set <br></div><div dir="ltr" data-setdir="false"><span>both <br></span></div><div dir="ltr" data-setdir="false"><span>GST_PLUGIN_SYSTEM_PATH=<span><span>/opt/gstreamer/lib/gstreamer-1.0</span></span><br></span></div><div dir="ltr" data-setdir="false">and <br></div><div dir="ltr" data-setdir="false"><span>GST_PLUGIN_PATH<span>=/opt/gstreamer/lib/gstreamer-1.0</span></span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">then try to run my pipeline and get the same error message<span><span><br></span></span></div><div dir="ltr" data-setdir="false"><span><span>Warning: erroneous pipeline: no element "vah264dec"</span></span></div><div dir="ltr" data-setdir="false"><span><span><br></span></span></div><div dir="ltr" data-setdir="false"><span>gstreamer 1.22.2 is built and installed successfully.</span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"> Joe<br></div><div dir="ltr" data-setdir="false"><br></div>
</div><div id="yahoo_quoted_3552882587" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Thursday, April 27, 2023, 01:06:38 p.m. EDT, Tim-Philipp Müller via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv5875610590"><div><div>On Thu, 2023-04-27 at 15:45 +0000, cfd new via gstreamer-devel wrote:</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yiv5875610590ydp9129eca8yahoo-style-wrap"><div dir="ltr">no help with<br></div><div dir="ltr"><span>export GST_PLUGIN_PATH=/opt/gstreamer/lib</span></div></div></blockquote><div><br></div><div>That's not right, it should be /opt/gstreamer/lib/gstreamer-1.0/ as you had before.</div><div><br></div><div>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.</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yiv5875610590ydp9129eca8yahoo-style-wrap"><div dir="ltr"><span><span><span><span>/opt/gstreamer/</span></span>bin/gst-inspect-1.0</span></span> -b shows libgstcodecs-1.0 is in the blacklist</div></div></blockquote><div><br></div><div>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).</div><div><br></div><div>Cheers</div><div> Tim</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yiv5875610590ydp9129eca8yahoo-style-wrap"><div dir="ltr"><br></div><div dir="ltr">Any help?<br></div></div><div id="yiv5875610590yahoo_quoted_3018365551" class="yiv5875610590yahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div> On Thursday, April 27, 2023, 10:09:20 a.m. EDT, cfd new <newcfd@yahoo.com> wrote: </div><div><br></div><div><br></div><div><div id="yiv5875610590"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yiv5875610590yahoo-style-wrap"><div dir="ltr">Hi, Guys,</div><div dir="ltr"><br></div><div dir="ltr"> 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.</div><div dir="ltr">They all are installed under the same dir <span>/opt/gstreamer. I set the following environment variables<br></span></div><div dir="ltr"><div><div>export LD_LIBRARY_PATH=<span style="text-align:left;background-color:white;">/opt/gstreamer</span>/lib/:$LD_LIBRARY_PATH</div><div>export PATH=/opt/gstreamer/bin:$PATH</div><div dir="ltr">When I tried to run a pipeline, I got the following message</div></div><div dir="ltr"><span>Warning: erroneous pipeline: no element "vah264dec".</span></div><div dir="ltr"><span><span>vah264dec</span></span> is in plugin-bad and it is definitely installed. <br></div><div dir="ltr">but <span><span>/opt/gstreamer/</span></span>bin/gst-inspect-1.0 -b shows libgstcodecs-1.0.so is in the blacklist</div><div dir="ltr"><span><span><span>/opt/gstreamer/</span></span>bin/gst-inspect-1.0</span> <span><span>vah264dec</span></span> shows no such element or plugin <span><span>"vah264dec"</span></span><br></div><div dir="ltr">I also tried to set <br></div><div dir="ltr">export GST_PLUGIN_PATH=<span>=/opt/gstreamer/lib/gstreamer-1.0</span></div><div dir="ltr"><span>and removed cache file in ~/.cache/gstreamer<br></span></div><div dir="ltr">The result is same.</div><div dir="ltr"><br></div><div dir="ltr">What else should I do to remove codecs from the blacklist and make it available?</div><div dir="ltr"><br></div><div dir="ltr"> Joe<br></div></div></div></div></div></div></div></div></blockquote><div><br></div><div><span></span></div></div>
</div></div>
</div>
</div></body></html>