用于播放常见视频格式的.NET或ActiveX组件
我正在寻找任何可靠的商业或免费软件组件来在 .NET 应用程序中添加视频播放支持。
尝试了许多选项和软件包,但它们似乎都不能处理常见格式的播放。
最常见的选项 - Windows Media Player ActiveX - 非常好,但需要在用户计算机上安装 WMPlayer。
MediaFoundation 似乎不适用于 XP。
DirectX AudioVideoPlayback API 有很多错误。它在一台机器上完美运行,或者在另一台机器上完全失败(安装了相同的编解码器)。
简单且可靠的东西会很棒。我还尝试过 FFOSX,它声称支持所需的功能。虽然它在 VB6 中运行良好,但在 .NET 环境中完全崩溃。
一切都部分有效或根本无效,这确实令人困惑。
任何有关我迄今为止尚未测试的可能替代方案的建议将不胜感激。
I'm looking for any reliable, commercial or freeware component to add video playback support in .NET application.
Tried numerous options and packages and none of them seem to handle playback of common formats.
The most common option - Windows Media Player ActiveX - is quite good, but requires WMPlayer to be installed on user's machine.
MediaFoundation doesn't seem to work on XP.
DirectX AudioVideoPlayback API is very buggy. It works perfectly on one machine or completely fails on another (with the same codecs being installed).
Something SIMPLE and RELIABLE would be great. I've also tried FFOSX which claims to support the required functionality. While it works perfectly in VB6, it completely crashes in .NET environment.
It's really confusing that everything works partially or doesn't work at all.
Any suggestions regarding possible alternatives I haven't tested so far would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过VLC(VideoLan 客户端)?它是一个独立的开源媒体播放器,您可以在 .net 应用程序中将其用作 ActiveX 控件 。虽然您需要验证许可证,但我认为重新分发官方二进制文件是安全的。
Have you tried VLC (VideoLan Client)? It is a self-contained, open source media player that you can use in .net applications as an ActiveX control. You will need to verify the license though, but I think it is safe to redistribute the official binaries.