开发者

Playing Video in DirectX (WPF)

开发者 https://www.devze.com 2023-02-23 09:15 出处:网络
I have a WPF 4/VB.net project, and I\'m trying to play video in it. I\'ve been using a mediaelement, much to the chagrin of the program\'s overall performance. Thus, I\'m looking into the only other v

I have a WPF 4/VB.net project, and I'm trying to play video in it. I've been using a mediaelement, much to the chagrin of the program's overall performance. Thus, I'm looking into the only other viable alternative that I can find for my project...directx.

Whic开发者_如何学Ch brings me to my question. Is it possible to play video (either Theora [.ogv] or Flash Video [.flv]) in DirectX? If so, how?

Thank you in advance!


The Mediaelements Performance is not so bad and dependent on Codec. Mediaelement can also Play all Formats if you have required Codecs installed.

I have a DirectX Video Player written in VB.Net (without WPF).I used the DirectX SDK. But the methods are highly error prone.

To play your Videoformats, you can install a Codec-Pack e.g. K-Lite with FFDshow (highly recommended)

0

精彩评论

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