让MediaElement的支持更多的视频codeCS更多、视频、MediaElement、codeCS

2023-09-02 01:48:00 作者:心系你!

有没有一种方法,使的MediaElement 支持更多的视频codeCS像 MKV FLV MOV 等?如果没有,是否有支持更多的视频codeCS任何其他控制?

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

推荐答案

你见过播放器框架? 这是一个开源的组件支持Windows 8,微软媒体平台的一部分,由微软开发。 这是一个替代标准的的MediaElement 的控制,并提供了一​​个插件机制。 我不知道您是否可以通过这种机制虽然支持额外的codeCS。

Have you seen the Player Framework? It's an open source component supporting Windows 8, part of the Microsoft Media Platform, and developed by Microsoft. It's an alternative to the standard MediaElement control, and provides a plug-in mechanism. I'm not sure whether you can support extra codecs through this mechanism though.

除此之外,您还可以扩展的媒体平台(扩展名必须是用C ++编写,虽然),通过微软提供的这些样品中:

Other than that, you can also extend the media platform (the extension has to be written in C++ though) as shown in these samples provided by Microsoft:

媒体扩展样品 MediaStreamSource的媒体扩展样品 Media Extension Sample MediaStreamSource media extension sample

第二个例子是非常有趣的,因为它是一个示例媒体扩展添加的 MediaStreamSource的的机制在Silverlight。 由于这个扩展,你可以实现你自己的 MediaStreamSource的的在C#/ VB.NET提供内容给的的MediaElement 的。

The second example is very interesting as it's a sample media extension adding the MediaStreamSource mechanism as in Silverlight. Thanks to this extension you could implement your own MediaStreamSource in C#/VB.NET providing content to the MediaElement.