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.

Implementing Intel Filters & Media Sdk

Praveen1
Beginner
1,548 Views

Hi,

I have aquery with reference to checking of our product (EditBox) with"Intel-media-sdk". As mention above, we are using Third party MPEG Encoder and Decoder Directshow filter components. How will we be able to test the Filter component of "Media-SDK" with our product DirectShow based implementation?We have found the "media-sdk" output stream of decoder filter as "NV12", which we are unable to connect with "Video Renderer" etc.

We would like to use Intel Filters, please provide us the steps to implement the same.

Cheers!

Praveen

0 Kudos
7 Replies
Viacheslav_K_Intel
1,548 Views

Hi Praveen,

To develop your own DirectShow filters with Media SDKyou can usea sample from our product. I recommend you to build a sample filters to perform some initial testing. Could you please provide more info on the environment you are working in?What OS are you using? What type of media datayou have (MPEG2, AVC)?

You are right, our decoder filter provides NV12 data, and this data is not acceptable by VideoRenderer.You should connect decoder toVideo Mixing Renderer filter to successfully build a graph. Do you use GraphEdit application to build filters graph manually?

Thanks.

Slava.

0 Kudos
makarandraut
Beginner
1,548 Views
Hi Slava As per your suggestion I tried to play a MPEG-2 file using Intel's Media SDK MPEG-2 decoder in GraphEdit, The Filter gets Connect with Multiplexer, But graph can not connect the Output pin of the Intel's Media SDK MPEG-2 decoder ( because of 'NV12' ) with any of the Renderer ( Video Renderer and Video Mixing Renderer either VMR -7 or VMR -9 ). Will you please mention any other way to do so. I have tried same thing on Windows 7 Operating system but the result is the same with all the available Video Renderer and Video Mixing Renderers including 'Enhanced Video Renderer' Regards Makarand
0 Kudos
Viacheslav_K_Intel
1,543 Views

Hi Makarand,

This could happen becausesystem is unable to locate Media SDK library. Please make sure that libmfxdlls are accessible thru the PATH environment variable orlie in the current/working folder.

If library is accessible, and decoder filter still fails to connect, you may try to debug our sample filters to get more information. Could you please tell me if it helps?

Slava

0 Kudos
makarandraut
Beginner
1,543 Views
Hi Slava, Thanks for your help. As you mentioned I installed Intel Media SDK on my Windows 7 system. I tried to playback a MPEG-2 file in GraphEdit using Intel Media SDK decoder filter and Video Mixing Renderer Filter , and It connects and run successfully. Now in the second situation I wish to connect Intel Media SDK MPEG-2 Encoder filter to one of my capture Filter. This filter gives me output streams in RGB555, RGB24, YUY2, YVU9 and I420 Video SubFormat. But Encoder does not connect. As per the help Encoder Needs 'MEDIASUBTYPE_YV12' input format. Will you please suggest any way to connect both the filters? or are there any configuration settings for the input streams of encoder? Regards Makarand Raut
0 Kudos
Viacheslav_K_Intel
1,543 Views

Hi Makarand,

In this situation you need to find / develop an appropriate Color Space Converter filter to convert Capture filter's output format to NV12. Please note that NV12 is the only acceptable format for Intel Media SDK encoders. YV12 is mentioned in pin type info by mistake and doesn't affect functionality, it is fixed in the latest release.

Slava.

0 Kudos
Praveen1
Beginner
1,543 Views

Hi Salva,

Does the current media sdk hassupport to those formats which makarand had mentioned?

~ Praveen
0 Kudos
Viacheslav_K_Intel
1,546 Views
Hi Praveen!

Yes.

You can check the list ofsupported formats in the Intel Media SDK product manual "Video Preprocessing" section.
To enable this support in DirectShow filters please see our post here.

Slava
0 Kudos
Reply