how to make decodebin select va-api decoder.

Victor Jaquez vjaquez at igalia.com
Wed May 31 07:01:25 UTC 2023


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 
>   
>     
> 
>  
>    


More information about the gstreamer-devel mailing list