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.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Intel Media SDK 2021 R1 - MVC encoding problem

Frantisek_K_
Beginner
846 Views

Hello,

I'm facing problem with MVC (Multiview Stereoscopic) encoding with latest Media SDK 2021 R1 (Media SDK version 1.34),
particularly with SW implementation.

Even the sample_encode.exe unexpectedly fails (Windows 10):

sample_encode.exe mvc -sw -f 23.976 -i  SRC_L.yv12 -i SRC_R.yv12 -o output.avc -o output.mvc -viewoutput -w 1920 -h 1080

[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), CEncodingPipeline::ResetMFXComponents, m_pmfxENC->Init failed at c:\bb\b-1-27\mediasdk-windows\build_dir\repos\mediasdk\samples\sample_encode\src\pipeline_encode.cpp:2100
[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), CEncodingPipeline::Init, ResetMFXComponents failed at c:\bb\b-1-27\mediasdk-windows\build_dir\repos\mediasdk\samples\sample_encode\src\pipeline_encode.cpp:1852
[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), wmain, pPipeline->Init failed at c:\bb\b-1-27\mediasdk-windows\build_dir\repos\mediasdk\samples\sample_encode\src\sample_encode.cpp:1745
Frame number: 0
Encoding fps: -0


while the same example from previous release Media SDK 2020 R1 (Media SDK version 1.28) worked without any problems.


Problem is in function MFXVideoENCODE_Init(m_session, par) which now fails - with the same parameters as in previous release.

Could you please advice what has been changed and mainly how to overcome this issue?
Which parameters need to be adjusted (to contrary to previous version)?

Please note that Stereoscopic MVC ecoding/decoding is key functionality for me...

Thanks

Frank

0 Kudos
6 Replies
JananiC_Intel
Moderator
810 Views

Hi,


Thanks for posting in Intel forums.


We are checking on this. We will get back to you soon with an update.


Regards,

Janani Chandran


JananiC_Intel
Moderator
781 Views

Hi,


Could you check and confirm whether you have used video file as input?


Regards,

Janani Chandran


Frantisek_K_
Beginner
771 Views

Certainly YES.

 

I'm talking about encoding.

SRC_L.yv12 and SRC_R.yv12 are planar videofiles yuv 4:2:0

 

With latest libmfxsw32.dll/libmfxsw64.dll  (File version 11.21.3.18) I get error

sample_encode.exe mvc -sw -f 23.976 -i SRC_L.yv12 -i SRC_R.yv12 -o output.avc -o output.mvc -viewoutput -w 1920 -h 1080

[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), CEncodingPipeline::ResetMFXComponents, m_pmfxENC->Init failed at c:\bb\b-1-27\mediasdk-windows\build_dir\repos\mediasdk\samples\sample_encode\src\pipeline_encode.cpp:2100

[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), CEncodingPipeline::Init, ResetMFXComponents failed at c:\bb\b-1-27\mediasdk-windows\build_dir\repos\mediasdk\samples\sample_encode\src\pipeline_encode.cpp:1852

[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), wmain, pPipeline->Init failed at c:\bb\b-1-27\mediasdk-windows\build_dir\repos\mediasdk\samples\sample_encode\src\sample_encode.cpp:1745
Frame number: 0
Encoding fps: -0

 

when I use hardware library (which is older version on my i7 Haswell)

sample_encode.exe mvc -hw -f 23.976 -i SRC_L.yv12 -i SRC_R.yv12 -o output.avc -o output.mvc -viewoutput -w 1920 -h 1080

it creates regular  avc+mvc files, as expected.

 

Thanks

Frank

 

Frantisek_K_
Beginner
735 Views

Hello,

 

could you please provide me with an update regarding this defect?

I need to have MVC-3D encoding working... 

 

Thanks

 

Frank

 

JananiC_Intel
Moderator
717 Views

Hi,


Sorry for the delay.


We are working on this internally. We will get back to you soon.


Regards,

Janani Chandran


Frantisek_K_
Beginner
350 Views

Hello,

 

it is more than half a year - and I didn't get any answer to this bug reported in initial message of this chain.

 

(Repeating again:  MVC-3D encoding and decoding is essential functionality of Media SDK for me,

this is why I have chosen this platform to work with)

 

Thanks

 

Frank

 

Reply