Table of Contents

Class MP3EncoderSettings

Namespace
VisioForge.Core.Types.X.AudioEncoders
Assembly
VisioForge.Core.dll

MP3 encoder settings.

public class MP3EncoderSettings : IAudioEncoder, IMediaBlockSettings, IEncoderTextInfo

Inheritance

Implements

Inherited Members

Remarks

Supported formats: S16LE. Supported sample rates: 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000. Supported channels: 1, 2.

Fields

Name

The name.

public static string Name

Field Value

string

Properties

Bitrate

Gets or sets the bitrate. Bitrate in Kbit/s.

public int Bitrate { get; set; }

Property Value

int

Remarks

Only valid if target is bitrate, for CBR one of 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 or 320.

EncodingEngineQuality

Gets or sets the encoding engine quality/speed of the encoding engine, this does not affect the bitrate!.

public MP3EncodingQuality EncodingEngineQuality { get; set; }

Property Value

MP3EncodingQuality

ForceMono

Gets or sets a value indicating whether mono output will be used.

public bool ForceMono { get; set; }

Property Value

bool

Quality

Gets or sets the VBR Quality from 0 to 10. 0 being the best (Only valid if target is quality).

public float Quality { get; set; }

Property Value

float

RateControl

Gets or sets the rate control.

public MP3EncoderRateControl RateControl { get; set; }

Property Value

MP3EncoderRateControl

Methods

CreateBlock()

Creates the block.

public MediaBlock CreateBlock()

Returns

MediaBlock

MediaBlock.

GetCaps()

Gets the caps.

public string GetCaps()

Returns

string

System.String.

GetParameters()

Gets the parameters as string.

public string GetParameters()

Returns

string

System.String.

Exceptions

ArgumentOutOfRangeException

GetQualityList()

Gets the quality list.

public static IEnumerable<string> GetQualityList()

Returns

IEnumerable<string>

IEnumerable<System.String>.

GetSupportedBitrates()

Gets the supported bitrates.

public int[] GetSupportedBitrates()

Returns

int[]

System.Int32[].

GetSupportedChannelCounts()

Gets the supported channel counts.

public int[] GetSupportedChannelCounts()

Returns

int[]

System.Int32[].

GetSupportedSampleRates()

Gets the supported sample rates.

public int[] GetSupportedSampleRates()

Returns

int[]

System.Int32[].

IsAvailable()

Determines whether this encoder is available.

public static bool IsAvailable()

Returns

bool

true if this encoder is available; otherwise, false.

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

string

A String that represents this instance.

See Also