Solved

DV cam resolution problem!

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

11 Experts available now in Live!

Get 1:1 Help Now