Microsoft DirectX 8.1 (C++) |
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 ASF Writer filter. The ASF Writer provides the only way to create Microsoft Windows Media Audio (WMA) files in Microsoft DirectShow.
Filter Interfaces | IAMFilterMiscFlags, IBaseFilter, IFileSinkFilter, IFileSinkFilter2, IPersistStream |
Input Pin Media Types | MEDIATYPE_Stream, MEDIASUBTYPE_NULL |
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 |
Merit | MERIT_DO_NOT_USE |
Filter Category | CLSID_LegacyAmFilterCategory |