Link to home
Start Free TrialLog in
Avatar of Keijo
Keijo

asked on

Video for Windows preview very slow

I am working on an application that has a video-in-window display. The display adapter is Cougar Video Edition 32 MB, and I am using standard Video for Windows API calls.

The display is very slow, max. 6-7 fps regardless of how high a refresh rate I request. Each frame update also seems to freeze the application for about 0.1 seconds. I don't need to capture the video into an avi file, could something regarding the capture be disabled to speed up the preview? Any other ideas, (use Cougar's own functions or something, anyone know how?)
ASKER CERTIFIED SOLUTION
Avatar of martintr
martintr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Keijo
Keijo

ASKER

Thanks, overlay mode works a lot faster!
I am glad to be of help
I am not sure of how to do this.  I paid points to see an answer, and so if you wouldn't mind, I would like sample code on showing an .avi in windows that will run as smooth as the Media Player from Microsoft.  I can make this .avi full-screen and it runs fine, but if I run it through Delphi and TMediaplayer, it is really slow.  What can I do to get fast speeds on playing back AVI's?
I am sorry I don't remember aswering the question about play back of an avi in delphi only the Video Overlay one but that aside I will do what I ca to help.

I need more information on the avi .
i.e. the Codec it is compressed with the physical size on disk and the resolution(for example 640x480).

What version of the Windows media player are you using.

The more information you can supply the better the advise and code I can supply.

I look forward to helping.

Thank You
Martin