Solved

DV cam resolution problem!

Posted on 2003-11-19
4
397 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
[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
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

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 …
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…
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

732 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