|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The audio processing settings. |
||
| DisableAudio |
boolean |
Whether to disable audio stream generation. Valid values:
|
false |
| Stream |
array |
Index numbers of audio streams to process. Default: the first audio stream (smallest index). An element greater than 100 means all audio streams are processed.
Note
Index numbers with no matching audio stream are ignored. |
|
|
integer |
The index number of the audio stream. |
0 |
|
| TranscodeAudio |
object |
Audio transcoding settings. If unspecified, the output file contains no audio streams. Note
Do not use this parameter to disable audio stream generation. |
|
| Codec |
string |
The codec. Valid values:
Note
When set to copy, the audio stream is copied directly to the output file and other TranscodeAudio parameters are ignored. Commonly used for container format conversion. Not supported for audio merging. |
aac |
| BitrateOption |
string |
Bitrate option. Valid values:
Default values:
Note
Must be used with the Bitrate parameter. |
fixed |
| Bitrate |
integer |
Audio stream bitrate in bit/s. Mutually exclusive with the Quality parameter. Valid values: 1000 to 10000000. |
64000 |
| Quality |
integer |
Audio quality. Valid values: 0 to 100. Higher values produce higher quality. Mutually exclusive with the Bitrate parameter. |
6 |
| SampleRateOption |
string |
Sampling rate option. Valid values:
Default values:
Note
Must be used with the SampleRate parameter. |
fixed |
| SampleRate |
integer |
Sampling rate in Hz. Default: source sampling rate. Valid values: 8000, 12025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, and 96000. Note
Supported sampling rates vary with formats: 48 kHz and lower for MP3, 8 kHz, 12 kHz, 16 kHz, 24 kHz, and 48 kHz for Opus, 32 kHz, 44.1 kHz, and 48 kHz for AC3, and 8 kHz and 16 kHz for AMR. |
12050 |
| Channel |
integer |
Number of sound channels. Default: same as source audio. Valid values: [1,8]. Note
Sound channel limits vary by format: one or two for MP3, up to six for AC3 5.1, one for AMR. |
2 |
| BitsPerSample |
integer |
Audio bit depth. Valid values: 16 and 24. Note
This parameter takes effect only when Codec is set to flac. |
16 |
| FilterAudio |
object |
Audio filter settings. Invalid if TranscodeAudio is empty or TranscodeAudio.Codec is set to copy. Note
Not available for the GenerateVideoPlaylist operation. |
|
| Mixing |
boolean |
Whether to mix all sound tracks into a single track. Valid values:
|
false |