Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 2 Jun 2008 13:16:16 -0700 (PDT),    group: microsoft.public.win32.programmer.directx.sdk        back       


common config of capture sources?   
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
date: Mon, 2 Jun 2008 13:16:16 -0700 (PDT)   author:   mike

Re: common config of capture sources?   
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
date: Mon, 2 Jun 2008 14:24:02 -0600   author:   The March Hare [MVP] erland

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us