Make MediaElement support more video codecs

前端 未结 3 827
名媛妹妹
名媛妹妹 2020-12-09 20:36

Is there a way to make MediaElement support more video codecs like mkv, flv, mov etc.? If not, is there any other control

3条回答
  •  时光取名叫无心
    2020-12-09 20:56

    It seems impossible as WinRT has completely different set of API and all existing win32 based codecs won't run unless codec owners rewrite them. One long way will be to port win32 code into winrt which will require in depth knowledge of both and seems way too long to do it. Even if somehow you will find way to make existing codec work, it will not work on arm based windows 8 tablets.

    This means, there are no codecs for winrt other then Microsoft has provided.

    Your options are to convert them into h.264 video, which has become a standard as h.264 plays on all devices. Apple did great job by standardizing video. Win 7 onwards, microsoft has provided inbuilt support for h.264.

提交回复
热议问题