I'm working on a client app that enumerates the devices under the video capture category that will allow someone to pick which capture device they wish to use on their machine. However, we need to accept only a fixed size (240x180). Is there a common property to look for in capture devices that can look at/set their width/height? Or, should I look to build some type of resize filter that will take a varity type of input and downsample to the 240x180 we need. Any ideas or suggestions will be appreciated. Thanks, Mike
On Mon, 2 Jun 2008 13:16:16 -0700 (PDT), mike wrote: > Is there a common property to look for > in capture devices that can look at/set their width/height? Or, > should I look to build some type of resize filter that will take a > varity type of input and downsample to the 240x180 we need. See IAMStreamConfig in the SDK docs to check what resolutions a capture device supports. Not all with support 240x180 so you will need to implement a filter if you want to enforce this resolution. Note: the ../video newsgroup is more appropriate for dshow questions. See the link below for more information. -- Please read this before replying: 1. Dshow & posting help: http://tmhare.mvps.org/help.htm 2. Trim & respond inline (please don't top post or snip everything) 3. Benefit others: follow up if you are helped or you found a solution