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.

How to work with HEVC la_ext plugin?

Celio_A_
Beginner
566 Views

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 1.15.3.62   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 8.3.26.352
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

Regards

0 Kudos
2 Replies
Santagata__Francesco
566 Views

Did you find a solution for this issue ?

 

BR

Francesco

0 Kudos
Dmitry_E_Intel
Employee
566 Views

Please take a look at https://github.com/Intel-Media-SDK/MediaSDK/issues/1743 and https://github.com/Intel-Media-SDK/MediaSDK/pull/1752

 

Regards,

Dmitry

0 Kudos
Reply