tencent cloud

Feedback

AV1 Encoding

Last updated: 2024-06-25 15:38:07
    AOMedia Video 1 (AV1) is a free, open source video encoding format. It encodes videos at a bitrate 30%+ lower than H.265 (HEVC) does while delivering the same video quality. This means that with the same bandwidth, AV1-encoded videos have higher quality than H.265-encoded videos. This document shows you how to encode videos using AV1 and how to play AV1-encoded videos.

    How to Use AV1

    Prerequisites

    You have activated CSS and added a playback domain and a push domain.

    Step 1. Create a transcoding template

    1. Log in to the CSS console and select Feature Configuration > Live Transcoding on the left sidebar.
    2. Click Create template .
    
    3. Select the transcoding type as either Standard Transcoding or Top Speed Codec Transcoding , and expand the advanced configuration. In Codec, choose AV1 .
    Standard Transcoding
    Top Speed Codec Transcoding
    
    
    4. Click Save.

    Step 2. Bind a domain

    1. Select a transcoding template, and click Bind Domain Name .
    
    2. Select the Transcoding Template and Playback Domain you wish to bind, and then click Confirm .
    
    Note:
    The domain name binding will take effect in approximately 10 minutes after being bound.

    Step 3. Generate a playback URL

    1. Log in to the CSS console > Go to CSS Toolkit > Address Generator.
    2. Select URL Type: Playback Address.
    3. Select the playback domain name bound in Step 2 and the transcoding template from Step 1 to generate the playback address.
    

    Step 4. Play AV1-encoded videos

    Play the AV1-encoded videos with a player that supports AV1 using the playback URL generated in step 3. You can either use a third-party player that supports AV1 or rebuild your own player.
    Third-party players that support AV1
    App
    ExoPlayer (use libgav1)
    ijkplayer FFmpeg (update FFmpeg and integrate dav1d)
    Web
    dash.js. The player supports AV1, but whether AV1 videos can be decoded depends on the browser. Chrome supports AV1 decoding.
    shaka-player. The player supports AV1, but whether AV1 videos can be decoded depends on the browser. Chrome supports AV1 decoding.
    PC VLC for Windows and macOS support AV1 in FLV and HEVC in FLV.
    Rebuilding your own player If your player cannot play AV1 videos, you can refer to AV1 Video Playback to rebuild your player accordingly.
    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