Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

How to enable HEVC HW acceleration in Media Sample?

$
0
0

Hi all

when i ran sample_decode in HEVC HW mode,i got this error:

[root@localhost x64]# ./sample_decode_x11 h265 -i blue_sky.h265 -o blue_sky_h265.yuv -hw -p 33a61c0b4c27454ca8d85dde757c6f8e
plugin_loader.h :153 [ERROR] Failed to load plugin from GUID, sts=-9: { 0x33, 0xa6, 0x1c, 0x0b, 0x4c, 0x27, 0x45, 0x4c, 0xa8, 0xd8, 0x5d, 0xde, 0x75, 0x7c, 0x6f, 0x8e } (Intel (R) Media SDK HW plugin for HEVC DECODE)

Return on error: error code -3,    /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK3/git/mdp_msdk-samples/samples/sample_decode/src/pipeline_decode.cpp    266


Return on error: error code 1,    /home/lab_msdk/buildAgentDir/buildAgent_MediaSDK3/git/mdp_msdk-samples/samples/sample_decode/src/sample_decode.cpp    501

 

if i ran that in SW mode ,it was OK.

 

[root@localhost x64]# ./sample_decode_x11 h265 -i blue_sky.h265 -o blue_sky_h265.yuv -sw -p 15dd936825ad475ea34e35f3f54217a6
plugin_loader.h :157 [INFO] Plugin was loaded from GUID
Decoding Sample Version 6.0.16043175.175


Input video	HEVC
Output format	YUV420
Resolution	1920x1088
Crop X,Y,W,H	0,0,0,0
Frame rate	30.00
Memory type		system
MediaSDK impl		sw
MediaSDK version	1.16

Decoding started
Frame number:  217, fps: 22.357, fread_fps: 0.000, fwrite_fps: 24.43199
Decoding finished
plugin_loader.h :183 [INFO] MFXBaseUSER_UnLoad(session=0x0x7fc318e82210), sts=0

then i checked plugin.cfg,didn't find hw_decoder:

[HEVC_Decoder_15dd936825ad475ea34e35f3f54217a6]
GUID = 15dd936825ad475ea34e35f3f54217a6
PluginVersion = 1
APIVersion = 272
Path = /opt/intel/mediasdk/plugins/libmfx_hevcd_sw64.so
Type = 1
CodecID = HEVC
Default = 0

[HEVC_Encoder_e5400a06c74d41f5b12d430bbaa23d0b]
GUID = e5400a06c74d41f5b12d430bbaa23d0b
PluginVersion = 1
APIVersion = 272
Path = /opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so
Type = 2
CodecID = HEVC
Default = 0

[HEVC_Encoder_2fca99749fdb49aeb121a5b63ef568f7]
GUID = 2fca99749fdb49aeb121a5b63ef568f7
PluginVersion = 1
APIVersion = 272
Path = /opt/intel/mediasdk/plugins/libmfx_hevce_sw64.so
Type = 2
CodecID = HEVC
Default = 0

[HEVC_Encoder_87e0e80207375240852515cf4a5edde6]
GUID = 87e0e80207375240852515cf4a5edde6
PluginVersion = 1
APIVersion = 271
Path = /opt/intel/mediasdk/plugins/libmfx_h265fei_hw64.so
Type = 4
CodecID = HEVC
Default = 0

my OS is CentOS 7.1 and the cpu is Intel(R) Core(TM) i7-4700EQ CPU @ 2.40GHz,lspci can get this:

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)

 

Maybe i do something wrong in HEVC or SDK installation?could anyone help me?

 


Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>