tencent cloud

Feedback

Template Settings

Last updated: 2022-01-18 16:17:11

    Log in to the MPS console and click Template Settings on the left sidebar. Preset templates in the console include video transcoding, audio transcoding, TESHD, watermark, screenshot, animated image, moderation, content analysis, and content recognition. They can be added to a workflow for on-cloud transcoding and audio/video processing.

    Note:

    • If a template added to a workflow is edited after the workflow is enabled, the template parameters after editing will be used.
    • If a template added to a workflow is deleted after the workflow is enabled, the task of the template will fail.

    Video Transcoding Template

    MPS provides preset video transcoding templates, which can be used in workflows. You can also click Create Template to customize your own video transcoding templates.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), and periods
    Container format MP4, FLV, or HLS
    Configuration items Video and/or audio parameters
    Video codec H.264 or H.265
    Video bitrate (Kbps) 0 or 128-35000.0 means to use the original bitrate.
    Video resolution (px) 0 or 128-4096. 0 means to use the original resolution or resize the video proportionally.
    Video frame rate (fps) 0-60
    Audio codec AAC or MP3
    Audio sample rate (Hz) 32000, 44100, or 48000
    Audio bitrate (Kbps) 0 or 26-256. 0 means to use the original bitrate.
    Sound channels Mono or stereo

    Templates created are displayed in the template list. You can view, edit, or delete custom templates, but preset templates can be viewed only, not edited or deleted.

    Note:

    If the container format is set to MP4, FLV, or HLS, video parameters are required, and audio parameters optional.

    List of preset templates

    ClarityTemplate IDFormatVideo ParametersAudio Parameters
    ResolutionBitrate (Kbps)Frame Rate (fps)CodecBitrate (Kbps)Sample Rate (Hz)Sound ChannelsCodec
    Smooth100010MP4Proportionally scaled × 36040025H.2646444100StereoAAC
    100210HLS
    SD100020MP4Proportionally scaled × 5401000
    100220HLS
    HD100030MP4Proportionally scaled × 7201800128
    100230HLS
    FHD100040MP4Proportionally scaled × 10802500
    100240HLS
    2K100070MP4Proportionally scaled × 14403000160
    100270HLS
    4K100080MP4Proportionally scaled × 21606000
    100280HLS

    TESHD Template

    MPS provides preset Tencent Extreme Speed High Definition (TESHD) templates, which can be used in workflows. You can also click Create Template to customize your own TESHD templates.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), and periods
    Container format MP4, FLV, or HLS
    Configuration items Video parameters (required); audio parameters (optional)
    Video codec H.264 or H.265
    Average bitrate limit If this parameter is left empty or set to 0, it means no upper limit is set for the bitrate.
    Video resolution (px) 0 or 128-4096 for either dimension. 0 means to use the original resolution.
    Frame rate (fps) 0-60. 0 means to use the original frame rate.
    Audio codec AAC or MP3
    Audio sample rate (Hz) 32000, 44100, or 48000
    Audio bitrate (Kbps) 0 or 26-256. 0 means to use the original bitrate.
    Sound channels Mono or stereo
    Note:

    • You can view preset TESHD templates in MPS console > Template Settings.
    • If the container format is set to MP4, FLV, or HLS, video parameters are required.

    Templates created are displayed in the template list. You can filter, view, edit, or delete custom templates, but preset templates can be viewed only, not edited or deleted.

    Audio Transcoding Template

    MPS provides preset audio transcoding templates, which can be used in workflows. You can also click Create Template to customize your own audio transcoding templates.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), and periods
    Container format MP3, FLAC, OGG, or M4A
    Audio codec The codec must be MP3 if the container format is MP3, FLAC if the container format is FLAC or OGG, and can be MP3, AAC, or AC3 if the container format is M4A.
    Audio sample rate (Hz) 32000, 44100, or 48000
    Audio bitrate (Kbps) 0 or 26-256. 0 means to use the original audio bitrate.
    Sound channels Mono or stereo

    Templates created are displayed in the template list. You can view, edit, or delete custom templates, but preset templates can be viewed only, not edited or deleted.

    List of preset templates

    Template ID Container Format Audio Bitrate (Kbps) Codec Sound Channels Audio Sample Rate (Hz)
    1100 M4A 24 AAC Stereo 44100
    1110 M4A 48 AAC Stereo 44100
    1120 M4A 96 AAC Stereo 44100
    1130 M4A 192 AAC Stereo 44100
    1140 M4A 256 AAC Stereo 44100
    1010 MP3 128 MP3 Stereo 44100
    1020 MP3 320 MP3 Stereo 44100

    Watermark Template

    MPS does not provide preset watermark templates. You can click Create Template to customize watermark templates.

    ItemDescription
    Template Name Max 64 characters; supports Chinese characters, letters, digits, underscores (\_), hyphens (-), and periods
    Watermark type Image watermark
    Image PNG or JPG images. For better visual experience, transparent images in PNG format are recommended. The image cannot exceed 200 KB in size or 200 × 200 px in dimensions.
    Reference position Upper left (default), upper right, lower left, or lower right, based on which you can change the position of the watermark image by adjusting the vertical and horizontal offset
    Vertical offset The percentage represents the ratio of the vertical distance between the watermark and reference position to the height of the video, which is used to specify the vertical position of the watermark.
    Horizontal offset The percentage represents the ratio of the horizontal distance between the watermark and reference position to the width of the video, which is used to specify the horizontal position of the watermark.
    Image dimensions You can choose to resize the watermark by percentage (%) or pixel (px).

    The watermark templates created can be found in the template list, which displays watermark previews and information including template name, format, type, position, dimension, etc. You can view, edit, and delete a template.

    Screenshot Template

    MPS provides preset screenshot templates, which can be used in workflows. Three types of screenshots are supported: time point screenshot, sampled screenshot, and image sprite screenshot. You can also click Create Template to customize your own screenshot templates.

    Time point screenshot

    To create a time point screenshot, select time point screenshot for screenshot type. You can set the template name and screenshot dimensions when creating a template, but the time point must be set in workflows. For detailed instructions, please see Workflow Management.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, underscores (_), hyphens, and periods (.)
    Image format JPG
    Image dimensions The width and height of the image must be in the range of 128-4096 px.

    List of preset templates

    Template ID Format Width Height Fill Mode
    10 JPG Same as source Same as source Scale to fill

    Sampled screenshot

    Select sampled screenshot for screenshot type.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, underscores (_), hyphens (-), and periods
    Image format JPG
    Image dimensions The width and height of the image must be in the range of 128-4096 px.
    Sampling interval The interval can be a percent value (%) or a time value (s). If % is selected, the value entered cannot exceed 100.

    List of preset templates

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

    Image sprite screenshot

    Select image sprite screenshot for screenshot type.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, underscores (_), hyphens, and periods (.)
    Image format JPG
    Image dimensions The width and height of the image must be in the range of 128-4096 px.
    Sampling interval The interval can be a percent value (%) or a time value (s). If % is selected, the value entered cannot exceed 100.
    Rows A positive integer. The number of subimage rows multiplied by subimage columns must not exceed 100.
    Columns A positive integer. The number of subimage rows multiplied by subimage columns must not exceed 100.

    The screenshot templates created can be found in the template list, which displays information including template name, screenshot type, image dimensions, and template type. You can view, edit, and delete a template.

    List of preset templates

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

    Animated Image Generating Template

    MPS provides preset animated image generating templates, which can be used in workflows. You can also click Create Template to customize your own animated image generating templates.
    You can set the image format, frame rate, image dimensions and image quality when creating a template, and the time period for generating animated images in workflows. For detailed instructions, please see Workflow Management.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, and underscores (_)
    Image format WEBP or GIF
    Frame rate (fps) 1-30
    Image quality 0-100. The larger the value, the higher the quality and the larger the image size.
    Image dimensions (px) 0 or 128-4096 for either dimension

    The templates created can be found in the template list, which displays information including template name, image type, frame rate, image quality, image dimensions, and template type. You can view, edit, or delete a custom template, but preset templates can be viewed only, not edited or deleted.

    List of preset templates

    Template ID Format Resolution Frame Rate (fps)
    20000 GIF Same as source 2
    20001 WebP 320 × Proportionally scaled 2

    Moderation Template

    MPS provides preset moderation templates, which can be used in workflows. You can also click Create Template to customize your own moderation templates.

    • Template name: max 64 characters; supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), and periods (.)
    • Moderation items: image recognition, speech recognition, or text recognition. The subitems of the selected moderation items will appear in the column on the right.
      Moderation Item Subitem Description
      Image recognition Eroticism Porn, vulgarity, intimacy, and sexiness
      Terrorism Bloodiness, explosion, fire, etc.
      Politically sensitive Banned icons, celebrities in sports and the entertainment industry, etc.
      Speech recognition Eroticism Porn, vulgarity, intimacy, and sexiness
      Politically sensitive Politically sensitive figures, banned icons, and celebrities (sports and entertainment)
      Text recognition Eroticism Porn, vulgarity, intimacy, and sexiness
      Politically sensitive Politically sensitive figures, banned icons, and celebrities (sports and entertainment)

    For each subitem, you can set a Confirm Threshold and a Suspicion Threshold, which determine the degree of moderation. If they are left empty, the default values will be used.

    • Confirm threshold: MPS analyzes the videos uploaded and gives them scores. If the score of a video exceeds the confirm threshold, the video will be marked confirmed. The value range of the threshold is 0-100. The default value is recommended.
    • Suspicion threshold: MPS analyzes the videos uploaded and gives them scores. If the score of a video exceeds the suspicion threshold, the video will be marked suspicious. You can initiate human moderation tasks for suspicious videos on the video moderation page. The value range of the threshold is 0-100. The default value is recommended.
    Note:

    You can view the preset moderation templates in MPS console > Template Settings.

    The templates created are displayed in the template list, where you can view, edit, or delete a template.

    Content Analysis Template

    MPS provides preset content analysis templates, which can be used in workflows. You can also click Create Template to customize your own content analysis templates.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), and periods
    Content Analysis Items Smart Tag, Intelligent Classification, Intelligent Thumbnail, Tag by Frame
    Note:

    You can view the preset content analysis templates in MPS > Template Settings.

    The templates created are displayed in the template list, where you can view, edit, or delete a template.

    Content Recognition Template

    MPS provides preset content recognition templates, which can be used in workflows. You can also click Create Template to customize your own content recognition templates.

    Item Description
    Template name Max 64 characters; supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), and periods
    Content Recognition Items Face Recognition, Text Recognition, Speech Recognition
    Note:

    You can view the preset content recognition templates in MPS console > Template Settings.

    The templates created are displayed in the template list, where you can view, edit, or delete a template.

    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