This topic describes how to modify the Timeline parameters of the SubmitMediaProducingJob operation to configure other settings.
Usage notes
Intelligent production supports editing and compositing, effect rendering, and templates for live streams, VOD files, and material files from Object Storage Service (OSS). For more information, see Intelligent production overview.
You can produce a video from one or more videos, audio files, images, and subtitle materials by configuring Timeline parameters and calling the SubmitMediaProducingJob operation.
A timeline is created when you add materials and configure effects to create a video. A timeline consists of tracks, materials, and effects. For more information, see Timeline configurations.
For more information about how to use the IMS SDK to edit audio and video files, see Preparations.
Add a global background image and a global logo
Set "Type": "GlobalImage" to configure the global background and logo. You do not need to specify Duration. By default, the background and the logo are displayed in the entire video.
This feature allows you to easily configure the background image and logo that you want to display throughout the video.
In this example, the following configurations are added:
Place the background_v.jpg image in the first video track and set the Type parameter to GlobalImage to use the image as the global background image.
Place the video material f10.mp4 in the second video track as the main content of the video.
Place the image material aliyun_logo_white.png in the third track, set the Type parameter to GlobalImage, and set the width, height, and position of the image. This way, the image is used as the foreground logo.
Effect | Timeline example | OutputMediaConfig example |
| Set the video to portrait mode by setting Width to 1080 and Height to 1920.
|