You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
Data processing
Template management
Copy page
Download PDF
Template management
Template management allows you to create and manage task templates, such as those for audio and video transcoding. A template defines parameters such as container and codec formats, resolution, and bitrate. When creating a transcoding task, you can select a template to automatically configure the task.​
Template type​
​
Type​
Description​
Audio transcoding​
Templates that define the following audio output parameters: output format, sample format, sample rate, number of channels, and segment start time and duration. For more information about system default templates, see Audio transcoding operator.​
Video transcoding​
Templates that define the following video and audio output parameters: output format, video codec format, bitrate control policy, resolution, frame rate, audio encoding format, sample rate, and number of audio channels. For more information about system default templates, see Video transcoding operator.​
System default template​
Default templates provided by the system. You can select them directly when you create a transcoding task.​
Custom template​
Templates that you create based on your needs. These templates are ideal for scenarios requiring customized output formats, clarity, bitrate, and audio parameters.​
​
Creating a custom template​
  1. Log in to the TOS console.​
  1. In the left navigation pane, click Buckets.​
  1. In the top menu bar, select the project of the bucket you want to manage.​
  1. On the Buckets page, click the name of the bucket.​
  1. In the left navigation pane, select Data processing > Template management.​
  1. On the Template management page, select the desired tab and create a template.​
  • ​
    Audio transcoding
    Video transcoding
    ​
    Click Create audio transcoding template, and configure the following parameters.​
    ​
    Parameter​
    Required​
    Description​
    Template name​
    Yes​
    Enter a name for the audio transcoding template. This name will be used to identify the template in the template list and when you create tasks. The following constraints apply:​
    • Only uppercase and lowercase letters (A–Z, a–z), numbers (0–9), underscore (_), hyphen (-), and period (.) are allowed.​
    • Length must not exceed 64 characters.​
    Start time​
    No​
    Specify where in the source audio transcoding should begin. If this is not specified, transcoding will start from the beginning of the audio.​
    Duration​
    No​
    Specify how much of the source audio should be transcoded. If this is not specified, the entire audio will be processed.​
    Output format​
    Yes​
    Select an output format for the output audio. Options: WAV, MP3, AAC, FLAC, OGA, AC3, and OPUS.​
    Sampling format​
    No​
    Select a storage format for the audio sample data. Currently, only s16 is available.​
    Sampling rate​
    Yes​
    Select a sample rate for the output audio. The sample rate determines how many samples are captured per second. A higher value yields better quality. Options: 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, and 96000 Hz.​
    Channel number​
    No​
    Specify the number of output audio channels. If this is not specified, the number of channels will be the same as the source audio. Options: 1 (Mono) or 2 (Stereo).​
    ​
    ​
    ​
  1. Once you have finished configuring, click OK.​
Other operations​
The Template management page shows you the list of created templates and lets you perform operations on them.​
​
Operation​
Steps​
Viewing template details​
On the audio transcoding or video transcoding tab, click a template to view its details, including Basic information, Video parameters, and Audio parameters.​
Filter templates​
At the top of the list, select either System default template or Custom template to filter templates by type, or search for a template using its ID.​
Delete a template​
Click Delete in the Actions column of the template you want to remove. Then, follow the instructions on the page to finish deleting it.​
​
​
Last updated: 2026.09.04 10:43:02