Use the ApsaraVideo VOD API for online editing

更新时间:
复制 MD 格式

The online editing feature of ApsaraVideo VOD allows you to edit materials such as audio, video, and image files online and produce new videos. This topic describes how to use the ApsaraVideo VOD API or SDK for online editing.

Billing

The ApsaraVideo VOD online editing service offers basic and advanced editing, which are billed separately. For more information about pricing, see Editing and production. For a list of features available in each category, see Features.

Limits

The online editing feature is not supported in specific regions. Make sure that the feature is supported in the region where ApsaraVideo VOD is activated before you use the feature. For more information, see Service regions.

Clip and merge videos based on the timeline

Call the ProduceEditingProjectVideo operation to configure the timeline. You can use this method in most scenarios.合成服务交互1

Clip and merge videos in online editing projects

You can specify the ID of an online editing project and call the ProduceEditingProjectVideo operation to generate output resources. This method is applicable when you want to manage an online editing project in depth and submit a production task by using the project. The following methods are supported when you use an online editing project to generate output resources.

  • Method 1

    1. Call the AddEditingProject operation to create an online editing project and configure the timeline.

    2. Call the ProduceEditingProjectVideo operation to edit videos based on the ID of the online editing project.

  • Method 2

    1. Call the AddEditingProject operation to create an online editing project. You can choose whether to configure the timeline when you create the project.

    2. Call the UpdateEditingProject operation to update the timeline data of the online editing project.

    3. Call the ProduceEditingProjectVideo operation to edit videos based on the ID of the online editing project.

References

  • Online editing: describes the details of the online editing feature such as the architecture, capabilities, key phases, and price.

  • Timeline configuration examples: provides common timeline configuration examples such as clipping and merging, audio processing, image overlay, text overlay, and special effects.