如何使用C#在Windows窗体上播放AVI文件

如何使用C#在Windows窗体上播放AVI文件

问题描述:

您好,



任何人都可以帮我解决如何使用C#在Windows窗体上播放avi视频文件。

谢谢!

Hello,

Can anyone please help me how to play avi video file on windows form using C#.
Thanks!

你试着找到什么吗?这是其中一种方法: http://boxlab.googlecode.com/svn/MergerLense /HLLense/Controls/Media/VideoPlayer.cs [ ^ ]。



您可能遇到的一个问题:Windows只附带了基本的codecs ,因此您可能需要安装所需的一切。首先,我推荐免费软件K-Lite Codec Pack:

http:// en .wikipedia.org / wiki / K-Lite_Codec_Pack [ ^ ],

http://codecguide.com/ [ ^ ]。



-SA
Did you try to find anything? This is one of the ways: http://boxlab.googlecode.com/svn/MergerLense/HandLense/Controls/Media/VideoPlayer.cs[^].

One problem you may have: Windows comes with only rudimentary set of codecs, so you may need to install all you need. First of all, I would recommend the freeware K-Lite Codec Pack:
http://en.wikipedia.org/wiki/K-Lite_Codec_Pack[^],
http://codecguide.com/[^].

—SA


您好,



看看这里:

MSDN:如何:在窗体上嵌入Windows Media Player [ ^ ]