MV I/O Textfile Source DirectShow Filter

The MV I/O Textfile Source filter is an source filter for I/O data. It uses an input text file to generate output data.

 

File: MVIOTextfileSource.ax
CLSID: CLSID_MVIOTextfileSource

 

Input File Format

The input file is a plain ASCII text file. It uses the windows ini file format. A semicolon at start of a line marks a comment line. The file contains one section for every output pin. The filter adds a new pin if the last unconnected pin was connected. The entry in a section defines the data type of the output pin. This datatype has to correspondent to the connection datatype of the output pin.

Sample:
[Output0]
DataType=STRING

Available datatypes:
UINT8
INT8 
UINT16 
INT16 
UINT32 
INT32 
UINT64 
INT64 
FLOAT 
DOUBLE 
BOOL 
STRING 
PIXEL_ARRAY 
SUBPIXEL_ARRAY

The data values follows the DataType entry with the systax <Number>=<value>. The number starts with 0.

Sample:
; comment
[Output0]
DataType=STRING
0=A
1=Message
2=from
3=MontiVision


Interfaces

IMVIOTextfileSource

IMVFilterData

IMVAbout

 

MV I/O Textfile Source Property Page

MontiVision I/O Text File Source DirectShow Filter Property Page

Input File Path to the text input file.
Edit Opens the text input file in an editor.
once Use the data file once.
looped Use the data file in a loop. After the last value it starts with the first value again.
strict Mediatype check Advanced mediatype check option.