Solved

Video for Windows preview very slow

Posted on 2000-03-22
5
254 Views
Last Modified: 2010-04-04
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?)
0
Comment
Question by:Keijo
  • 3
5 Comments
 

Accepted Solution

by:
martintr earned 100 total points
ID: 2677031
it sounds as if you have not enabled overlay mode instead of preview mode.

Preview mode can only display at a restricted frames per sec as all information is moved through the CPU.

Overlay is real time viewing as it is direct to the screen.

I too have the couger VE card and have had no problems using Overlay mode to program real time viewing to the screen in delphi.

This is my area of expertise so bring on the questions or request specific code chunks.
 
0
 

Author Comment

by:Keijo
ID: 2679707
Thanks, overlay mode works a lot faster!
0
 

Expert Comment

by:martintr
ID: 2681724
I am glad to be of help
0
 

Expert Comment

by:perkley
ID: 2795531
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?
0
 

Expert Comment

by:martintr
ID: 2798029
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
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
error 1.1 400 Bad request idhttp delphi 18 204
Delphi selector screen 2 92
URL for downloading Google Chrome for Win XP 2 235
JAudiorecorder record freezing the app 29 83
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question