Solved

DV cam resolution problem!

Posted on 2003-11-19
4
394 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

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

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

863 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

25 Experts available now in Live!

Get 1:1 Help Now