- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page