DESCombine.RenderToAVI Method

DESCombine

The DESCombine class stitches together a series of video and audio files

DESCombine.RenderToAVI Method 

Configure the graph to output the results to an AVI file.

public void RenderToAVI(
   string sOutputFile,
   IBaseFilter ibfVideoCompressor,
   IBaseFilter ibfAudioCompressor,
   IDESCombineCB pVideoCallback,
   IDESCombineCB pAudioCallback
);

Parameters

sOutputFile
File name for output (must not be null)
ibfVideoCompressor
IBaseFilter of a video compressor to use (or null for none). Note that no configuration of this compressor is done by this method. It merely adds it to the graph in the appropriate place. Also, the pointer is not invalidated, so any configuration of the compressor that needs to be done after being added to the graph can still be done.
ibfAudioCompressor
IBaseFilter of an audio compressor to use (or null for none). Note that no configuration of this compressor is done by this method. It merely adds it to the graph in the appropriate place. Also, the pointer is not invalidated, so any configuration of the compressor that needs to be done after being added to the graph can still be done.
pVideoCallback
Callback routine to be called for each video frame or null for no callback
pAudioCallback
Callback routine to be called for each audio frame or null for no callback

Remarks

The callback routines are invoked once for each sample. This allows for additional processing to be performed on the video or audio buffers.

See Also

DESCombine Class | DESCombineLib Namespace