简体   繁体   English

在 Delphi 中播放视频文件的最佳方式是什么?

[英]What is the best way to play video file in Delphi?

我需要播放视频文件(使用已安装的编解码器)并获取一些文件信息(例如帧速率和长度)。

You can use DSPack .您可以使用DSPack It is well tested and used and I have used it in a couple of projects.它经过了很好的测试和使用,我已经在几个项目中使用过它。 Works very well.效果很好。 It also has a wide range of features.它还具有广泛的功能。

The updated version for Delphi 2010 can be downloaded here . Delphi 2010 的更新版本可以在这里下载

Oh and its free.哦,它是免费的。

Try Mitov's VideoLab试试 Mitov 的VideoLab

Updated : I have previously installed Mitov's "Labs" version 3.9 on Delphi 2009 without problems.更新:我之前在 Delphi 2009 上安装了 Mitov 的“实验室”版本 3.9,没有问题。 Check that you are using the correct link and contact the author if there are problems for Delphi 2010.检查您使用的 链接是否正确,如果 Delphi 2010 出现问题,请联系作者。

If you only need information on the video without actually having a need to display it, you can get all the information you listed using MediaInfo .如果您只需要有关视频的信息而实际上不需要显示它,您可以使用MediaInfo获取您列出的所有信息。 MediaInfo is free and has headers for multiple languages, including Delphi. MediaInfo 是免费的,并且有多种语言的头文件,包括 Delphi。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM