avssamp input pin

device driver

    Sponsored Links

    Next

  • 1. Processor affinity funcitons in WDM
    > do this in wdm environment? We have a call in our original driver > that assigns all dpcs to run on the first processor of the system. > This corrects some coherancy problems that we have been battling. Ugly design. It is much better to review the code and fix the locking problems. > ideas on how to do this in WDM? We recently had the "WDM.H vs. NTDDK.H" discussion. The best solution suggested was - just include NTDDK.H and not WDM.H
  • 2. PCI system error “SERR”, windbg
    IIRC SERR is a hard fatal error on PCI bus, which causes machine crash. "Daniel" < XXXX@XXXXX.COM > wrote in message news:624b01c37d36$e1dc6810$ XXXX@XXXXX.COM ... > Hi, > After a system crash, windbg can break and connect to the > target computer. > In my case, the system hangs and windbg can not break or > connect. > I did few tests and I found that if there was a PCI bus > error “SERR” the computer hangs and windbg can not break > or connect to the target computer. Also, if a driver’s ISR > does “__asm cli;” and loops forever, windbg can not break > or connect. Why? > ISR () > { > __asm cli; > while(1); > } > > How can the software detect an SERR? Is there an interrupt > handler for SERR that can be hooked? > Are there other known cases where windbg can not break or > connect to the target computer? > > Thanks, > > Daniel >
  • 3. How to obtain routing table information from TDI client driver?
    Hi, I am a newbie in Windows network driver programming. I have been fiddling with the sample drivers provided in the Win XP DDK. I think I have a cursory understanding of how the various layers (NDIS, TDI) interact with each other. I am tasked to write a portion of a TDI client driver that is capable of manipulating the routing table information in the TCP/IP protocol driver. I do not have the choice of implementing this in user mode as this is going to be a small portion of a bigger TDI client driver. I searched the Web and the only relevant information I have found is in PCAUSA's Advanced TDI driver sources. I was not able to find anything in the MSDN library. Does any one know how to formulate a TDI_QUERY_INFORMATION request IRP to be passed to the TCP/IP protocol driver to get routing table information? And in what format does the routing table information gets returned? Thanks a lot in advance! /Swee

avssamp input pin

Postby scout119 » Sun, 21 Oct 2007 23:36:19 GMT

Hi,

I am trying to add a video input pin to the avssamp based driver.

I have duplicated Video Capture pin template and pin descriptor.
Changed data flow to be KSPIN_DATAFLOW_IN and set flags to:
KSPIN_FLAG_SOME_FRAMES_REQUIRED_FOR_PROCESSING |
KSPIN_FLAG_INITIATE_PROCESSING_ON_EVERY_ARRIVAL |
KSPIN_FLAG_PROCESS_IN_RUN_STATE_ONLY

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?

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

Thank you,
scout.


Re: avssamp input pin

Postby Tim Roberts » Mon, 22 Oct 2007 09:22:21 GMT



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.)


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,  XXXX@XXXXX.COM 
Providenza & Boekelheide, Inc.

Re: avssamp input pin

Postby scout119 » Mon, 22 Oct 2007 12:07:37 GMT





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.


Re: avssamp input pin

Postby scout119 » Mon, 22 Oct 2007 14:59:26 GMT






I got it thanks.


Similar Threads:

1.EV_MSC / driver/input/input.c (Input Handler)

2.How to let sysaudio.sys recognize the avssamp filter's audio pin?

Hi there,

I develop my a/v driver base on WDK 6000 src/avstream/avssamp. In the sample, 
the filter has two output pins, one is video pin, another is audio pin.
After install the driver, I can find this filter appears under "video 
capture source" of  Graphedit.exe. I wonder know whether it possible to let 
audio pin also list under "audio capture sources" . 
I knew it can be done by MSVAD, but it is more simple for me that just 
expose the audio pin to "audio capture sources",

thanks, 

Eric

3.avstream avssamp example freeze system

Hello.
Using matlab+simulink (under mex setup VS2005) as a client application for 
capturing video from DDK sample avssamp totally freeze windows (Vista, XP). 
The mouse cursor doesn't move, nothing is move at all.
At the same time Avssamp is fine when capturing with Amcap, and fine if 
matlab mex setup is VS2003.NET, also matlab is fine with vs2005 when 
captureing from webcamera...

Tried using avsamp debug version with dbgPrintf+dbgview - i can't see any 
out message, system is freezed before any message occurs.
Tried run with verifier ON, nothing!

Could anybody advise how to debug this strange avssamp behaviour?
Thank you.

-Andrey 


4.AVSSamp as default audio device

Does anybody know how to get the AVStream DDK samples (i.e. avsamp, avshws)
to appear as choices for default audio devices?  I'd really like to make
them user-selectable but they do not show up on the Audio Control Panel.

Thanks,
Eddie


5.problem with installing avssamp to audio capture sources category

Hi all!

DDK Build 3790.
is it possible to do this ? this sample has a dynamically created audio pin. 
Why i can't register it in audio sources Dshow Category? what i need to 
modify (filter.cpp) or *.inf  file ?

6. About saving avi file using avssamp.

7. How to play sound in Avssamp??

8. How to completely remove AVSSAMP from windows ?



Return to device driver

 

Who is online

Users browsing this forum: No registered users and 48 guest