tencent cloud

Feedback

Audio/Video Transcoding

Last updated: 2022-08-18 14:55:20

    Overview

    The file transcoding feature converts an audio/video file bitstream. It changes parameters of the source bitstream, such as codec, resolution, and bitrate, to adapt to different devices and network conditions.

    Note:

    • File transcoding is a paid feature. For billing details, see Media Processing Fees.
    • Watermarks can be added to video files during transcoding. For detailed directions, see Video Watermark.

    Use Cases

    Multi-device adaptability

    As content platforms are generally intended for multiple types of devices, they need to provide media files in different formats for different users. CI's file transcoding feature provides a variety of transcoding parameters for most transcoding requirements. It also supports automatic triggering of transcoding during media file upload, so as to quickly meet the format requirements of different terminals.

    Reduced space and traffic usage

    For media resources such as images, the file transcoding feature can adjust their bitrates and provide diverse compression capabilities to increase the compression efficiency and downsize files. This reduces lags, storage space usage, and traffic fees.

    Sync watermarking

    CI can add multiple watermarks to media resources synchronously. This feature enhances the brand awareness and reduces the possibility of media file theft. In addition, it supports many watermark formats such as static and dynamic image as well as text, fully meeting your watermark needs in different scenarios.

    Directions

    You can use the file transcoding feature through jobs or workflows. In order to improve the operational efficiency and reduce repetitive operations, CI offers the template feature, which is a configuration item in jobs and workflows. You can save common parameter combinations as templates and reuse them directly in subsequent operations, with no need to set the parameters every time you start a job. You can use preset or custom templates as follows:

    Through job

    You can create file transcoding jobs through the console or APIs to transcode existing files in COS.

    • Console: You can create a job visually in the CI console as instructed in the file transcoding job documentation.
    • API: You can use APIs to create file transcoding jobs as instructed in Transcoding Job APIs.

    Through workflow

    CI provides the workflow service. You can enable a workflow for a bucket or a specific path. Then, transcoding will be automatically performed on files uploaded to the bucket or path, and the output files will be saved in the specified location.

    Creating workflow

    You can create a workflow in the CI console as instructed in Creating Workflow.

    Deleting, querying, and searching for workflow

    You can delete, search for, get details of, and get the list of instances of workflows through APIs as instructed in Deleting Workflow, Searching for Workflow, Getting Workflow Instance Details, and Getting Workflow Instance List respectively.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support