Class MP3EncoderSettings
- Assembly
- VisioForge.Core.dll
MP3 encoder settings.
public class MP3EncoderSettings : IAudioEncoder, IMediaBlockSettings, IEncoderTextInfoInheritance
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 NameField Value
Properties
Bitrate
Gets or sets the bitrate. Bitrate in Kbit/s.
public int Bitrate { get; set; }Property Value
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
ForceMono
Gets or sets a value indicating whether mono output will be used.
public bool ForceMono { get; set; }Property Value
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
RateControl
Gets or sets the rate control.
public MP3EncoderRateControl RateControl { get; set; }Property Value
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
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
-
trueif this encoder is available; otherwise,false.
ToString()
Returns a String that represents this instance.
public override string ToString()