用C#.Net播放.WMV [英] Play .WMV with C#.Net

查看:190
本文介绍了用C#.Net播放.WMV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在C#应用程序中播放一个WMV(或视频文件)。



我已经制作了软件,当我点击文件,然后打开文件菜单我选择媒体文件,但是当我点击播放,然后应该播放文件。



所以请指导我...



如果需要任何dll,请告诉我...



提前感谢

解决方案

您可以使用DirectX AudioVideoPlayback库。这不是最好的,但使用起来很简单:



http://msdn.microsoft.com/en-us/library/bb324497(VS.85).aspx


Hi I want to play a WMV (Or Video File ) in C# Application..

I Have made software in which when i click file then File menu opens then i select the media file but then when i click on play then file should be played..

so please guide me...

and if any dll is required then please tell me ...

thanks in advance

解决方案

You can use the DirectX AudioVideoPlayback library. It's not the best, but it's pretty simple to use:

http://msdn.microsoft.com/en-us/library/bb324497(VS.85).aspx

这篇关于用C#.Net播放.WMV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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