_AM_ASFWRITERCONFIG_PARAM Enumeration

 
Microsoft DirectShow 9.0

_AM_ASFWRITERCONFIG_PARAM Enumeration

Defines configuration parameters for the WM ASF Writer filter.

Syntax

  enum _AM_ASFWRITERCONFIG_PARAM {
  AM_CONFIGASFWRITER_PARAM_AUTOINDEX,
  AM_CONFIGASFWRITER_PARAM_MULTIPASS,
  AM_CONFIGASFWRITER_PARAM_DONTCOMPRESS
};

Members

AM_CONFIGASFWRITER_PARAM_AUTOINDEX

Specifies whether the WM ASF Writer automatically creates a temporal index after it has completed encoding a file. Set this parameter to FALSE if you want to create a frame-based index using the Windows Media Format SDK directly.

AM_CONFIGASFWRITER_PARAM_MULTIPASS

Specifies whether the filter operates in two-pass mode. See Remarks.

AM_CONFIGASFWRITER_PARAM_DONTCOMPRESS

If TRUE, specifies that the WM ASF Writer will not attempt to compress the input streams. Use this flag to write content that is not Windows Media–based into an ASF file.

Remarks

In two-pass mode, the filter makes two passes through the file. In the first pass, the filter examines each media stream in its entirety to determine the optimal encoding parameters for the file. The actual encoding is performed in the second pass. Therefore, to create an ASF file in two-pass mode, you must run the graph, wait for an EC_PREPROCESS_COMPLETE event, seek to the beginning of the source file, and then run the graph a second time.

See Also