Solved

Video for Windows preview very slow

Posted on 2000-03-22
5
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

729 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