Solved

DV cam resolution problem!

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
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.
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 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