edit-icon download-icon

Workflow transcoding

Last Updated: Feb 05, 2018

Background

One input file corresponds to multiple output files (different resolutions, different formats, etc.). A commonly used video processing flow can be created quickly through the console graphic interface.

Advantages

  • Simple and easy to use, once video upload has completed, transcoding tasks are automatically triggered.

  • Supports multiple functions such as screenshots, transcoding, encapsulation, watermarking, editing and other functions.

  • Supports sending workflow execution message to the specified MPS queue or message notification upon beginning and ending the workflow.

  • Media Files to offer you audio and video management capabilities. Media ID associates outputs of multiple definition in multiple formats. When using the MediaID for playback, automatic switch among multiple definitions can be achieved , and multiple formats are supported.

  • Supports both URL and MediaID playback.

For details, see Developing process of workflows.

Restrictions

  • A workflow can only be configured with only one input path, the workflow processes handle all videos in this path.

  • Videos uploaded to the input directory will trigger workflow transcoding. Currently, only simple conditional transcoding scenarios are supported, and some complex business logic cannot be supported.

  • The workflow supports Alibaba Cloud private encryption, but HLS-AES128 standard encryption is not yet supported.

Preparation

Procedure

  1. Add Input/Output Media Bucket.

  2. Create a workflow. In the workflow, you can customize parameters for screenshots, transcoding, conversion and encapsulation, watermark, encryption, editing and other functions

  3. Enable the CDN acceleration function (optional): If you need to enable Content Distribution Acceleration for your domain name, see Domain name management.

  4. Upload videos: You can upload videos on the MPS console or use the OSS related uploading tools. We also provide an upload SDK that covers all platforms.

  5. Manage videos.

  6. Play back videos.

Set up a video transcoding application

Download JAVA source code.

Thank you! We've received your feedback.