Task Flow Settings

Last updated: 2021-01-21 18:28:05

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

    Log in to the VOD console and click Video Processing Settings > Task Flow Settings on the left sidebar to view the task flow list which displays the task flow name, type, creation time, last modified time, and operation 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 2 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 Name Task Type Task Template/ID
    LongVideoPreset Adaptive bitrate streaming Adpative-HLS(10)
    Screencapture SpriteScreenshot(10)
    Cover image generating TimepointScreenshot(10)
    SimpleAesEncryptPreset Adaptive bitrate streaming Adpative-HLS-Encrypt(12)
    Screencapture SpriteScreenshot(10)
    Cover image generating TimepointScreenshot(10)

    Custom Task Flow

    1. Log in to the VOD console, 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: its options include general transcoding, TESHD transcoding, adaptive bitrate streaming, screencapturing, cover generating, animated image generating, and intelligent video recognition. 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 Type Support for Preset or Custom Templates Supported Templates
    General transcoding Transcoding template:
  • Preset templates are supported
  • 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 do not meet your needs, select Template Settings > Transcoding Template to create a custom template.
  • Watermark template: watermarks can be added to a transcoding template. If the existing watermarks do not meet your needs, select Template Settings > Watermark Template to create a custom template.
  • TESHD transcoding Transcoding template:
  • Preset templates are supported
  • 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 do not meet your needs, select Template Settings > Transcoding Template to create a custom template.
  • Watermark template: watermarks can be added to a transcoding template. If the existing watermarks do not meet your needs, select Template Settings > Watermark Template to create a custom template.
  • Adaptive bitrate streaming Adaptive bitrate streaming template:
  • Preset templates are supported
  • Custom templates are supported
  • Adaptive bitrate streaming template: select one from the list of preset templates. One or more templates can be added to each task configuration.
  • Watermark template: all adaptive bitrate streaming templates support watermark. If the existing templates do not meet your needs, select Template Settings > Watermark Template to create a custom template.
  • Screencapture Screencapture template:
  • Preset templates are supported
  • Custom templates are supported
  • Screencapture template: there are three types of screenshots: time point screenshot, sampled screenshot, and image sprite screenshot. For each screenshot type, you can only select a corresponding configured template. For time point screencapture, you need to configure the time points. If the existing templates do not meet your needs, select Template Settings > Screencapture Template to create a custom template.
  • Watermark template: only time point screenshot and sampled screenshot templates support adding watermark. If the existing watermarks do not meet your needs, select Template Settings > Watermark Template to create a custom template.
  • Cover generating Screencapture template:
  • Preset templates are supported
  • Custom templates are supported
  • Screencapture template: only time point screencapture templates are supported.. You can use time offset or percentage to decide the time points. If the existing templates do not meet your needs, select Template Settings > Screencapture Template to create a custom template.
  • Watermark template: each screencapture template supports adding watermark. If the existing templates do not meet your needs, select Template Settings > Watermark Template to create a custom template.
  • Animated image generating Animated image generating template:
  • Preset templates are supported
  • Custom templates are supported
  • 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 do not meet your needs, select Template Settings > Animated Image Generating Template to create a custom template.
    Intelligent video recognition Intelligent recognition template:
  • Preset templates are supported
  • Custom templates are supported
  • Intelligent recognition template: you can add only one intelligent recognition template. If the existing templates do not meet your needs, select Template Settings > Intelligent Recognition Template to create a custom template.

    Note:

    A task flow only supports the configured templates.