将 WPF MediaElement 与高清(H.264、720P)视频一起使用时出现问题

发布于 2024-07-13 09:55:55 字数 190 浏览 5 评论 0原文

我正在使用媒体元素在 WPF 中渲染视频。 除 H.264 视频外,所有视频均工作正常。 它们在屏幕上渲染时存在一些卡顿问题。 我的机器配置远远超出了播放该视频的建议要求。 另一个令人惊讶的事实是,当我在 Window Media Player 或任何其他播放器中播放该视频时,视频呈现得非常好。 有任何解决方案或 MediaElement 的替代方案吗?

I am using media element to render video in WPF. All videos are working fine except H.264 videos. They have some stuttering problem while they are rendered on screen. My machine configuration is much more than the recommended requirement to play for this video. Another surprising fact is that the video renders perfectly fine when I play this in Window Media Player or any other player.
Any solution or any alternative to MediaElement?

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

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

发布评论

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

评论(2

疑心病 2024-07-20 09:55:56

您可以在这里尝试我的开源项目中的 MediaUriElement: http://wpfmediakit.codeplex.com

它有更好的效果媒体兼容性比 MediaElement 好,但如果是解码器过滤器问题或性能问题,我的项目将无法提供帮助。 您使用什么 h264 编解码器。 您可能想尝试 http://ffdshow-tryout.sourceforge.net/ 中的 ffdshow。

-杰尔

You can try my MediaUriElement from my open source project here: http://wpfmediakit.codeplex.com

It has better media compatibility than MediaElement, but if it's a decoder filter problem or a performance problem, my project won't be able to help. What h264 codec are you using. You may want to try out ffdshow from http://ffdshow-tryout.sourceforge.net/.

-Jer

把人绕傻吧 2024-07-20 09:55:56

WPF 不支持 H.264 视频

WPF does not support H.264 videos

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