-
Notifications
You must be signed in to change notification settings - Fork 367
Closed
Labels
Encodevideo encode relatedvideo encode related
Description
Derived from Intel-Media-SDK/MediaSDK#1398.
AVC low power encoding fails under Ubuntu 19.04 under intel-media-va-driver
because of 2 reasons:
- Bug in mediasdk which can be addressed by for example Make sure to compare guids correctly Intel-Media-SDK/MediaSDK#1399
- Becuse 26d7d50 commit is missed in https://github.com/intel/media-driver/releases/tag/intel-media-18.4.1 release which is used by Ubuntu 19.04
To reproduce the issue:
Install Ubuntu 19.04 and mediasdk coming from the OS:
sudo apt-get install libmfx1 libmfx-tools
sudo apt-get install libva-drm2 libva-x11-2
sudo apt-get install intel-media-va-driver
And run the following sample encode command line to encode via AVC Low Power encoder:
export LIBVA_DRIVER_NAME=iHD
# just to prepare some YUV input file:
wget https://fate-suite.libav.org/h264-conformance/AUD_MW_E.264
/usr/share/mfx/samples/sample_decode h264 -i AUD_MW_E.264 -o AUD_MW_E.yuv
# and now encode:
sample_encode: /build/intel-mediasdk-AzMSof/intel-mediasdk-18.4.1/_studio/mfx_lib/shared/src/mfx_h264_encode_vaapi.cpp:1422: virtual mfxStatus MfxHwH264Encode::VAAPIEncoder::CreateAuxilliaryDevice(VideoCORE*, GUID, mfxU32, mfxU32, bool): Assertion `0x00000000 == vaSts' failed.
Aborted (core dumped)
Metadata
Metadata
Assignees
Labels
Encodevideo encode relatedvideo encode related