WPF媒体播放器无法显示 [英] wpf media player cant displayed

查看:103
本文介绍了WPF媒体播放器无法显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我在CSharp.NET WPF prpject中使用MediaElement创建了一个媒体播放器.当我执行此项目时,它没有任何错误,但是当我打开任何视频时,任何播放的视频或媒体元素都无法显示.总共显示空白空间.

谁能解决这个问题

我的错误是什么?



I was created a Media player with MediaElement in CSharp.NET WPF prpject. When i execute this project it doesn''t gives any error but when i open any video any plays video or media element cant displays. total empty blank space displays.

can any one solve this problem

what is my mistake

推荐答案

检查您的编解码器-是否为要显示的视频类型加载了适当的编解码器?尝试使用其他视频文件类型,然后查看是否可行.如果是这样,那么您可能需要加载或更新编解码器包.
Check your Codecs - do you have the appropriate ones loaded for the video type you are trying to display? Try a different video file type, and see if that works. If it does, then you probably need to load or update your codec pack.


这篇关于WPF媒体播放器无法显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆