Class AVENCAACEncoderSettings
AVENC AAC encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioEncoders
Assembly: VisioForge.Core.dll
Syntax
public class AVENCAACEncoderSettings : IAACEncoderSettings, IAudioEncoder, IMediaBlockSettings, IEncoderTextInfo
Fields
Name
The name.
Declaration
public static string Name
Field Value
Type | Description |
---|---|
string |
Properties
Bitrate
Gets or sets the bitrate (in kbits/s). Default: 0.
Declaration
public int Bitrate { get; set; }
Property Value
Type | Description |
---|---|
int | The bitrate. |
Channels
Gets or sets the number of audio channels. Default: 0.
Declaration
public int Channels { get; set; }
Property Value
Type | Description |
---|---|
int | The audio channels. |
Coder
Gets or sets the coder. Default: fast.
Declaration
public AVENCAACEncoderCoder Coder { get; set; }
Property Value
Type | Description |
---|---|
AVENCAACEncoderCoder | The coder. |
ForceMS
Gets or sets the force M/S stereo coding.
Declaration
public AVENCAACTrilian ForceMS { get; set; }
Property Value
Type | Description |
---|---|
AVENCAACTrilian | The force M/S stereo coding. |
ForcePCEs
Gets or sets a value indicating whether forces the use of PCEs flag is set.
Declaration
public bool ForcePCEs { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
IntensityStereo
Gets or sets a value indicating whether the intensity stereo coding is enabled.
Declaration
public bool IntensityStereo { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
LongTermPrediction
Gets or sets a value indicating whether the long-term prediction is enabled.
Declaration
public bool LongTermPrediction { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
MainPrediction
Gets or sets a value indicating whether the prediction is enabled.
Declaration
public bool MainPrediction { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
PNS
Gets or sets a value indicating whether perceptual noise substitution is enabled.
Declaration
public bool PNS { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
SampleRate
Gets or sets the custom sample rate. Can be 0 to use original sample rate.
Declaration
public int SampleRate { get; set; }
Property Value
Type | Description |
---|---|
int | The sample rate. |
TNS
Gets or sets a value indicating whether the temporal noise shaping is enabled.
Declaration
public bool TNS { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
GetCaps()
Gets the caps.
Declaration
public string GetCaps()
Returns
Type | Description |
---|---|
string | System.String. |
GetCoderList()
Gets the coder list.
Declaration
public static IEnumerable<string> GetCoderList()
Returns
Type | Description |
---|---|
IEnumerable<string> | IEnumerable<System.String>. |
GetParameters()
Gets the parameters as string.
Declaration
public string GetParameters()
Returns
Type | Description |
---|---|
string | System.String. |
GetSupportedBitrates()
Gets the supported bitrates.
Declaration
public int[] GetSupportedBitrates()
Returns
Type | Description |
---|---|
int[] | System.Int32[]. |
GetSupportedChannelCounts()
Gets the supported channel counts.
Declaration
public int[] GetSupportedChannelCounts()
Returns
Type | Description |
---|---|
int[] | System.Int32[]. |
GetSupportedSampleRates()
Gets the supported sample rates.
Declaration
public int[] GetSupportedSampleRates()
Returns
Type | Description |
---|---|
int[] | System.Int32[]. |
IsAvailable()
Determines whether this encoder is available.
Declaration
public static bool IsAvailable()
Returns
Type | Description |
---|---|
bool |
|
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |