Solved

Video for Windows preview very slow

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

23 Experts available now in Live!

Get 1:1 Help Now