?
Solved

Video for Windows preview very slow

Posted on 2000-03-22
5
Medium Priority
?
260 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 400 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 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