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.
3083 Discussions

Can I use both MFXInit and MFXLoad in one application?

parksh
New Contributor I
2,069 Views

CPU : 12th Gen Intel(R) Core(TM) i7-12700 2.10 GHz
OS : Windows Server 2022 Standard
Version : 21H2
GPU : Intel(R) UHD Graphics 770


I am using the Intel Media SDK application. (Intel Media Server Studio 2014)
인텔 미디어 SDK 응용프로그램 사용 중입니다.
I just bought a 12th gen CPU.
12세대 CPU를 구매 하였습니다.

Due to backward compatibility, older versions must also be available.
이전 버전과의 호환성으로 인해 이전 버전도 사용할 수 있어야 합니다.

Application is using self-developed DecodePlugin for decoding mpeg4 codec
응용프로그램에서 mpeg4 코덱 디코딩을 위한 자체 개발 DecodePlugin 사용 중입니다

하나에 응용프로그램에서 MFXInit, MFXLoad 선택적으로 같이 사용 할 수 있나요?
Can MFXInit and MFXLoad be selectively used together in one application?

 

ex)

if INPUT CODEC  == "MPEG4"

    MFXInit();

else

    MFXLoad();

 

Thank you

0 Kudos
11 Replies
Rahila_T_Intel
Employee
2,044 Views

Hi,


Thanks for posting in Intel communities.


According to the below release notes https://github.com/oneapi-src/oneVPL/releases ,

MFXInit() and MFXInitEx() functions have been deprecated in the 2.0 oneVPL Specification. Use MFXLoad() instead. 

  • If initialized with MFXInit() or MFXInitEx(), support is limited to the 1.x API and will load Intel(R) Media SDK hardware library rather than oneVPL hardware library.
  • For legacy GPU hardware enabled by Intel(R) Media SDK, only API features up to 1.35 are available, even when initialized with MFXLoad.

For more details, see Upgrading from Intel® Media SDK to Intel® oneAPI Video Processing Library.

 

Thanks


0 Kudos
parksh
New Contributor I
2,004 Views
Thank you for answer

12th gen CPU(i7-12700, UHD Graphics 770) User plugins should be used for compatibility

User plugins cannot be used when using MFXLoad()
--> User plugins architecture. -> legacy

Can I use Intel Media SDK and oneVPL together?

ex)
if INPUT CODEC == "MPEG4"
MFXInit(); user plugin load
else
MFXLoad();

Is there any way to use a user plugin using oneVPL 2.0 MFXLoad()?

Thank you in advance.
0 Kudos
Rahila_T_Intel
Employee
1,977 Views

Hi,


Please find the below answers to your queries:


1 ) Whether he can use Intel Media SDK and oneVPL together?

Ans : Can't use MSDK and VPL together – recommend upgrading to VPL

2) Is there any way to use a user plugin using oneVPL 2.0 MFXLoad()?

Ans : Plugins are not supported in VPL


If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. 


Thanks


0 Kudos
Rahila_T_Intel
Employee
1,917 Views

Hi,


We have not heard back from you. Could you please give us an update?


Thanks


0 Kudos
parksh
New Contributor I
1,903 Views

I'm sorry for late reply

 

I understood that I need to upgrade to VPL

In the past, MPEG-4 codec decoding plug-in was used as a user plug-in for MPEG-4 codec decoding.

 

Plugins are not supported in VPL.

Is there any way to do MPEG-4 codec decoding using VPL?

 

MPEG-4 Video Codec Sample
    - MPEG-4 Visual(DIVX)
    - MPEG-4 Visual(mp4v-20)
    - MPEG-4 Visual(xvid)

0 Kudos
Rahila_T_Intel
Employee
1,870 Views

Hi,


VPL only supports elementary stream formats (with the exception of IVF, where the minimal support needed is provided for VP9 and AV1 since they otherwise would not have complete metadata.) For MPEG-4 and other container support, we recommend using industry-standard frameworks such as FFmpeg. If you wants to use VPL for MPEG-4 decoding, you have to use a splitter(container->elementary) like FFmpeg on MPEG-4 and pass the elementary stream to VPL decoder. VPL doesn't take care of split and musk stages.


Thanks


0 Kudos
parksh
New Contributor I
1,860 Views
Thank you for your reply.

I try upgrade to oneVPL.
0 Kudos
parksh
New Contributor I
1,782 Views

Can I get a sample code that delivers the stream to the VPL decoder?

0 Kudos
Rahila_T_Intel
Employee
1,851 Views

Hi,


Hope your query got clarified.

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. 


Could you please confirm whether we can close the case.


Thanks


0 Kudos
parksh
New Contributor I
1,846 Views
Yes, I have confirm.

You may close the case.

Thanks again for your help.

 

0 Kudos
Rahila_T_Intel
Employee
1,837 Views

Hi,


Thanks for the confirmation.


Glad to know that your query is resolved. If you need further assistance, please post a new question as this thread will no longer be monitored by Intel.


Thanks


0 Kudos
Reply