There is filter Dump with sources in Windows SDK Samples.
Im compile that, registered with regsvr32. But I will not understand as to him to connect for example any Mux that would weigh a stream he wrote down in a file. Though I can isn't correct I understand as he works.
CoCreateInstance(CLSID_DUMP, NULL, CLSCTX_INPROC_SERVER, IID_IBaseFilter, (void**)&pDump);
pGraph->AddFilter(pDump, L"DUMP");
pDump->QueryInterface(IID_IFileSinkFilter, (void**)&pSink);
pSink->SetFileName(m_FileName, NULL);
IPin* MuxOut;
IPin* WriterIn;
MuxOut = GetPin(pMux, PINDIR_OUTPUT);
WriterIn = GetPin(pDump, PINDIR_INPUT);
hr = pGraph->Connect(MuxOut, WriterIn);
After last line hr becomes equal -2147220969.
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 1 of 1
			
		Similar Threads
- 
  Power Suppy 20 Pin and 24 PinBy jollyjohn in forum ComputerReplies: 16Last Post: 3rd Jan 2011, 21:06
- 
  Virtual webcam DirectShow filter with video input pinBy sk89q in forum Video ConversionReplies: 0Last Post: 26th May 2009, 06:06
- 
  Hi can anyone tell how to play a mp4(h.264 + AAC) file using dshow filter?By kalpanaanb in forum Newbie / General discussionsReplies: 1Last Post: 31st Mar 2009, 09:58
- 
  24 pin PSU for a 20 Pin motherboard; Doh!By Will Hay in forum ComputerReplies: 7Last Post: 5th Mar 2008, 12:02
- 
  using videos starts dshow over and overBy radman202 in forum Newbie / General discussionsReplies: 5Last Post: 29th Jan 2008, 11:49


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote