Re: avssamp input pin



On Oct 20, 11:07 pm, scout...@xxxxxxxxx wrote:
On Oct 20, 8:22 pm, Tim Roberts <t...@xxxxxxxxx> wrote:





scout...@xxxxxxxxx wrote:

I am trying to add a video input pin to the avssamp based driver.
...
Created custom guid and added required registry keys into inf file:
HKLM,System\CurrentControlSet\Control\MediaCategories\%VideoInPinGUID%
HKLM,System\CurrentControlSet\Control\MediaCategories\%VideoInPinGUID
%,Name,,%VideoInPinName%
VideoInPinName is "Video In"

After installing the filter and checkinf it in the GraphEdit, I see
that there is no input pin in the tree view of the add filter dialog,
but when I add the filter to the graph it shows me that there is an
input pin named "Input1".

Can somebody explain me what I am doing wrong?

Did you set the name in the KSPIN_DESCRIPTOR_EX? Did you set
InstancesNecessary? Do you have a category set? (You may not want one.)

Brief explanation of what I am trying to:
A virtual video capture driver, that streams data from existing direct
show filter.

What is the point? If you have a DirectShow source filter that produces
frames, just register it in CLSID_VideoInputDeviceCategory and it will be
seen as a capture device.
--
Tim Roberts, t...@xxxxxxxxx
Providenza & Boekelheide, Inc.- Hide quoted text -

- Show quoted text -

Thank you Tim,

I have to clear avssamp provided inf file in order to get it right.
Interesting suggestion about CLSID_VideoInputDeviceCategory.
My filter is push source with audio and video output pins.

How can I register it under CLSID_VideoInputDeviceCategory category?

Regards,
scout.- Hide quoted text -

- Show quoted text -

I got it thanks.

.



Relevant Pages

  • Re: avssamp input pin
    ... VideoInPinName is "Video In" ... that there is no input pin in the tree view of the add filter dialog, ... How can I register it under CLSID_VideoInputDeviceCategory category? ...
    (microsoft.public.development.device.drivers)
  • Re: Wrap a Source Filter in another source filter
    ... I had already got a source filter from the manufacturer ... "Video Capture Source". ... filter (you do not need to register the pins in REGFILTER2). ... SampleGrabber and use the external downstream allocator as ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Regsvr32 problem for my in-place transform filter
    ... > I have my in-place transform filter to convert video to B&W. ... > register the filter, the filter's path will be set to the path of the ... step?, give the exact command you are using, are you giving the full path ...
    (microsoft.public.win32.programmer.directx.video)
  • Regsvr32 problem for my in-place transform filter
    ... I have my in-place transform filter to convert video to B&W. ... register the filter, the filter's path will be set to the path of the ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Filter GUIDs for multiple adapters
    ... application I believe that I must create a new GUID for the filter exposed ... If that is correct how can the INF file generate a new GUID (since I ... that the INF file must register the filter interface - and probably write ...
    (microsoft.public.development.device.drivers)