Solved

Video for Windows preview very slow

Posted on 2000-03-22
5
251 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Memory leak using records in a TVirtualStringTree 11 109
Activex get website that activex running on 3 85
Intraweb download file link ? 1 105
Multiple image collision 13 69
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now