Task Flow Settings

Last updated: 2021-01-04 18:52:07

    You can create templates to set task flows for video processing tasks such as transcoding, watermarking, screencapturing, and moderating videos.

    Log in to the VOD console and click Video Processing > Task Flow Settings on the left sidebar on the non-admin page to view the task flow list which displays the following information:

    • Task Flow Name: user-defined task flow name.
    • Task Flow Type: preset or custom.
    • Creation Time: creation time of task flow.
    • Last Modified Time: last modified time of task flow.
    • Operation: tasks added in task flow.

    Preset Task Flow

    VOD provides two preset task flows which include adaptive bitrate streaming, screencapturing (image sprite generating), and cover image generating tasks. The detailed parameters are as follows:

    Task Flow NameTask TypeTask Template/ID
    LongVideoPreset Adaptive bitrate streaming Adpative-HLS(10)
    Screencapture SpriteScreenshot(10)
    Cover image generating TimepointScreenshot(10)
    SimpleAesEncryptPreset Adaptive bitrate streamingAdpative-HLS-Encrypt(12)
    Screencapture SpriteScreenshot(10)
    Cover image generating TimepointScreenshot(10)

    Custom Task Flow

    Steps

    1. Go to Task Flow Settings, click Create Task Flow above the list to enter the "Create Task Flow" page, and set the following task flow template configuration items:
      • Task Flow Name: it is customizable and can contain up to 20 letters, digits, hyphens (-), and underscores (_).
      • Task Type: options include general transcoding, TESHD transcoding, adaptive bitrate streaming, screencapturing, cover image generating, animated image generating, and video moderation. You must select at least one type before you can configure the task flow template. For more information, please see Task configuration.
    2. After the configuration items are set, click Submit to create the task flow.

      Task configuration

      Task TypeSupport for Preset or
      Custom Templates
      Supported Templates
      General transcoding Transcoding template:
    3. Preset templates are supported
    4. Custom templates are supported
      • Transcoding template: select one from the list of created templates. One or more transcoding templates can be added to each task configuration. If the existing templates don't meet your needs, select Template Settings > Transcoding Template to create a custom template.
      • Watermark template: all transcoding templates support watermarking. If the existing templates don't meet your needs, select Template Settings > Watermark Template to create a custom template.
      TESHD transcoding Transcoding template:
    5. Preset templates are supported
    6. Custom templates are supported
      • Transcoding template: select one from the list of created templates. One or more transcoding templates can be added to each task configuration. If the existing templates don't meet your needs, select Template Settings > Transcoding Template to create a custom template.
      • Watermark template: all transcoding templates support watermarking. If the existing templates don't meet your needs, select Template Settings > Watermark Template to create a custom template.
      Adaptive bitrate streaming Adaptive bitrate streaming template:
    7. Preset templates are supported
    8. Custom templates are supported
      • Adaptive bitrate streaming template: select one from the list of created templates. One or more adaptive bitrate streaming templates can be added to each task configuration.
      • Watermark template: all adaptive bitrate streaming templates support watermarking. If the existing templates don't meet your needs, select Template Settings > Watermark Template to create a custom template.
      Screencapture Screencapture template:
    9. Preset templates are supported
    10. Custom templates are supported
      • Screencapture template: there are three types of screenshots, namely, time point screenshot, sampled screenshot, and image sprite screenshot. For each screenshot type, you can only select a configured template in the corresponding type. For time point screencapture, you need to configure the time points. If the existing templates don't meet your needs, select Template Settings > Screencapture Template to create a custom template.
      • Watermark template: only the time point screencapture template and the sampled screencapture template support watermarking. If the existing templates don't meet your needs, select Template Settings > Watermark Template to create a custom template.
      Cover image generating Screencapture template:
    11. Preset templates are supported
    12. Custom templates are supported
      • Screencapture template: only time point screencapture templates are supported. For sampled screencapture, you can select a time offset or percent. If the existing templates don't meet your needs, select Template Settings > Screencapture Template to create a custom template.
      • Watermark template: all screencapture templates support watermarking. If the existing templates don't meet your needs, select Template Settings > Watermark Template to create a custom template.
      Animated image generating Animated image generating template:
    13. Preset templates are supported
    14. Custom templates are supported
    15. Animated image generating template: you can add multiple animated image generating templates and configure the time period for animated image generating. If the existing templates don't meet your needs, select Template Settings > Animated Image Generating Template to create a custom template.
      Video moderation Moderation template:
    16. Preset templates are supported
    17. Custom templates are supported
    18. Moderation template: you can add only one moderation template. If the existing templates don't meet your needs, select Template Settings > Moderation Template to create a custom template.

    Note:

    A task flow only supports the configured templates.