Playing Video in DirectX (WPF)
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)
精彩评论