views:

398

answers:

3

I need to play video file (using installed codecs) and get some file info (such as frame rate and length).

+3  A: 

Try Mitov's VideoLab

Updated: I have previously installed Mitov's "Labs" version 3.9 on Delphi 2009 without problems. Check that you are using the correct link and contact the author if there are problems for Delphi 2010.

Serg
Seems that these components are just what i need, but i cant install them. After installation there are no new components and the examples do not work. I use Delphi 2010
Astronavigator
These components are GOOD. I use them A LOT, in Delphi 2010. The examples all work too. There must be something strange going on with your installation. What exactly doesn't work in the examples? Do they compile? Do you have DirectX installed? (Try running DxDiag from the command prompt.)Contact Boian by email and he'll get you going.
Tom1952
+3  A: 

You can use 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.

Oh and its free.

Runner
+4  A: 

Hi Astronavigator,

Thank you! Please contact me at [email protected] if you have problems installing the components in Delphi 2010 ! The components are tested and support D 2010.

With best regards, Boian Mitov

Boian Mitov
Hi, Boian Mitov,I solved this problem.The problem was because installer in Windows 7 requires administrative privelages and setup.exe runs as user administrator (not as my user).And the components were registered in administrator user account.The way to solve it is to add administrative privileges to user (change user type) for installation time and chane them back after.Maybe it would be good if installer could register components for all accounts in windows 7, not only for administrative.Thanx
Astronavigator
Is there way to play .mkv files?
Astronavigator
As fire as I know DSPack will play .mkv. It is all about codecs. So I am sure that VideoLab can play them to.
Runner
DSPack does not playback .mkv files either. DSPack's example plays well .avi files, but cant play .mkv
Astronavigator
Believe it. DSPack plays mkv files if you have the right codec installed as will do VideoLab.
loursonwinny
You are right. After installing KLite, VideoLab plays .mkv well.DSPack's example shows error message, then plays well audio, and shows video in new window with title"Active Movie Window" instead of own window.Is there way to play .mkv video without error messages and in program's own window using DSPack?Media player classic home cinema plays .mkv even without klite's codecs and use 20% CP instead of 80% which are using DSPack, VideoLab and Windows Media Player.
Astronavigator