Class WMVEncoderSettings
- Assembly
- VisioForge.Core.dll
WMV encoder settings. Implements the VisioForge.Core.Types.X.Output.IVideoEncoder. Implements the VisioForge.Core.Types.X.Output.ICodecAvailable.
public class WMVEncoderSettings : IVideoEncoder, IMediaBlockSettingsInheritance
Implements
Inherited Members
Fields
Name
The name.
public static readonly string NameField Value
Properties
Bitrate
Gets or sets the video bitrate in kbps. The default is 4000. Ignored when VisioForge.Core.Types.X.VideoEncoders.WMVEncoderSettings.Quantizer is 1–30, which selects constant-quantizer mode.
public int Bitrate { get; set; }Property Value
KeyframeInterval
Gets or sets the keyframe interval in frames (gop-size). The default is 60.
public int KeyframeInterval { get; set; }Property Value
Quantizer
Gets or sets the constant quantizer. 0 keeps bitrate mode.
1–30 writes the encoder quantizer and does not write VisioForge.Core.Types.X.VideoEncoders.WMVEncoderSettings.Bitrate.
public int Quantizer { get; set; }Property Value
Version
Gets or sets the WMV generation. The default is VisioForge.Core.Types.X.VideoEncoders.WMVEncoderVersion.Wmv8.
public WMVEncoderVersion Version { get; set; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
For1080p()
Settings aimed at 1080p: 6000 kbps, keyframe every 60 frames, WMV8. The frame size still comes from the pipeline.
public static WMVEncoderSettings For1080p()Returns
- WMVEncoderSettings
-
A new settings instance.
For720p()
Settings aimed at 720p: 2500 kbps, keyframe every 60 frames, WMV8. The frame size still comes from the pipeline.
public static WMVEncoderSettings For720p()Returns
- WMVEncoderSettings
-
A new settings instance.
IsAvailable()
Determines whether this encoder is available.
public static bool IsAvailable()Returns
- bool
-
trueif this encoder is available; otherwise,false.
ToString()
Returns a String that represents this instance.
public override string ToString()