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.

Cannot find LA ENC plugin

高__超
Beginner
709 Views

Hi,

I am trying to use LA_EXT in Windows10 with KabyLake i5-7500 platform for both h264 and hevc encoding, but it failed. Media SDK Version is 2017R1.

mediasdk_release_notes.pdf says HEVC encode supports MFX_RATECONTROL_LA_EXT with lookahead plugin in page 12.

 

Par file:

la_ext_264.par:

-i::h264 test.264 -o::sink -gop_size 33 -dist 4 -num_ref 2 -u 4 -la_ext -lad 33 -async 50
-i::source -o::h264 output.264 -gop_size 33 -dist 4 -num_ref 2 -u 4 -la_ext -lad 33 -w 1920 -h 1080 -async 50

la_ext_265.par:

-i::h264 test.264 -o::sink -gop_size 33 -dist 4 -num_ref 2 -u 4 -la_ext -lad 33 -async 50
-i::source -o::h265 output.265 -gop_size 33 -dist 4 -num_ref 2 -u 4 -la_ext -lad 33 -w 1920 -h 1080 -async 50

 

Below is my command line:

C:\Users\gc\Documents\Samples for Intel(R) Media SDK 2017 for Windows 8.0.24.271\_build\x64\Release>sample_multi_transcode.exe -par la_ext_264.par
Multi Transcoding Sample Version 8.0.24.0

Par file is: la_ext_264.par

plugin_loader.h :166 [ERROR] Failed to load plugin from GUID, sts=-9: { 0x58, 0x8f, 0x11, 0x85, 0xd4, 0x7b, 0x42, 0x96, 0x8d, 0xea, 0x37, 0x7b, 0xb5, 0xd0, 0xdc, 0xb4 } (Intel (R) Media SDK plugin for LA ENC)
MFX HARDWARE Session 0 API ver 1.25 parameters:
Input  video: AVC
Output video: To child session
MFX dll: C:\Program Files\Intel\Media SDK\libmfxhw64.dll

MFX HARDWARE Session 1 API ver 1.25 parameters:
Input  video: From parent session
Output video: AVC
MFX dll: C:\Program Files\Intel\Media SDK\libmfxhw64.dll


[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::CTranscodingPipeline::CalculateNumberOfReqFrames, m_pmfxPreENC.get()->QueryIOSurf failed at src\pipeline_transcode.cpp:2895

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::CTranscodingPipeline::AllocFrames, CalculateNumberOfReqFrames failed at src\pipeline_transcode.cpp:2727

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::CTranscodingPipeline::CompleteInit, AllocFrames failed at src\pipeline_transcode.cpp:3378

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::Launcher::Init, m_pSessionArray->pPipeline->CompleteInit failed at src\sample_multi_transcode.cpp:369

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), wmain, transcode.Init failed at src\sample_multi_transcode.cpp:750

C:\Users\gc\Documents\Samples for Intel(R) Media SDK 2017 for Windows 8.0.24.271\_build\x64\Release>sample_multi_transcode.exe -par la_ext_265.par
Multi Transcoding Sample Version 8.0.24.0

Par file is: la_ext_265.par

plugin_loader.h :166 [ERROR] Failed to load plugin from GUID, sts=-9: { 0x58, 0x8f, 0x11, 0x85, 0xd4, 0x7b, 0x42, 0x96, 0x8d, 0xea, 0x37, 0x7b, 0xb5, 0xd0, 0xdc, 0xb4 } (Intel (R) Media SDK plugin for LA ENC)
MFX HARDWARE Session 0 API ver 1.25 parameters:
Input  video: AVC
Output video: To child session
MFX dll: C:\Program Files\Intel\Media SDK\libmfxhw64.dll

plugin_loader.h :170 [INFO] Plugin was loaded from GUID: { 0x6f, 0xad, 0xc7, 0x91, 0xa0, 0xc2, 0xeb, 0x47, 0x9a, 0xb6, 0xdc, 0xd5, 0xea, 0x9d, 0xa3, 0x47 } (Intel (R) Media SDK HW plugin for HEVC ENCODE)
MFX HARDWARE Session 1 API ver 1.25 parameters:
Input  video: From parent session
Output video: HEVC
MFX dll: C:\Program Files\Intel\Media SDK\libmfxhw64.dll


[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::CTranscodingPipeline::CalculateNumberOfReqFrames, m_pmfxPreENC.get()->QueryIOSurf failed at src\pipeline_transcode.cpp:2895

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::CTranscodingPipeline::AllocFrames, CalculateNumberOfReqFrames failed at src\pipeline_transcode.cpp:2727

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::CTranscodingPipeline::CompleteInit, AllocFrames failed at src\pipeline_transcode.cpp:3378

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::Launcher::Init, m_pSessionArray->pPipeline->CompleteInit failed at src\sample_multi_transcode.cpp:369

[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), wmain, transcode.Init failed at src\sample_multi_transcode.cpp:750
plugin_loader.h :196 [INFO] MFXBaseUSER_UnLoad(session=0x0000026810BF56F0), sts=0

 

It seems the Media SDK doesn't contain the LA ENC plugin. Please let me know how to get the plugin or how to use la_ext in Windows. Thank you.

Best regards,

Charles Gao

0 Kudos
0 Replies
Reply