[英]Where can I find a free/opensource Delphi multimedia component?
I was in a project where I must be able to play almost audio/video files (format).我在一个项目中,我必须能够播放几乎音频/视频文件(格式)。
.mkv (matroska, optional) .mkv(matroska,可选)
.mp3 (you probably know this) .mp3(你可能知道这个)
I already have all of the above codecs installed and working perfect on my system (tried it with WMP 10, Media Player Classic Home Cinema, VLC & Zoom Player).我已经安装了上述所有编解码器,并且在我的系统上完美运行(使用 WMP 10、Media Player Classic Home Cinema、VLC 和 Zoom Player 进行了尝试)。
And I have already tried the basic TMediaPlayer but can't work on other beside.avi for video, then i grab DSPack but it can't play.avi (xvid/divx) nor.mkv, i grab VLC but it's only gave me more headache because it was only ActiveX wrapper (no pure vcl component).而且我已经尝试过基本的 TMediaPlayer 但无法在其他 beside.avi 上播放视频,然后我抓取 DSPack 但它无法播放.avi (xvid/divx) nor.mkv,我抓取 VLC 但它只给了我更令人头疼,因为它只是 ActiveX 包装器(没有纯 vcl 组件)。
Can someone suggest another component?有人可以建议另一个组件吗? Free or open source would be preferred.
免费或开源将是首选。
Edit: I already solve issue with DSPack, it looks like I have to use always FDDShow for video playing using DSPack.编辑:我已经解决了 DSPack 的问题,看起来我必须始终使用 FDDShow 来使用 DSPack 播放视频。
You can import the WMP 10 ActiveX control (Component->Import Component menu item), and then embed WMP into your application.您可以导入 WMP 10 ActiveX 控件(Component->Import Component 菜单项),然后将 WMP 嵌入到您的应用程序中。
Since it's part of the operating system, can't get any more free than that;由于它是操作系统的一部分,因此没有比这更免费的了; if you can run your Delphi app, the OS is there.
如果您可以运行 Delphi 应用程序,那么操作系统就在那里。 :-)
:-)
DSPack was going to be my suggestion. DSPack 将成为我的建议。 I'm not sure what problems you had with DivX - I've used the free DivX codec with a DSPack-based program for years.
我不确定您在使用 DivX 时遇到了什么问题 - 我多年来一直使用免费的 DivX 编解码器和基于 DSPack 的程序。 FFDShow looks like a promising solution, too, although I've experienced problems with the quality of playback (tearing, low frame rates, instability when playing for a long periond, etc.) for some types of files.
FFDShow 看起来也是一个很有前途的解决方案,尽管我遇到了某些类型文件的播放质量问题(撕裂、低帧速率、长时间播放时不稳定等)。 The video hardware and drivers are also very important, and unless you're supplying the complete hardware, software and image package, the users of your program may run into different problems in terms of the subjective acceptability (to them) of the playback.
视频硬件和驱动程序也很重要,除非您提供完整的硬件、软件和图像 package,否则您的程序的用户可能会在播放的主观接受度(对他们)方面遇到不同的问题。 Keep that in mind - codec versions are important, driver versions are crucial, and some hardware just doesn't work right, no matter what the manufacturer says.
请记住这一点 - 编解码器版本很重要,驱动程序版本很重要,而且无论制造商怎么说,某些硬件都无法正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.