Hi,
thanks, this works for me as well. Do you have any idea how I can set this 
variable in a bbappend to gstreamer1.0 or gstreamer1.0-vaapi?
If that doesn’t work I could always set it in an init.d script, I guess.

Cheers
Clara

From: Enrico Pelò [mailto:[email protected]]
Sent: Mittwoch, 30. September 2020 11:01
To: Scherer, Clara (Avnet Integrated) <[email protected]>; 
[email protected]
Subject: Re: [meta-intel] gstreamer vaapi not working in vanilla dunfell image

Hi,

try with export GST_VAAPI_ALL_DRIVERS=1

this worked for me

cheers
enrico


From: 
<[email protected]<mailto:[email protected]>> 
on behalf of <[email protected]<mailto:[email protected]>>
Date: Wednesday, 30 September 2020 at 10:58
To: 
<[email protected]<mailto:[email protected]>>
Subject: [meta-intel] gstreamer vaapi not working in vanilla dunfell image

Hello,

I'm building an image for multiple Intel machines, but can't get video 
acceleration to work on the latest Dunfell release.

Use case:


gst-launch-1.0 playbin uri=file://<some mp4 video file with h264 encoding> -v


Result:
The video plays, but instead of GstVaapiDecodeBin being used (like it is in 
Zeus), GstMultiQueue seems to be used for decoding. This leads to a 
significantly higher CPU usage than on Zeus.
Closer inspection reveals that the gstreamer vaapi-Plugin is present, but 
missing all features, including vaapidecodebin.

$ gst-inspect-1.0 vaapi

Plugin Details:

  Name                     vaapi

  Description              VA-API based elements

  Filename                 /usr/lib/gstreamer-1.0/libgstvaapi.so

  Version                  1.16.2

  License                  LGPL

  Source module            gstreamer-vaapi

  Binary package           gstreamer-vaapi

  Origin URL               
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer





  0 features:

A minimal example can be reproduced by using the latest version of the Dunfell 
branch for poky and meta-intel. In local.conf I set
MACHINE ?= "intel-corei7-64"
and build the image with "bitbake core-image-sato". Everything else is kept 
unchanged.

Do I need to set any additional MACHINE_FEATURES or packages or something else?

Best regards
Clara


We continuously commit to comply with the applicable data protection laws and 
ensure fair and transparent processing of your personal data. 
Please read our privacy statement including an information notice and data 
protection policy for detailed information on our website.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6722): 
https://lists.yoctoproject.org/g/meta-intel/message/6722
Mute This Topic: https://lists.yoctoproject.org/mt/77213829/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to