Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beginner
25 Views

Intel HEVC GACC and SW Encoder Look-Ahead problem

I'm trying to encode HEVC with sample_multi_transcode with this par file

set -o::h265 e5400a06c74d41f5b12d430bbaa23d0b
-lad 100 -i::h264 input.264 -join -la_ext -hw -async 1 -n 300 -o::sink
-h 1080 -w 1920 -o::h265 output.hevc -b 3000 -join -async 1 -hw -i::source -l 1 -u 4 -n 300

sample_multi_transcode -par 1.par
Multi Transcoding Sample Version 8.4.27.0

Par file is: 1.par

Session 0:
plugin_loader.h :186 [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)
MFX HARDWARE Session 0 API ver 1.29 parameters:
Input video: AVC
Output video: To child session
MFX dll: C:\WINDOWS\SYSTEM32\libmfxhw64.dll

Session 1:
plugin_loader.h :186 [INFO] Plugin was loaded from GUID: { 0xe5, 0x40, 0x0a, 0x06, 0xc7, 0x4d, 0x41, 0xf5, 0xb1, 0x2d, 0x43, 0x0b, 0xba, 0xa2, 0x3d, 0x0b } (Intel (R) Media SDK GPU-Accelerated plugin for HEVC ENCODE)
MFX HARDWARE Session 1 API ver 1.29 parameters:
Input video: From parent session
Output video: HEVC
MFX dll: C:\WINDOWS\SYSTEM32\libmfxhw64.dll

Pipeline surfaces number (DecPool): 117
Session 0 was joined with other sessions
Session 1 was joined with other sessions

Transcoding started

[ERROR], sts=MFX_ERR_INVALID_VIDEO_PARAM(-15), TranscodingSample::CTranscodingPipeline::Encode, <EncodeOneFrame|Surface2BS> failed at C:\Users\thx4ever\source\repos\MediaSDK\samples\sample_multi_transcode\src\pipeline_transcode.cpp:1451

[ERROR], sts=MFX_ERR_INVALID_VIDEO_PARAM(-15), TranscodingSample::CTranscodingPipeline::Run, CTranscodingPipeline::Run::Encode() [000001905B5B9490]. failed at C:\Users\thx4ever\source\repos\MediaSDK\samples\sample_multi_transcode\src\pipeline_transcode.cpp:4591

session 1 [000001905B5B9490] failed with status MFX_ERR_INVALID_VIDEO_PARAM shutting down the application...

session [000001905BA056A0] m_bForceStop is set
session [000001905B5B9490] m_bForceStop is set
WARNING: m_bForceStop is set, returning NULL ptr from GetFreeSurface

Transcoding finished

Common transcoding time is 0.342123 sec

*** session 0 [000001905BA056A0] PASSED (MFX_ERR_NONE) 0.341098 sec, 8 frames, 23.454 fps
set -o::h265 e5400a06c74d41f5b12d430bbaa23d0b

*** session 1 [000001905B5B9490] FAILED (MFX_ERR_INVALID_VIDEO_PARAM) 0.306223 sec, 1 frames, 3.266 fps
-lad 100 -i::h264 input.264 -join -la_ext -hw -async 1 -n 300 -o::sink

The test FAILED

[ERROR], sts=MFX_ERR_INVALID_VIDEO_PARAM(-15), wmain, transcode.ProcessResult failed at C:\Users\thx4ever\source\repos\MediaSDK\samples\sample_multi_transcode\src\sample_multi_transcode.cpp:984
plugin_loader.h :212 [INFO] MFXBaseUSER_UnLoad(session=0x000001905B5B9490), sts=0
plugin_loader.h :212 [INFO] MFXBaseUSER_UnLoad(session=0x000001905BA056A0), sts=0

0 Kudos
3 Replies
Highlighted
Moderator
25 Views

Hi Celio,

Very apologized for late response, do you solve this issue yet?

I used your par file and reproduced the issue although the error message may be different, I will continue investigating before I submit a bug.

At the same time, could you give me some updated on this issue from your side?

Mark

0 Kudos
Highlighted
Beginner
25 Views

Liu, Mark (Intel) wrote:

Hi Celio,

Very apologized for late response, do you solve this issue yet?

I used your par file and reproduced the issue although the error message may be different, I will continue investigating before I submit a bug.

At the same time, could you give me some updated on this issue from your side?

Mark

Hi Mark

Ogolikov sayd that because Gacc and SW encoder have short LA only

0 Kudos
Highlighted
Moderator
25 Views

Thanks,

Good to know your question was answered.

This looks like the limitation of SW/GACC codec.

Mark

0 Kudos