hi,
I am running Media foundation sample example MFPlayer to render the URL mms://.
this is getting failed with error code MF_E_INVALIDMEDIATYPE.
In GetMajorType of this Sample, type is coming as MFMediaType_Image instead of MFMediaType_Video.
1. Any reason why it coming as MFMediaType_Image even it is a video file?
2. If it come as MFMediaType_Image, how to handle it? I have tried using same code what
it is using for rendering video but got failed with ERROR 0xc00d5214 (MF_E_TOPO_UNSUPPORTED).
3. If I play same mms:// in wmplayer, it does not use Media Foundation, it uses direct show to play the same. in direct show it uses wmrender source filter which i cant use as there is no information how to use that. What actually this wmrender source filter
does? How can I use/create the same in my application?
4. I tried using topoedit for rendering the same. it throws error stating Invalid media type. I have read MMS protocol is supported in media Foundation (http://msdn.microsoft.com/en-us/library/windows/desktop/aa965244%28v=vs.85%29.aspx), than why it is getting failed in topoedit?
Please help me out for my doubts.
Best Regards,
Sharad