开发者

MediaElement plays video, but no video shows

开发者 https://www.devze.com 2022-12-20 10:21 出处:网络
I can open a video, play it and get position and set position, but nothing shows up in the video window on one pc. The code 开发者_Python百科works fine a on a couple of PCs, but doesn\'t work on anoth

I can open a video, play it and get position and set position, but nothing shows up in the video window on one pc. The code 开发者_Python百科works fine a on a couple of PCs, but doesn't work on another. Does any one know or can refer me to what files I need to properly run MediaElement on XP pro.

Thanks, Rob


You need at least Windows Media Player 10 or above to be able to use MediaElement properly. A default installation of Win XP doesn't include that. Vista and Win 7 does, however.


What media files you are trying to playback? To play the non just wmv files in WPF you need to have a codecs installed.

Your behavior is very strange and I have similar problem but only when WPF player have been played for a many hours and video renderer stops render the video w/o any error reporting.

I could advise you to install the codecs (or re-install, if you have them already installed). Try to use ffdshow + Haali Media Splitter. This combination allows me to play any media type. And do not install the K-Lite Codec Pack, seems I have my own problem with freezing media because of using it.

0

精彩评论

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

关注公众号