如何使用C#代码播放wmv文件太慢 [英] How to play wmv file too slow using C# code
本文介绍了如何使用C#代码播放wmv文件太慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的所有人
如何使用C#太慢地播放任何wmv视频文件?请任何人解释我.非常感谢
问候
ak.naser
Dear All
How to play any wmv video file too slowly using C#? Please any one explain me. thanks a lot
regard
ak.naser
推荐答案
您可以在Windows窗体应用程序中使用COM Windows Media Player控件:
Hi,
You can use a COM Windows Media Player control in a Windows Form application :
axWindowsMediaPlayer1.URL = @"D:\Data\krishna.wmv";
axWindowsMediaPlayer1.settings.rate=2.3;
axWindowsMediaPlayer1.Ctlcontrols.play();
此处,速率"用于设置视频的速度.默认值为1,这是正常值.
要降低其速度,请将比率"设置为小于1但大于0,例如0.2、0.4等.
为了加快速度,请将比率"设置为大于1
Here "rate" is used to set speed of the video. Default value is 1 which is normal.
To slow down its speed set "rate" to less than 1 but greater than 0 like 0.2, 0.4 etc.
To speed up set "rate" to greater than 1
http: //www.informit.com/articles/article.aspx?p=101752 [
http://www.informit.com/articles/article.aspx?p=101752[^]
check this article
WMP SDK将允许播放wmv文件.至于速度有一个用于调整播放速率的属性(我猜是Rate),可以用来调整播放速度.
WMP SDK will allow to to play wmv file. and as for the speed. there is a property for adjusting the playback rate(Rate i guess) it can be used to adjust the play speed.
这篇关于如何使用C#代码播放wmv文件太慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文