All Products
Search
Document Center

Apsara Video SDK:Short video SDK

Last Updated:Sep 11, 2024

As a module of ApsaraVideo MediaBox SDK, the short video SDK provides short video production services on applications, including video recording, video editing, video merging, subtitles, retouching effects, and template-based file editing. It has benefits such as ease of use, comprehensive features, and intelligent video production. This topic describes the features supported by the short video SDK.

Features

The short video SDK provides the Basic Edition, Standard Edition, and Professional Edition. The following tables describe the features supported by each edition. In the following tables, ✔️ indicates that the feature is supported and ❌ indicates that the feature is not supported.

Table 1: UI (free of charge for the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

Default UI

Provides a default UI. You can modify the layout and UI for custom development.

✔️

✔️

✔️

Custom UI

Provides a demo that contains the complete source code for UI interaction. You can replace icons and change the background color. You can also customize the UI based on your business requirements.

✔️

✔️

✔️

Table 2: Video recording (corresponds to the recording module of the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

Definition and aspect ratio

Allows you record videos with standard definition, high definition, or ultra high definition, and provides multiple aspect ratios, such as 16:9, 4:3, and 1:1.

✔️

✔️

✔️

Resolution

Allows you to specify the frame rate and quality level, or configure custom group of pictures (GOP) settings and bitrates to generate videos with different resolutions.

✔️

✔️

✔️

Multi-clip recording

Supports resumable recording and continuous recording.

✔️

✔️

✔️

Custom length

Allows you to specify the maximum and minimum recording length.

✔️

✔️

✔️

Speed ramping

Supports fast-forward and slow-motion effects.

✔️

✔️

✔️

Recording control

Allows you to switch frames, switch cameras, use flashlight, specify the exposure level, change the focal length, and configure the focus mode.

✔️

✔️

✔️

Photo taking

Allows you to capture the current image and save the image as a photo.

✔️

✔️

✔️

Background music

Allows you to add music on the recording UI. Music resources are provided by a third party at an additional cost.

✔️

✔️

✔️

Real-time watermarks

Allows you to add watermarks when you record videos.

✔️

✔️

✔️

Real-time filters

Allows you to switch filters in real time during video preview. You can also create a custom filter.

✔️

✔️

✔️

Real-time effects

Allows you to add common effects such as dithering and screen split during video preview. You can also add a custom effect.

✔️

✔️

✔️

Face stickers

Allows you to add effects such as stickers to faces by using the built-in facial recognition feature when you record videos.

✔️

Facial recognition API

Allows you to call facial recognition API operations provided by a third party to add stickers to faces during recording.

✔️

Custom rendering

Supports custom rendering for the collected data that is returned in callbacks.

✔️

✔️

✔️

Basic retouching

Allows you to add retouching effects in real time and change the retouching level during recording.

✔️

✔️

✔️

Advanced retouching

Allows you to integrate third-party retouching effects, including skin smoothing, rosy cheeks, skin whitening, eye widening, and face thinning. You are charged when you use Alibaba Cloud Queen SDK and FaceUnity SDK.

✔️

Duet recording

Allows you to record a duet that consists of a video being recorded by the camera and an existing video.

✔️

✔️

Mixed audio streams

Supports real-time mixing of multiple audio streams during recording.

✔️

✔️

Echo removal

Allows you to remove echoes from recorded videos during recording.

✔️

✔️

Noise reduction

Supports noise reduction during recording.

✔️

✔️

Screen recording

Allows you to specify the screen to record and generate a video.

✔️

✔️

Multi-source recording

Allows you to generate a video in real time by synthesizing videos that are recorded for screens, videos that are recorded by the camera, and existing videos.

✔️

✔️

Table 3: Basic video editing (corresponds to the import module of the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

Video import

Allows you to import local videos for editing.

✔️

✔️

✔️

Photo cropping

Allows you to crop photos by image size. The padding and cropping modes are supported.

✔️

✔️

✔️

Video cropping

Allows you to crop videos by image size or video length. The padding and cropping modes are supported.

✔️

✔️

✔️

Cropping at the original aspect ratio

Allows you to crop videos and maintain the original aspect ratio.

✔️

✔️

✔️

Video transcoding

Allows you to configure the encoding format, bitrate, GOP settings, and frame rate to generate videos based on different compression ratios.

✔️

✔️

✔️

Preview by frame

Allows you to view the frame image on which the reference cursor appears in the preview window when you move the timeline.

✔️

✔️

Video snapshot

Allows you to render the current video frame and save the snapshot as an image based on the current timeline.

✔️

✔️

Stream merging

Allows you to import and merge multiple images and video streams to generate a video.

✔️

✔️

Layout for multiple videos

Allows you to import multiple videos and specify the location and size of each video to generate a video with multiple images.

✔️

✔️

Picture-in-picture (PiP)

Allows you to add videos that overlap each other on the main video track to generate a video with the PiP effect.

✔️

✔️

Background music

Allows you to add music that is not affected by time effects to a video. Music resources are provided by a third party at an additional cost.

✔️

✔️

Dubbing by using local audio files

Allows you to add local audio files to a video. You can also add time effects such as fast-forward and slow-motion effects.

✔️

✔️

Table 4: Video effects (free of charge for the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

Time effect

Allows you to add fast-forward, slow-motion, reverse playback, and repetition effects to videos.

✔️

✔️

Image editing

Allows you to change the brightness, white balance, sharpness, vignette, and contrast of an image on the editing UI.

✔️

✔️

Static filters

Allows you to switch between a Lookup Table (LUT) filter and a shader script filter on the editing UI in real time.

✔️

✔️

Animated filters

Allows you to add animated filters on the editing UI, such as filters that provide effects of spirit freed from the body and phantom.

✔️

✔️

Transition

Allows you to add transition effects such as translation, fade-in, fade-out, and blinds to videos or images.

✔️

✔️

Frame animation

Allows you to shift, zoom, and modify animations such as stickers and subtitles on videos and images.

✔️

✔️

Stickers

Allows you to add static stickers to a video on the editing UI at a point in time. After you add a static sticker, you can adjust the display duration of the static sticker and the point in time when you want to display the static sticker.

✔️

✔️

Doodle

Allows you to change the style, size, and color of the paint brush.

✔️

✔️

End watermarks

Allows you to add end watermarks to videos. You can specify the display duration of the end watermarks.

✔️

✔️

Custom rendering

Supports custom rendering for the decoded frame data that is returned in callbacks.

✔️

✔️

Noise reduction

Supports noise reduction for audio clips.

✔️

✔️

Audio fade-in and fade-out

Allows you to add fade-in and fade-out effects for audio clips.

✔️

✔️

Mute

Allows you to mute the original audio of the current video and music.

✔️

✔️

Sound effects

Allows you to use sound effects such as lively female voice and husky male voice to replace the original sound on the editing UI.

✔️

✔️

Table 5: Animated stickers (correspond to the animated sticker feature of the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

Animated stickers

Allows you to add animated stickers to a video on the editing UI at a point in time. After you add an animated sticker, you can adjust the display duration of the animated sticker and the point in time when you want to display the animated sticker.

✔️

Table 6: MV (corresponds to the MV feature of the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

MV

Allows you to add MVs and switch among MVs on the editing UI.

✔️

Table 7: Subtitles (correspond to the subtitle feature of the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

Regular subtitles

Allows you to add multiple subtitles. You can configure the position, size, angle, color, and font of subtitles. You can also specify the display duration of the subtitles and the point in time when you want to display the subtitles.

✔️

Bubble subtitles

Allows you to add a background to subtitles. You can add animated backgrounds and configure subtitle borders.

✔️

Word art

Supports the multi-colored text style that uses art effects.

✔️

Subtitle flipping

Allows you to combine subtitle effects. You can manage the effects and specify the point in time at which subtitles are displayed based on your business requirements.

✔️

Table 8: Draft box (free of charge for the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

Draft

Allows you to save the videos that you record or edit as drafts. You can directly edit the drafts when you want to use them.

✔️

✔️

Draft list

Allows you to add edited videos to the draft list.

✔️

✔️

Synchronization of drafts to the cloud

Allows you to upload and download video drafts.

✔️

✔️

Table 9: Other features (free of charge for the Professional Edition)

Feature

Description

Basic Edition

Standard Edition

Professional Edition

Album selection

Allows you to filter videos by album or by video length.

✔️

✔️

✔️

Thumbnails

Allows you to extract frames from a video at a specific point in time and generate thumbnails by using the frames. You can quickly generate thumbnails when you use the fast mode.

✔️

✔️

✔️

Video information

Allows you to extract common information about a video, including the resolution, frame rate, and encoding format.

✔️

✔️

✔️

Upload to ApsaraVideo VOD

Allows you to upload videos to ApsaraVideo VOD for media asset management, cloud-based transcoding, and content moderation.

✔️. You can integrate the upload SDK to upload videos to ApsaraVideo VOD.

✔️. You can integrate the upload SDK to upload videos to ApsaraVideo VOD.

✔️. You can integrate the upload SDK to upload videos to ApsaraVideo VOD. In video editing or video synthesis scenarios, the upload SDK encapsulates the core classes that you can use to upload videos to ApsaraVideo VOD.

Expert support

Provides technical support.

Submit an application on Yida

Submit an application on Yida

Submit a ticket

References

For more information about the terms related to the short video SDK, see the "Short video SDK" section of the Terms topic.