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
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.
mardi 17 avril 2012 22:12Modérateur
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
Real-time communication sample
I hope this helps,
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