how to make decodebin select va-api decoder.

cfd new newcfd at yahoo.com
Wed May 31 13:42:08 UTC 2023


 
gst-inspect-1.0 va output has all VA-API  h264 and h265 encoder and decoder elements.
   Joe
    On Wednesday, May 31, 2023, 04:15:44 a.m. EDT, Victor Jaquez via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:  
 
 Hi,

what's the output of `gst-inspect-1.0 va` in your system??

vmjl

On Tue, 30 May 2023 at 22:39, cfd new via gstreamer-devel wrote:
> Hi, Chris,
>    thanks for your reply. I tried it
>    GST_PLUGIN_FEATURE_RANK=vah264dec:259 gst-launch-1.0 -v filesrc location=/home/simulator/Downloads/test.mkv ! decodebin ! autovideosink
> 
> the output still shows that avdec_h264 is applied.
> 
>    Joe
> 
>    On Tuesday, May 30, 2023, 06:15:41 p.m. EDT, Christophe Lafolet via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:  
>  
>  hello 
>  by API, you can connect to the "autoplug-select" signal
>  else you could set "GST_PLUGIN_FEATURE_RANK" (seehttps://gstreamer.freedesktop.org/documentation/gstreamer/running.html?gi-language=c)
>  
>  Christophe
>  
>  Le 30/05/2023 à 18:21, cfd new via gstreamer-devel a écrit :
>  
>  
>  gst-launch-1.0 -v filesrc location=/home/simulator/Downloads/test.mkv ! decodebin ! autovideosink
> has output to show av decoder is applied. How to make decodebin select va-api decoder. 
> vaapi decoder is not installed. Instead, va-api decoder is installed.
> 
>    Joe 
>   
>    
> 
>  
>    
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230531/ebee04e4/attachment.htm>


More information about the gstreamer-devel mailing list