Module Values.Mp3SettingsSource

Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.

Sourcetype nonrec t = {
  1. bitrate : int option;
    (*

    Specify the average bitrate in bits per second.

    *)
  2. channels : int option;
    (*

    Specify the number of channels in this output audio track. Choosing Follow input will use the number of channels found in the audio source; choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 0, 1, and 2.

    *)
  3. rateControlMode : Mp3RateControlMode.t option;
    (*

    Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).

    *)
  4. sampleRate : int option;
    (*

    Sample rate in Hz.

    *)
  5. vbrQuality : int option;
    (*

    Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).

    *)
}
Sourceval make : ?bitrate:??? -> ?channels:??? -> ?rateControlMode:??? -> ?sampleRate:??? -> ?vbrQuality:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of int ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t