Solved

DV cam resolution problem!

Posted on 2003-11-19
4
395 Views
Last Modified: 2013-12-08
Hi!

I have this assignment to make a program that displays a video stream from a DV camera (using firewire). I found a great sample in the DX SDK called StillCap and used the same functions for initialization of the camera. Everything seems ok at first; a 720x576 video window is displayed and still capture works too. The problem comes up when I run my application on a laptop. Now the resolution is 360x288, thus half of the DV PAL standard size. My first guess was that the hardware (P2-400 MHz and 8MB video memory) was too old to handle such high resolution video streams, but I'm not sure that is the problem here. I've tested it on a 1GHz-laptop too, with the same result. Shouldn't 1GHz be enough?

My question is; WHAT causes DirectShow to SHRINK the video resolution?

Please note that it is impossible to change the resolution on this DV camera (Microsoft's reference program (amcap.exe) cannot change the resolution either). I have also tried to stretch the video window, but that is an unacceptable solution since I really need a real 720x576 bitmap for this assignment.

Please help!

/Chris
0
Comment
Question by:znakeeye
  • 2
4 Comments
 

Expert Comment

by:nicknzmaddog
ID: 10108059
Hey Chris,

Having the same problem, on my PC too (xeon) the default image size into windows xp via DV firewire is 360x288 not 720x576. Using the default image capture application on XP, it grabs the images at 360x288, however on other similar spec machines it works fine at 720x576. Not sure why mine is any different!

Did you have any solution to your problem? If so would greatly appreciate your knowledge!!

Cheers, Nick
0
 

Accepted Solution

by:
znakeeye earned 0 total points
ID: 10108277
Hi Nick!

Yes, I solved it! It took me some time to find the information I needed, due to Microsoft's poor documentation!
Best tip ever: Use Google Groups when MSDN won't help you!

http://groups.google.se/groups?q=directx+360x288+720x576+problem&hl=sv&lr=&ie=UTF-8&oe=UTF-8&selm=60bdcfb9.0109062314.12967fdf%40posting.google.com&rnum=1

Regards, Chris!
0
 

Expert Comment

by:nicknzmaddog
ID: 10108540
Excellent, worked a treat. Thanks heaps for that.

Have seen tonnes of forums around the net with people talking about various problems that seems to be a result of this, we should post that google link everywhere!

Cheers, much appreciated!

Nick
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 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