All Products
Search
Document Center

ApsaraVideo VOD:Use the ApsaraVideo VOD API for online editing

Last Updated:Apr 22, 2024

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

ApsaraVideo VOD supports basic and advanced editing. For more information about the unit prices, see Editing and production. For more information about feature categories, 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 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

  • Overview: 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.