Here's the MSFT response: The .avi file may contain video encoded using a codec that is not supported out of the box. If this is the case you will need to write your own video decoder that will plug into the media pipeline. Video decoders
are written for Media Foundation using Media Foundation Transforms (MFTs). An example of writing an MFT can be found in the sample that I provided. Keep in mind that it can be very difficult to write an MFT. We expect that developers writing
MFTs are familiar with how codecs work and how Digital Signal Processors (DSPs) work.
What I want to know: Is it
possible to write an FLV decoder as an MFT for the MediaElement that will work in Metro apps? Nevermind that is may be hard or whatever, is it possible to extend the codecs that are supported such that I could add a mediaElement
that can play FLV?
Encoding is not an option because the files that my app is expected to play come from YouTube and only about 50% of the videos on the site can be played with HTML5, the rest require Flash to play.
We need FLV support or at least some way for developers to support the FLV format in MediaElement in order to write apps that can consume media from popular video sharing sites.