Torch Object Storage
Name | Location | Type | Required | Example value | Description |
Name | Location | Type | Required | Example value | Description |
x-tos-async-process | Query | String | Yes | - | Special identifier representing audio segment concatenation requests |
Name | Type | Required | Example value | Description |
Name | Type | Required | Example value | Description |
ss | int | No | 0 | Start time for stitching prefix or suffix audio. Unit is milliseconds; values:
|
t | int | No | 0 | Duration of prefix or suffix audio splicing. Unit is milliseconds; values:
|
o | String | Yes | - | Object under the current Bucket. Must be encoded using Base64 URL-safe method. |
Name | Type | Required | Example value | Description |
Name | Type | Required | Example value | Description |
ss | int | No | 0 | Transcoding start time of the spliced audio. Unit is milliseconds; values:
|
t | int | No | 0 | Duration of transcoding for the spliced audio. Unit is milliseconds; values:
|
f | String | Yes | wav | Audio container. Options:
|
ar | int | No | 8000 | Audio sample rate. Defaults to match the specified source audio; values:
tip Sampling rates supported vary by format. For details, see Support for different audio container sample rates. |
ac | int | No | 1 | Number of audio channels. Defaults to the source audio setting. Valid range: 1 to 8. tip The number of channels supported varies by format. See Support for different audio container parameters for details. |
ab | int | No | 1000 | Audio bit rate (bitrate). Unit is bits per second (bps), range: 1000~10000000. |
abopt | String | No | 0 | Audio bitrate options. The values are:
tip This parameter must be set together with the ab parameter. |
sf | String | No | fltp | Sampling format. Options:
tip The supported sampling formats vary by format. For details, see Support for different audio container parameters. |
Container format | Encoding format | Sampling rate | Sampling format | Number of channels | Bit rate |
Container format | Encoding format | Sampling rate | Sampling format | Number of channels | Bit rate |
mp3 | mp3 | Partially supported | fltp/s16p/s32p | 1 or 2 | Supported |
aac | aac | Supported | fltp | 1, 2, 4, 5, 6, or 8 | Supported |
flac | flac | Supported | s16/s32/s16p/s32p | 1, 2, 4, 5, 6, or 8 | Not supported |
oga | vorbis | Supported | fltp | 2 | Not supported |
ac3 | ac3 | Partially supported | fltp | 1, 2, 3, 4, 5, or 6 | Supported |
opus | opus | Partially supported | s16 | 1 or 2 | Supported |
wav | pcm_s16le | Supported | s16 | 1 or 2 | Not supported |
Container format | mp3 | aac | flac | oga | ac3 | opus | wav |
Container format | mp3 | aac | flac | oga | ac3 | opus | wav |
8000 | Y | Y | Y | Y | N | Y | Y |
11025 | Y | Y | Y | Y | N | N | Y |
12000 | Y | Y | Y | Y | N | N | Y |
16000 | Y | Y | Y | Y | N | Y | Y |
22050 | Y | Y | Y | Y | N | N | Y |
24000 | Y | Y | Y | Y | N | Y | Y |
32000 | Y | Y | Y | Y | Y | N | Y |
44100 | Y | Y | Y | Y | Y | N | Y |
48000 | Y | Y | Y | Y | Y | Y | Y |
88200 | N | Y | Y | Y | N | N | Y |
96000 | N | Y | Y | Y | N | N | Y |
Name | Type | Example value | Description |
Name | Type | Example value | Description |
status | String | OK | Status code. |