Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

How to work with HEVC la_ext plugin?


Hello, i'm trying to encode to HEVC GPU ACC with lookahead (la_ext ) plugin included wth Intel Meda SDK 2018 R1 and in release notes sayd

this about the HEVC GPU ACC

Version   MAIN 10 and MAIN 10 422 range extension profile support added.

 Look Ahead feature implementation added. 

     Added support for Extended Look Ahead plugin, featuring analyses for before encode or VPP session, and reuse analyses data for several encoding sessions in multi-session scenario, so significantly decreases memory utilization and improves performance. 

Extended look Ahead plugin added API support for B-pyramid analyses. 

TU4 support added featuring middle range encode quality/performance optimization.  

For general performance vs bitrates savings please check HEVC Whitepaper on Product web page.

How can i trascode with la_ext enabled? Can show me some command line options example for sample_multi_transcode?

I Always get this error

sample_multi_transcode -i::h264 "D:\LOST (WORKING)\1\T1_Video - English.h264" -o::h265 D:\LST01HLT1.hevc -hw_d3d11 -async 10 -pe e5400a06c74d41f5b12d430bbaa23d0b -b 2890 -u quality -l 1 -la_ext -lad 100 -vbr -gop_size 240 -dist 4 -num_ref 6 -bref -bpyr -MaxKbps 8000 -ec::nv12 -dc::nv12 -w 1280 -h 720 -WeightedBiPred::implicit -WeightedPred::implicit -amfs:on -extbrc:on -pp
Multi Transcoding Sample Version
External allocator will be used as some cmd line paremeters request it.
Session 0:
Preset-controlled parameters (Default):
RateControlMethod: 2 (original preset value: 2)
AdaptiveMaxFrameSize: 16 (original preset value: 0)
AsyncDepth: 10 (original preset value: 4)
BRefType: 2 (original preset value: 0)
EnableBPyramid: 1 (original preset value: 0)
GopRefDist: 4 (original preset value: 0)
IntRefCycleDist: 0
IntRefCycleSize: 0
IntRefQPDelta: 0
IntRefType: 0
LowDelayBRC: 0
TargetUsage: 4 (original preset value: 4)
WeightedBiPred: 3 (original preset value: 0)
WeightedPred: 3 (original preset value: 0)
GopPicSize: 240 (original preset value: 47)
MaxKbps: 8000 (original preset value: 0)
TargetKbps: 2890 (original preset value: 2420)
BufferSizeInKB: 2890
MaxFrameSize: 0
LookAheadDepth: 100 (original preset value: 0)
plugin_loader.h :173 [INFO] Plugin was loaded from GUID: { 0x58, 0x8f, 0x11, 0x85, 0xd4, 0x7b, 0x42, 0x96, 0x8d, 0xea, 0x37, 0x7b, 0xb5, 0xd0, 0xdc, 0xb4 } (Intel (R) Media SDK plugin for LA ENC)
[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::CTranscodingPipeline::EncodePreInit, m_pmfxENC->Query failed at src\pipeline_transcode.cpp:495
[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::CTranscodingPipeline::Init, EncodePreInit failed at src\pipeline_transcode.cpp:3615
[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), TranscodingSample::Launcher::Init, pThreadPipeline->pPipeline->Init failed at src\sample_multi_transcode.cpp:353
plugin_loader.h :199 [INFO] MFXBaseUSER_UnLoad(session=0x0000028ECE2127D0), sts=0
[ERROR], sts=MFX_ERR_UNSUPPORTED(-3), wmain, transcode.Init failed at src\sample_multi_transcode.cpp:91


How to use la_ext plugin in par file multi session?

I'm using Kabylake processor i7 7700


0 Kudos
2 Replies

Did you find a solution for this issue ?





Please take a look at and