Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

HEVC HW decode on haswell

CBill2
Beginner
452 Views

 

Hi I have a problem when i use HEVC HW decode with plugin was "33a61c0b4c27454ca8d85dde757c6f8e"

The follows is my code.

 MFXFrameAllocator*      m_pMFXAllocator;

.....

sts = m_pMFXAllocator->Lock(m_pMFXAllocator->pthis, m_OutputSurface->Data.MemId, &(m_OutputSurface->Data)); 

......

sts = m_pMFXAllocator->Unlock(m_pMFXAllocator->pthis, m_OutputSurface->Data.MemId, &(m_OutputSurface->Data));


 MSDK_BREAK_ON_ERROR(sts);

The first frame was OK, but the next frame it was locked on  " m_pMFXAllocator->Lock" function, it can not keep on next code. It was like dead locked on " m_pMFXAllocator->Lock" function.

PS: I use HEVC HW Plugin = "33a61c0b4c27454ca8d85dde757c6f8e", it was OK on init HEVC HW decode. 

In addition it was running normal when using SW decode with plugin was "15dd936825ad475ea34e35f3f54217a6".

 

The follows picture is my computer.

Thank you for your help.

0 Kudos
1 Reply
Harshdeep_B_Intel
452 Views

Hi Chen, 

Thank you for detailed description on this issue. Let take it step by step to resolve this issue. 

1) Please check and confirm if you have latest drivers installed on the machine for here: https://downloadcenter.intel.com/

2) Update to latest MediaSDK 2016 package: https://software.intel.com/en-us/media-sdk

2) After above updates, please download sample package: (https://software.intel.com/sites/default/files/MediaSamples_Windows_6.0.0.68.msi) and run sample_decode with following command line:

sample_decode h265 -i <inputfile> -o <outputfile> -hw -p 33a61c0b4c27454ca8d85dde757c6f8e. 

Let us know your results after completing above steps. If same issue is observed, please share the input clip and a log from system analyzer tool

Thanks, 

0 Kudos
Reply