Table of Contents

Enum WMVMode

Namespace
VisioForge.Core.Types.Output
Assembly
VisioForge.Core.dll

Specifies the configuration mode for Windows Media Video (WMV) and Windows Media Audio (WMA) output.

public enum WMVMode

Fields

ExternalProfile = 0

Use an external Windows Media profile loaded from a file (.prx).

Loads encoding settings from a Windows Media profile file (.prx format). Profile files can be created using Windows Media Encoder or other Windows Media tools. This allows using pre-configured, tested encoding settings without manual configuration.

ExternalProfileFromText = 1

Use an external Windows Media profile provided as text/XML string.

Similar to ExternalProfile but the profile content is provided as a text string rather than a file. This is useful for embedded profiles, dynamic profile generation, or when storing profiles in databases or configuration systems.

InternalProfile = 2

Use a built-in Windows Media profile by name.

Selects one of the predefined system profiles included with Windows Media. These profiles are optimized for common scenarios like broadband streaming, dialup connections, DVD quality, etc.

Example profile names:

  • "Windows Media Video 9 for Local Network (768 kbps)"
  • "Windows Media Video 9 High (2.5 Mbps)"
  • "Windows Media Audio 9 High (192K)"

This is the simplest and recommended mode for most users, providing good quality with minimal configuration effort.

CustomSettings = 3

Use custom encoder settings configured programmatically.

Provides full manual control over all encoding parameters including codec selection, bitrates, resolutions, buffer sizes, and quality settings. This mode offers maximum flexibility but requires in-depth knowledge of Windows Media encoding parameters. Use when predefined profiles don't meet specific requirements.

V8SystemProfile = 4

Use Windows Media Video 8 system profile.

Uses Windows Media Video version 8 profiles for compatibility with older Windows Media systems. WMV8 is an older codec version with broader compatibility but lower compression efficiency compared to WMV9. Only use when targeting legacy systems that don't support WMV9.

Remarks

WMV/WMA encoding can be configured using predefined profiles or custom settings. This enumeration determines how the encoder is configured and which settings source is used.