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.

Using Media SDK filters with Windows Media Player

i_am_apps
Beginner
488 Views
Hi all,

We'd like to use Media SDK on our C# application. The native media component of C# (and specifically, WPF) is Windows Media Player. How can we make sure that MP4 videos, are getting decoded and played using the Media SDK?

thanks very much for any idea!
Iamapp
0 Kudos
2 Replies
Petter_L_Intel
Employee
488 Views
Hi lamapp,

If you're interested in integrating Media SDK with C# application you will have to result to P/Invoke or similar construct. It has been discussed earlier on this forum.

Windows Media Player (WMP) already has some support for HW acceleration via DXVA, not sure it's feasible to replace the for instance the default mp4/h264 WMP decoder behavior.

Are you asking this in context of Windows Metro specific development?

Regards,
Petter
0 Kudos
i_am_apps
Beginner
488 Views
Hi Petter

thanks very much for your reply. It's not just about C#, but rather more about WPF, which allows to render the WMP video on any texture in 3D. This way we can play videos on various surfaces in space, which is what we need.

This is actually a Windows 7 project at the moment but could be moved to Metro, too. We need to use Intel Media SDK specifically and cannot use other codecs.

EDIT: I looked on the media foundation sample and saw on mf_utils a function that can be called RegisterAsWMPPlugin. Is that something we could use? What is 'plugin' means - is it a codec that WMP would use? if so, we could potentially build a C++ plugin that would wrap IMS decoder and use it in our WPF application. do you think it could work?

thanks again
Iamapp

0 Kudos
Reply