views:

844

answers:

3

I am using media element to render video in WPF. All videos are working fine except H.264 videos. They have some stuttering problem while they are rendered on screen. My machine configuration is much more than the recommended requirement to play for this video. Another surprising fact is that the video renders perfectly fine when I play this in Window Media Player or any other player. Any solution or any alternative to MediaElement?

+1  A: 

WPF does not support H.264 videos

+1  A: 

You can try my MediaUriElement from my open source project here: http://wpfmediakit.codeplex.com

It has better media compatibility than MediaElement, but if it's a decoder filter problem or a performance problem, my project won't be able to help. What h264 codec are you using. You may want to try out ffdshow from http://ffdshow-tryout.sourceforge.net/.

-Jer

Jeremiah Morrill
A: 

I'm using a free K-Lite Codec Pack codecs and plays any video file in MediaElement. But I'm suffering other problem - video rendering is freezing after some period if time on continious playback and might the codec is the problem.

Sergey K.