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.

BufferSizeInKB in laptop is different with it in Intel pad

Guangyi_D_Intel
Employee
319 Views

I can encode a H264 video successfully in my laptop with the following parameters:

Profile:           High Profile
Level:             4.1
Size:             1920 * 1088
FPS:              30
Rate control:   VBR

But it will fail in the Intel pad, the root cause is that BufferSizeInKB is too small while it's larger in my laptop.

I don't understand why GetVideoParam method returned different BufferSizeInKB value with the same input?

Is it related to the hardware of the Intel pad?

The OS of my laptop is Win7 and OS of the pad is Win8, will this impact the result?

0 Kudos
4 Replies
Sravanthi_K_Intel
319 Views

While we don't expect Win7/8 to impact the result, the different hardware and drivers between the laptop and tablet will. For this purpose, we encourage you to use the queries provided by the SDK to get hints what is supported and not on the platform of execution. You can find information related to your scenario in the MFXVideoENCODE_Query topic in the dev manual.

0 Kudos
Guangyi_D_Intel
Employee
319 Views

Hi SRAVANTHI,

I used MFXVideoENCODE_Query, it returns MFX_ERR_UNSUPPORTED, and the output of the function was zeroed.

Does it mean that the input parameter is invalid?

It's strange that in my laptop the function also returns MFX_ERR_UNSUPPORTED, is it a coincidence that encoding is successful?

0 Kudos
Sravanthi_K_Intel
319 Views

Hello Guangyi,

Thanks for following up. I am seeing similar behavior, and investigating it. I will get back to you once I have an answer for you. Going back to your initial issue -"But it will fail in the Intel pad," Can you please provide some more details - For example, does a smaller resolution video encode on your Intel pad? Also, it will help us investigate if you could use Creative Commons videos for your input (bigbuckbunny etc.,)

0 Kudos
Sravanthi_K_Intel
319 Views

Hello Guangyi,

I may have found a reason why we were observing "MFX_ERR_UNSUPPORTED" as the return status for MFXVideoENCODE_Query. When you call the query, say like, sts = mfxEncode->Query(*inParams, *outParams), make sure you set the CodecID in *outParams to MFX_CODEC_AVC (or other codec depending on your output). When you do that, the Query function returns without any error and also populates the *outParams structure. Use the *outParams structure for your Encode.

Let me know what your Intel Pad returns for your Query, and also your system details (you can get that by running the analyzer tool in tools/ in Media SDK install folder).

Thanks.

0 Kudos
Reply