Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

If you have a custom multiplexer or file-writer filter that supports your own file format, you can specify the CLSID as the first parameter of the ICaptureGraphBuilder2::SetOutputFileNamemethod:

Copy Code
IBaseFilter *pMux = 0;
IFileSinkFilter *pSink = 0;
hr = pBuild->SetOutputFileName(&CLSID_MyCustomMuxFilter, 
	L"C:\\VidCap.avi", &pMux, &pSink);

See Also