gst_parse_error: no element "vaapih265dec"

Arun Raghavan arun at arunraghavan.net
Wed Nov 2 16:17:13 UTC 2022


On Mon, 29 Aug 2022, at 10:53 PM, Bill Hofmann via gstreamer-devel wrote:
> I am building a pipeline using Gst.parse_launch (Python). The pipeline is:
>
>> souphttpsrc location="http://localhost/foo.m3u8" ! 
>> parsebin ! queue ! vaapih265dec !
>> video/x-raw,format=P010_10LE ! queue max-size-bytes=100663300 ! kmssink
>
> After a system boot, my program runs. Some percentage of the time, I 
> receive the error message 
>
>> gst_parse_error: no element "vaapih265dec"
>
> My program is running as a user service, and it retries/restarts (after 
> waiting a few seconds). The second, or in some cases the third time it 
> retries, it works. 
>
> This is based on a local build (Ubuntu 22) of GStreamer 1.20.  Any 
> thoughts? Are there some system services that need to finish 
> initializing? 

Is it possible your /dev/dri/* nodes are coming up after the process starts?

Also, it might be worth running with GST_DEBUG=2,vaapi*:5 to see if the initial plugin scan reports an error.

-- Arun


More information about the gstreamer-devel mailing list