Why is WPF MediaElement not showing my DivX Video?

I have a simple WPF with a MediaElement that generally works. I have some simple AVI and WMV that work.

I have a DivX AVI that works fine in Media Player, but doesn't show up at all in the WPF MediaElement control. It plays audio just fine, but graphically has zero size and doesn't display video!

I tried to use WPF Media Kit on page wpfmediakit.codeplex.com and managed to learn from this mistake Could not render any streams from the source Uri

.

RenderCapability.Tier reports 0x00020000

(Level 2) - Graphics card must be capable!

+2


source to share


2 answers


Are you running x64 operating system? If this compile your application as x86 instead of any processor. This ensures that your application can load the most likely 32-bit DirectShow filters.



+2


source


You need to use a codec that WPF supports. DivX doesn't work.



+1


source







All Articles