I think you misunderstood. The device isn't a new type, it's simply a USB frame 
grabber of type CLSID_VideoInputDeviceCategory. What it *does* have is multiple 
input channels (4 separate video inputs: Composite, Component, S-Video and SDI).

>From looking at the source code, it looks like you had anticipated this:

Sub Add(dev As DirectShowMonikerMBS, type as String)

   // Microsoft calls it Displayname, but it looks more like some UniqueID
  dim DisplayName as string = dev.DisplayName
  
 // check subobjects
  dim e as DirectShowEnumMonikerMBS = dev.EnumMonikers(true)
  
  if e<>Nil then // there could be components of a composite moniker.
    List.AddFolder DisplayName
  else
    List.AddRow DisplayName
  end if
 
</snip>
  
...where "e" would return with some list of input channels that could then be 
enumerated through using ".NextObject" (although you never actually wrote that 
code). 

>From what I see, dev.EnumMonikers(true) *always* returns Nil, so there is no 
>way for me to list (or access) the individual inputs on this device. 
>Essentially the frame grabber code defaults to the first input (composite 
>video) with no obvious way to get at the others...

Am I missing something?

-bill k


On Sep 6, 2012, at 1:39 PM, Christian Schmitz <[email protected]> 
wrote:

> 
> Am 06.09.2012 um 19:53 schrieb William Koperwhats <[email protected]>:
> 
>> Christian,
>> 
>> In your DirectShow List Devices example code you built in functionality (in 
>> the "Add" method) for composite input devices. I've tested this on a 
>> Honestech 28285 based USB frame grabber with 4 different inputs (Composite, 
>> S-Video, Component and SDI) and "e" (line 5) always returns Nil. I'm 
>> wondering if this is a bug or am I missing something?
> 
> 
> I simply added all types there. No idea what Microsoft actually uses today.
> 
> Greetings
> Christian
> 
> -- 
> Check out the Omega Bundle:
> 
> http://www.omegabundle.com/
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to