After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791558 - vaapivp8enc: Feature vp8_encode can not be enabled during compile gst-vaapi with iHD driver on SKL
vaapivp8enc: Feature vp8_encode can not be enabled during compile gst-vaapi w...
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-13 07:47 UTC by zj,wang
Modified: 2018-10-03 08:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description zj,wang 2017-12-13 07:47:04 UTC
Test Env:
============================================
Platform:               SKL
Arch:          		x86_64
Kernel:			4.12.0-rc2
libva:			master branch df544cd5a31e54d4cbd33a391795a8747ddaf789 
                        repo: https://github.com/01org/libva.git
media_driver:		master branch 81796c8a9e44b878e26064c898e0f4730e8220cf
                        repo: https://github.com/intel/media-driver
gmmlib:                 repo: https://github.com/intel/gmmlib
gst-vaapi:		master branch b0d41c5db8c29b3df2a5b23d3da55141d701b992


Reproduce Steps:
============================================
1. build env as above lists or according to wiki https://github.com/intel/media-driver
2. compile gst-vaapi component with command "./autogen.sh --disable-glx --prefix=/opt/yami/gstreamer10/ --enable-encoders" successfully
3. export GST_VAAPI_ALL_DRIVERS=1 due to vpg driver not in whitelist
4. run command "gst-inspect-1.0 vaapi", finding that vp8 encode does not be enabled

gst-inspect-1.0 vaapi
Plugin Details:
  Name                     vaapi
  Description              VA-API based elements
  Filename                 /opt/yami/gstreamer10/lib/gstreamer-1.0/libgstvaapi.so
  Version                  1.13.0.1
  License                  LGPL
  Source module            gstreamer-vaapi
  Source release date      2017-12-13 18:48 (UTC)
  Binary package           gstreamer-vaapi
  Origin URL               http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

  vaapijpegdec: VA-API JPEG decoder
  vaapimpeg2dec: VA-API MPEG2 decoder
  vaapih264dec: VA-API H264 decoder
  vaapivc1dec: VA-API VC1 decoder
  vaapivp8dec: VA-API VP8 decoder
  vaapih265dec: VA-API H265 decoder
  vaapipostproc: VA-API video postprocessing
  vaapidecodebin: VA-API Decode Bin
  vaapisink: VA-API sink
  vaapimpeg2enc: VA-API MPEG-2 encoder
  vaapih265enc: VA-API H265 encoder
  vaapijpegenc: VA-API JPEG encoder
  vaapih264enc: VA-API H264 encoder
  vaapih264feienc: VA-API H264 FEI Advanced encoder (Experimental)

  14 features:
  +-- 14 elements
Comment 1 zj,wang 2018-07-12 08:30:20 UTC
This issue can not be duplicated with the latest iHD drvier and gst-vaapi
media-driver: commit 4a85bb18ecc9a18b7cf592d405c8c2fa1c7aad06
gst-vaapi: commit f5eb4faa5914f3745820e557ac2401a7d738be66
so close it
Comment 2 U. Artie Eoff 2018-10-02 19:11:16 UTC
`export LIBVA_DRIVER_NAME=iHD` with above steps and I don't see any vaapivp8enc plugin.  

Also, `LIBVA_DRIVER_NAME=iHD vainfo` does not report any encode entrypoint for vp8.

Will iHD driver support vp8 encode on SKL/KBL?
Comment 3 Víctor Manuel Jáquez Leal 2018-10-03 08:13:34 UTC
According to documentation [1], media-driver doesn't support vp8 in SKL.


1. https://github.com/intel/media-driver/blob/master/README.md