WMEncProfile2.ProfileDescription

Windows Media Encoder SDK banner art

The ProfileDescription property specifies and retrieves the description of the profile.

Syntax

string = WMEncProfile2.ProfileDescription;
WMEncProfile2.ProfileDescription = string;

Parameters

This property takes no parameters.

Property Value

A String that contains the profile description.

Example Code

using WMEncoderLib;

try
{
// Create a WMEncProfile2 object.
WMEncProfile2 Pro = new WMEncProfile2();

// Verify profile settings immediately as they are set.
Pro.ValidateMode = true;

// Provide a name and description.
Pro.ProfileName = "Sample MBR Profile";
Pro.ProfileDescription = "A video profile with three audiences.";

// Specify video content.
Pro.ContentType = 16;

// Specify constant bit rate (CBR) mode.
Pro.set_VBRMode(WMENC_SOURCE_TYPE.WMENC_VIDEO, 0, WMENC_PROFILE_VBR_MODE.WMENC_PVM_NONE);

// Add audiences for 200, 400, and 600 Kbps.
Pro.AddAudience(200000); 
Pro.AddAudience(400000); 
Pro.AddAudience(600000); 
}

catch (Exception e)
{
     // TODO: Handle exceptions.
}

Requirements

Reference: Windows Media Encoder

Namespace: WMEncoderLib

Assembly: Interop.WMEncoderLib.dll

Library: WMEncoderLib.dll

See Also