tencent cloud

Feedback

Parameter Template

Last updated: 2021-06-04 15:37:21

    To increase the ease of use, MPS assembles common transcoding parameters into parameter templates. A parameter template is identified by its name and ID. For example, common parameter templates "Smooth", "SD", "HD", and "FHD" are identified by IDs "10", "20", "30", and "40" respectively in transcoding templates. There are different parameter templates for different transcoding tasks:

    • Transcoding templates
    • Remuxing templates
    • Animated image templates
    • Time point screenshot templates
    • Sampled screenshot templates
    • Image sprite templates
    • Adaptive bitrate streaming templates
    • Intelligent video recognition templates
    • Video recognition templates
    • Video analysis templates

    MPS provides preset parameter templates for different tasks. You can also create custom parameter templates where you set the parameters yourself. For more information, please see Template Parameter Description.

    Preset Parameter Templates

    See below for the IDs of and parameter values in different preset parameter templates.

    Preset transcoding templates

    Video

    ClarityTemplate IDFormatVideo ParametersAudio Parameters
    ResolutionBitrateFrame RateCodecBitrateSample RateSound ChannelsCode
    Smooth100010MP4x 360400 kbps25H.26464 kbps44,100 HzStereoAAC
    100210HLS
    SD100020MP4x 5401,000 kbps
    100220HLS
    HD100030MP4x 7201,800 kbps128 kbps
    100230HLS
    FHD100040MP4x 10802,500 kbps
    100240HLS
    2K100070MP4x 14403,000 kbps160 kbps
    100270HLS
    4K100080MP4x 21606,000 kbps
    100280HLS

    Audio

            1100
    
            24 kbps
    
            1110
    
            48 kbps
    
            1120
    
            96 kbps
    
            1130
    
            192 kbps
    
            1140
    
            256 kbps
    
            1010
    
            128 Kbps
    
            1020
    
            320 Kbps
        <table>
    <tbody><tr>
        <th rowspan="1">
            Template ID                
        </th>
        <th rowspan="1">
            Format
        </th>
        <th>
            Bitrate
        </th>
        <th>
            Codec
        </th>
        <th>
            Sound Channels
        </th>
        <th>
            Sample Rate
        </th>
    </tr>
        <td rowspan="5">
            M4A
        </td>
    
        <td rowspan="5">
            AAC
        </td>
        <td rowspan="7">
            Dual-channel
        </td>
        <td rowspan="7">
            44,100 Hz
        </td>
    </tr>
    </tr>
    <tr>
    
    
    </tr>
     <tr>
    
    
    </tr>
    <tr>
    
    
    </tr>
    <tr>
    
        <td rowspan="2">
            MP3
        </td>
    
        <td rowspan="2">
            MP3
        </td>
    </tr>
    <tr>
    
    
    </tr>

    Preset TESHD templates

    ClarityTemplate IDFormatVideo ParametersAudio Parameters
    ResolutionMaximum BitrateFrame RateCodeBitrateSample RateSound ChannelsCode
    Same as source100800MP4Same as sourceNo limit25H.264Same as source44,100 HzStereoAAC
    Smooth100810x 36064 kbps
    SD100820x 540
    HD100830x 720128 kbps
    FHD100840x 1080

    Preset remuxing templates

    Template ID Format
    875 MP4
    876 HLS

    Preset animated image generating templates

    Template ID Format Resolution Frame Rate
    20000 GIF Same as source 2
    20001 WebP Same as source 2

    Preset time point screenshot templates

    Template ID Format Width Height Fill Mode
    10 JPG Same as source Same as source Stretch

    Preset sampled screenshot templates

    Template ID Format Width Height Interval Measurement Interval Fill Mode
    10 JPG Same as source Save as source By percent 10% Scale to fill

    Preset image sprite templates

    Template ID       Format Subimage Width Subimage Height Subimage Rows Subimage Columns Interval Measurement Interval
    10 JPG 142 80 10 10 By time 10s

    Preset adaptive bitrate streaming templates

    Template information

    Template ID Package Type Substream Info Disable Low-Res to High-Res Conversion
    10 HLS Substreams for 6 clarity levels from "SD" to "4K" Yes

    Substream information

    Substream Clarity Video Parameters Audio Parameters
    Resolution Bitrate Frame Rate Codec Bitrate Sample Rate Sound Channels Codec
    Smooth x 240 256 kbps 24 H.264 48 kbps 44,100 Hz Stereo AAC
    SD x 480 512 kbps 24 H.264 48 kbps 44,100 Hz Stereo AAC
    HD x 720 512 kbps 24 H.264 48 kbps 44,100 Hz Stereo AAC
    FHD x 1080 1,024 kbps 24 H.264 48 kbps 44,100 Hz Stereo AAC
    2K x 1440 3,072 kbps 24 H.264 48 kbps 44,100 Hz Stereo AAC
    4K x 2160 6,144 kbps 24 H.264 48 kbps 44,100 Hz Stereo AAC

    Preset intelligent video recognition templates

            10
    
            Yes
    
            Yes
    
            Yes
    
            No
    
            No
    
            No
    
            No
    
            20%
    
            Yes
    
            Yes
    
            Yes
    
            Yes
    
            Yes
    
            Yes
    
            Yes
        <table>
    <tbody><tr>
        <th rowspan="2">
            Template ID                
        </th>
        <th colspan="3">
            Video Image
        </th>
        <th colspan="2">
            ASR
        </th>
        <th colspan="2">
            OCR
        </th>
    </tr>
    Porn Terrorism Politically Sensitive Porn Politically Sensitive Porn Politically Sensitive
    </tr>
    <tr>
    
    
    
    
    
    
    
    
    </tr>

    Preset video recognition templates

    Template ID Full Text Recognition Text Keyword Recognition Full Speech Recognition Spoken Keyword Recognition
    10 No No No No

    Preset video analysis templates

    Template ID Intelligent Classification Intelligent Tagging Intelligent Cover Generation Intelligent Frame Tagging
    10 Yes Yes Yes No
    20 Yes Yes Yes Yes

    Custom Parameter Templates

    In addition to using preset parameter templates, you can customize your own parameter templates in the console or via APIs. Only you can see the custom templates you create.

    Creating a custom parameter template in the console

    For how to create a custom parameter template in the console, please see Template Settings.

    Creating a custom parameter template through an API

    You can use the following APIs to create different types of custom parameter templates:

    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