tencent cloud

Feedback

VOD Service Orchestration Management

Last updated: 2024-01-02 16:01:44

    Operation Scenarios

    After you correctly configure the VOD scheme, the scheme execution will be automatically triggered for videos you upload to the designated bucket directory, and the output files will be written into the designated bucket directory. You can configure the task, including audio/video transcoding, audio/video enhancement, watermarking, screenshot, animated graphic conversion, moderation, content discovery, and content analysis.

    Creating VOD Scheme

    Go to Creation Page

    2. On the page that appears, create the scheme based on the business scenario requirements and configure relevant information.

    
    
    Configure Basic Information

    Configuration Item
    Required
    Configuration Description
    Trigger type
    -
    By default, "Tencent Cloud COS" is selected, indicating that the bucket that triggers the scheme belongs to Tencent COS.
    When "AWS" is selected, the trigger bucket belongs to AWS S3. This option can be selected if the bucket is configured on AWS services. Refer to Using Amazon S3 Buckets with MPS for detailed information.
    Scheme name
    Yes
    You can enter a combination of letters, digits, underscores, and hyphens (_). The length cannot exceed 128 characters. Example: "MPS".
    Trigger bucket
    Yes
    You can select a bucket created under this APPID as the trigger bucket. Once the scheme is enabled, video file upload to this bucket will automatically trigger the scheme execution.
    Trigger directory
    No
    The directory should end with a forward slash (/). If left unspecified, all directories of the trigger bucket can trigger the scheme execution.
    Output bucket
    Yes
    By default, the output bucket is the same as the trigger bucket. You can also select another bucket in the same region corresponding to the specified APPID as the output bucket. Newly generated video files will be stored in the selected bucket once the service orchestration is completed.
    Output directory
    No
    The directory should end with a forward slash (/). If left unspecified, the trigger directory will be taken as the output directory.
    Enable event notifications
    -
    Refer to the Configure Event Notification section below for details.
    Once enabled, the transcoding process and result data will be sent through the selected notification method.
    Off-peak transcoding
    -
    If this feature is enabled, initiated transcoding tasks will be executed during off-peak hours of resource usage. The timeliness of the transcoding process dynamically changes based on Tencent Cloud's resource utilization. (High timeliness of transcoding cannot be guaranteed.)
    If this feature is enabled, the transcoding costs will be billed according to the billing logic of "off-peak transcoding packs" or off-peak transcoding, which is different from that of non-off-peak transcoding. For more details, please refer to the General Transcoding Resource Pack, TSC Transcoding Resource Pack, Off-Peak General Transcoding Resource Pack, and Off-Peak TSC Transcoding Resource Pack sections in relevant documents.
    This feature applies to scenarios involving massive file processing with low requirements for real-time transcoding.
    Actions
    -
    Refer to the Configure Actions section below for details.
    You can quickly build a process by defining process nodes and templates of the service orchestration scheme.

    Configure Event Notification

    This feature can provide real-time updates on the progress and status during task execution. You can enable and configure this feature to receive notifications. Currently, Tencent Cloud provides three event notification mechanisms: TDMQ-CMQ callbacks, HTTP callbacks, and SCF callbacks. Detailed information is as follows:
    Callback Type
    Configuration Description
    TDMQ-CMQ callbacks
    To enable TDMQ-CMQ callback, go to the TDMQ console to activate the CMQ service and create a model. Once enabled, the specified CMQ service will receive event notifications from MPS. You need to fill in the following information:
    TDMQ-CMQ model: Queue model is selected by default.
    TDMQ-CMQ region: You can select Guangzhou, Shanghai, Beijing, Shanghai Finance, Shenzhen Finance, Hong Kong (China), Chengdu, North America, or West US.
    Queue name: Custom.
    HTTP callbacks
    When calling the event notification configuration API TaskNotifyConfig, specify the NotifyType parameter to URL and fill in the HTTP callback address in the NotifyUrl parameter.
    SCF callbacks
    1. SCF can rapidly process and operate on callback events triggered by MPS. The overall data processing workflow is shown in the following figure:
    img
    
    2. Events are sent to SCF through the MPS trigger. SCF adopts a serverless architecture and can process and respond to callback events.
    3. You can click Go to SCF console to configure a function. For specific configuration method, please refer to MPS Task Callback Notification. Note:
    The SCF callback configuration applies to all schemes but is not saved specifically for the current scheme.
    Corresponding computing fees will incur after the data is sent to SCF. For more information, refer to Billing Overview.

    Configure Actions

    You can define the entire service process, add various service nodes (such as audio/video transcoding, audio/video enhancement, content discovery, and screenshot), and apply unique templates to each node. The detailed configuration description is as follows:
    1. Click the + button to select the required action from the drop-down list and add it.
    
    
    2. After the action is added, the action node is displayed. You can then configure detailed information on the node.
    
    
    3. Click the edition icon on the node to pop up the edition window. You can select the template and configure the output. If you do not configure the output, the output information specified in the basic information will apply.
    Note
    The configuration pages vary for different actions. The following figure shows the page of the "audio/video transcoding" action.
    
    
    

    VOD Scheme Management

    1. Log in to the MPS console and choose Workflows > VOD Schemes. On the page that appears, you can perform operations on schemes, including Enable, Disable, Edit, Delete, and View Details.
    2. The list on this page displays information such as scheme name, trigger bucket, region, directory, creation time, and enabling status. You can sort the schemes by creation time, search for schemes by name, and view, edit, or delete specific schemes.
    Enable scheme
    The scheme is disabled by default. You can click the status button to enable it.
    Only enabled schemes will be executed automatically when videos are uploaded to the triggering bucket.
    Disable scheme
    To disable the scheme, click the status button.
    Once the scheme is disabled, it will no longer be automatically executed when videos are uploaded to the triggering bucket.
    Edit scheme
    You can click Edit in the operation column of the target scheme to go to the edition page. You can modify the scheme name, trigger bucket, trigger directory, output bucket, output directory, event notification enabling status, and other configuration items on this page.
    Schemes cannot be edited or deleted once enabled.
    Delete scheme
    You can click Delete in the operation column of the target scheme to delete it.
    Once a scheme is deleted, video file upload to the trigger bucket will no longer trigger MPS tasks.
    Schemes cannot be edited or deleted once enabled.
    
    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