Billing of On-Cloud MixTranscoding

Last updated: 2021-11-05 10:15:12
    Note:

    Pricing

    The TRTC On-Cloud MixTranscoding service is priced as follows:

    Codec Billable Item Unit Price (USD/1,000 Min, rounded to 3 decimals)
    Audio Relaying & transcoding-audio 0.799
    H.264 Relaying & transcoding-H.264-SD 2.296
    H.264 Relaying & transcoding-H.264-HD 4.643
    H.264 Relaying & transcoding-H.264-FHD 8.990

    Usage Calculation

    TRTC calculates your usage of the relaying and transcoding service by adding up the durations of the streams output by all applications under your account via the mixtranscoding MCU cluster. There are two types of durations: video duration and audio duration.

    Note:

    A duration is calculated in seconds and daily cumulative seconds are converted to minutes for billing. A duration less than 1 minute is calculated as 1 minute.

    Video duration

    A video duration refers to the duration containing video images in a transcoding result. Videos are categorized by resolution as follows and billed accordingly:

    Category Output Resolution
    SD Resolution ≤ 307,200 (640 × 480)
    HD 307,200 (640 × 480) < Resolution ≤ 921,600 (1280 × 720)
    FHD Resolution > 921,600 (1280 × 720)
    • If a segment of a transcoding result contains both video and audio, you will only pay for the video duration.
    • A transcoded stream may contain video segments of different resolutions. TRTC checks the resolution at regular intervals (usually every 60 seconds) and updates its calculation when detecting a change in the resolution.

    Audio duration

    An audio duration refers to the duration containing only audio in a transcoding result.

    Billing Example

    Assume that, on January 1, user A used TRTC’s MCU cluster for On-Cloud MixTranscoding and output 1920 × 1080 and 640 × 360 videos of 100 minutes each using the H.264 codec, plus audio of 100 minutes.

    Then on January 2, user A would be charged as follows:

    Output Resolution Category Duration (Min) Unit Price (USD/1,000 Min) Cost by Category (USD) Total Cost (USD, rounded to 2 decimals)
    1920 × 1080 FHD 100 8.990 0.899 1.44
    640 × 360 HD 100 4.643 0.464
    Audio Audio 100 0.799 0.0799

    Notes

    This section provides extra information on the billing of On-Cloud MixTranscoding.

    Daily pay-as-you-go

    TRTC On-Cloud MixTranscoding supports only daily pay-as-you-go. Fees for a day are deducted at 10 AM the next day.