Microsoft DirectX 9.0

File Writer Filter

The File Writer filter can be used to write files to disc regardless of format. The filter simply writes to disc whatever it receives on its input pin, so it must be connected upstream to a multiplexer that can format the file correctly. You can create a new output file with the File Writer or specify an existing file; if the file already exists, it will be completely overwritten with the new data.

The time stamps on samples delivered to the file writer are byte offsets in the file. The input pin exposes the IStream interface and supports a subset of the interface. This enables the upstream filter to write data when the graph is stopped.

Note   If you are writing ASF files using the Microsoft® Windows Media™ Software Development Kit, use the WM ASF Writer filter. The WM ASF Writer provides the only way to create ASF files in Microsoft DirectShow.

Filter Interfaces IAMFilterMiscFlags, IBaseFilter, IFileSinkFilter, IFileSinkFilter2, IPersistStream
Input Pin Interfaces IMemInputPin, IPin, IQualityControl, IStream
Output Pin Media Types Not applicable.
Output Pin Interfaces Not applicable.
Filter CLSID CLSID_FileWriter
Property Page CLSID No property page.
Executable qcap.dll
Filter Category CLSID_LegacyAmFilterCategory