Multi-File Parser Filter

 
Microsoft DirectShow 9.0

Multi-File Parser Filter

The Multi-File Parser filter parses a simple file format that enables multiple file names to be specified as though they were one file. These files have the format shown in the following example:

;MULTI
https://server/share/video.mpg
https://server/share/captions.smi

The use of this filter is deprecated. To render multiple files within the same filter graph, the application should simply call RenderFile or AddSourceFilter multiple times.

Filter interfaces IBaseFilter
Input pin media types
  • Major type: MEDIATYPE_Stream
  • Subtype: CLSID_MultFile
  • Format type: GUID_NULL
Input pin interfaces IPin, IQualityControl
Output pin media types
  • Major type: MEDIATYPE_File
  • Subtype: GUID_NULL
  • Format type: MEDIATYPE_File
Output pin interfaces IPin, IQualityControl
Filter CLSID CLSID_MultFile
Executable Quartz.dll
Merit MERIT_UNLIKELY
Filter Category CLSID_LegacyAmFilterCategory

Remarks

The filter creates one ouput pin for each file listed in the source file. The output type is MEDIATYPE_File, and the format block for the output type is a wide-character string that contains the file name. Each pin connects to an instance of the File Stream Renderer filter. The File Stream Renderer filter creates one ouput pin, which exposes the IStreamBuilder interface. The output pin renders the specified file. No media data travels between the Multi-File Parser and the File Stream Renderer.

The filter's CLSID is not defined in Uuids.h. Use this macro in your own header file:

// {D51BD5A3-7548-11cf-A520-0080C77EF58A}
DEFINE_GUID(CLSID_MultFile,
0xd51bd5a3, 0x7548, 0x11cf, 0xa5, 0x20, 0x0, 0x80, 0xc7, 0x7e, 0xf5, 0x8a);

See Also