How to write an audio decoder in winrt
-
vendredi 13 avril 2012 07:00I want play ogg、flac by use MediaElement, I need to write an docoder in media foundation.
I have download the ogg decoder from http://vorbis.com/ , the decoder is writen by c
but I don't know how to transplant it to Media Foundation, is there any example for this?
Toutes les réponses
-
vendredi 13 avril 2012 22:24Modérateur
Hi Troyou,
I don't believe anything about this is specific to Metro style apps (the codec would run at a lower level) so I suspect you will find the best help in the Media Foundation Development for Windows Desktop forum.
That said, I'd start with the Codec Implementation documentation and I'll have our media specialist take a look at this on Monday.
--Rob
-
mardi 17 avril 2012 22:12Modérateur
Hello Troyou,
Rob is correct you will need to create a Media Foundation Transform (MFT) and integrate the OGG signal processing infrastructure into the MFT wrapper. If you have extensive experience writing DirectShow filters this should be a relatively obvious conversation. If you aren't familiar with the Microsoft media stack then you will have a very steep learning curve that you will need to overcome. We do have some excellent samples that show how to construct simple MFTs for use in the Metro environment. You can find the samples here:
Media capture using webcam sample
http://code.msdn.microsoft.com/windowsapps/Media-Capture-Sample-adf87622
Real-time communication sample
http://code.msdn.microsoft.com/windowsapps/Simple-Communication-Sample-eac73290I hope this helps,
James
Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/
- Marqué comme réponse James Dailey - MSFTMicrosoft Employee, Moderator mardi 17 avril 2012 22:12

