开发者

WPF MediaElement, change decoder

开发者 https://www.devze.com 2023-03-09 04:50 出处:网络
Is it possible to configure MediaElement for changing decode开发者_C百科r for certain av stream? for example, you\'ve installed two different h264 decoders one is free and another is commercial, your

Is it possible to configure MediaElement for changing decode开发者_C百科r for certain av stream? for example, you've installed two different h264 decoders one is free and another is commercial, your program can just use free one.

thanks


You cannot do this programmatically through MediaElement. It uses the Windows Media Player OCX control which in turn is using MediaFoundation to decode. There's an app out there that lets you choose which containers MediaFoundation should attempt to decode, so you can potentially override MediaFoundation with something like ffdshow. Theoretically you could utilize the same methodology but it would be a system-wide change.

0

精彩评论

暂无评论...
验证码 换一张
取 消