C# 中的 WMP 播放速率

发布于 2024-08-11 23:27:04 字数 119 浏览 2 评论 0原文

我在 Windows 应用程序中使用 wmp。我想改变播放速度。 对于某些类型的文件是可能的,例如; .avi。但对于某些类型来说这是不可能的,例如; wmv、mpeg 等。还有其他方法可以更改速率吗?拜托,很紧急。提前感谢

I am using wmp in my windows application. I want to change the rate of the play speed.
It is possible for some type of files e.g; avi. But its not possible for some types, eg; wmv,mpeg etc. Is there any other way to change rate. Please, its urgent. Thanx in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

じее 2024-08-18 23:27:04

这是可能的,但是您选择使用 Windows Media Player 将限制您的选择。 Windows Media Player 使用非常简单的图形过滤器来控制播放。这将使得无法更改需要更复杂过滤器的格式的速率。更改速率的一般方法是重复或丢弃视频中的帧。

我不确定 wmv,但如果我没记错的话,wmv 只是像 AVI 一样的容器格式,因此使用的 graphfilter 因文件而异。

mpeg 有 3 种帧。只有 i 帧是完整的。 p 和 b 帧不是这样,因此您无法真正重复或轻松删除帧。

不知道如何帮助您解决此问题,但如果您使用 directshow,您将有更好的选择,以便您可以更改图形过滤器以重复/丢弃帧。

Its possible, but your choice of using windows media player will limit your choices. Windows media player uses a very simple graphfilter to control playback. This will make it impossible to change the rate for formats which require more complex filters. The general way to change the rate is to either repeat or drop frames in the video.

I am not sure about wmv, but if memory serves me right, wmv is just a container format like AVI, so the graphfilter that is used varies from file to file.

mpeg has 3 kinds of frames. only the i frame is complete. the p and b frames are not so you cant really repeat or drop the frames easily.

Dont know how to help you with this, but you will have better choices if your using directshow so that you can change graphfilters to duplicate/drop frames.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文