User Generated Short Video SDK

User Generated Short Video SDK
Product Introduction
Product Documentation©2013-2022 Tencent Cloud. All rights reserved.

Page 1 of 17

User Generated Short Video SDK

Copyright Notice©2013-2024 Tencent Cloud. All rights reserved.
Copyright in this document is exclusively owned by Tencent Cloud. You must not reproduce, modify, copy or distributein any way, in whole or in part, the contents of this document without Tencent Cloud's the prior written consent.
Trademark Notice

All trademarks associated with Tencent Cloud and its services are owned by Tencent Cloud Computing (Beijing)
Company Limited and its affiliated companies. Trademarks of third parties referred to in this document are owned bytheir respective proprietors.
Service Statement
This document is intended to provide users with general information about Tencent Cloud's products and services
only and does not form part of Tencent Cloud's terms and conditions. Tencent Cloud's products or services aresubject to change. Specific products and services and the standards applicable to them are exclusively provided for inTencent Cloud's applicable terms and conditions.

©2013-2022 Tencent Cloud. All rights reserved.

Page 2 of 17

User Generated Short Video SDKContents
Product Introduction
Overview
Features
Use CasesConcepts©2013-2022 Tencent Cloud. All rights reserved.

Page 3 of 17

User Generated Short Video SDK

Product Introduction
Overview：

Last updated 2023-06-16 16:46:33
The user-generated short video (UGSV) sector has boomed in recent years. Thanks to innovation on both content andapp features, UGSV has become the next hotspot after live streaming. To help you quickly build and launch your own
UGSV app, Tencent Cloud VOD launched a one-stop UGSV solution that includes everything from video generation
and uploading to processing, distribution and playback.
The UGSV SDK leverages the powerful video uploading, storage, transcoding and distribution capabilities of Tencent
Cloud VOD, as well as the video content recognition technology of Tencent Cloud IM to offer you features such asvideo capturing, clipping, splicing, special effects, sharing and playback. With UGSV SDK, you can easily create
UGSV apps for your businesses.
This document offers you a fast and simple way to explore Tencent Cloud UGSV services and guides you throughactivation, purchase and integration.

Basic Features
Basic Features: The UGSV SDK offers features including video production (shooting, editing, splicing, and specialeffects), playback, and sharing.
Platform: We provide an iOS SDK and an Android SDK.
VOD Integration: UGSV integrates Tencent Cloud VOD service to provide a one-stop cloud-based solution for video
uploading, storage, quick transcoding, porn detection and video distribution. It helps ensure that user videos areviewed and shared in a timely fashion.

©2013-2022 Tencent Cloud. All rights reserved.

Page 4 of 17

User Generated Short Video SDKStrengths
Diverse Features
UGSV is a full-featured service that provides app developers with a variety of industry-leading mobile video
capabilities, including video capturing, clipping, splicing, special effects, beauty filters, green screen keying, animatedwidgets, publishing and playback.

Content Detection
UGSV comes built in with VOD’s porn detection. Once a video is uploaded, porn detection starts automatically and ascore indicating the amount of pornographic content is quickly computed.

AI Support©2013-2022 Tencent Cloud. All rights reserved.

Page 5 of 17

User Generated Short Video SDKPowered by cloud-based AI engines, UGSV enables content classification and personalized recommendation andsupports intelligent tagging, intelligent video cover generation, green screen keying, face widgets and more.

Powerful Cloud Capabilities
UGSV leverages Tencent Cloud VOD’s cloud capabilities and quick transcoding, porn detection and video distribution
services to help ensure that user videos are uploaded and stored to the cloud quickly and viewed and shared in atimely fashion.

Seamless Integration
Once integrated, the SDK can capture videos not only via the camera, but also from live streams. It also supports
editing and splicing video, adding filters and face widgets, as well as green scree keying directly on the phone, offering
your app users a diverse array of options to create and edit their content.

More Media SDKs
In addition to Player SDK, we also provide MLVB, Player and Effect SDKs to quickly meet different applications
requirement. You can choose the appropriate SDK you need. If you need both MLVB, UGSV, Player functions, you。

can also choose to download the All-In-One SDK ﻿UGSV SDKMLVB SDK
Player SDK
TRTC SDK
All-In-One SDK©2013-2022 Tencent Cloud. All rights reserved.

Page 6 of 17

User Generated Short Video SDKFeatures：Last updated 2024-07-15 18:07:35
The UGSV SDK offers features including video production (shooting, editing, splicing, and special effects), playback,and sharing. We provide an iOS SDK and an Android SDK.

To use the UGSV SDK, you need to purchase a UGSV license. The UGSV license comes in four types: Lite,Standard, Premium and Template- based Editing. If you need Premium or Template-based Editing, pleasesubmit a ticket to contact us for integration. The features supported by different types are listed in the table below:

ModuleFeatureDescription

Lite
LicenseStandard
LicensePremium
LicenseTemplatebased
Editing
LicenseLicensePrice(USD/year)

Pricing of Licenses

1,899

9,999

49,99979,999BeautyEffects

Advancedbeautification

Apply effects including
big eyes, slim face, V
shape, slim chin, short

Beauty effects-related features are value-added
capabilities, and the UGSV SDK does not support
them. If you need to use them in combination,©2013-2022 Tencent Cloud. All rights reserved.

Page 7 of 17

User Generated Short Video SDK

Animatedstickers

face, and slim nose,

please purchase the Tencent Effect SDK to unlock

and adjust thethe Beauty Effects feature module.

strength

Learn more about Tencent Effect SDK>>﻿
Tencent Effect SDK‘s Pricing Overview>>﻿

Apply face reshaping

Purchase Tencent Effect SDK>>﻿

effects and stickers

Integrating Tencent Effect into UGSV SDK>>﻿

based on facialrecognition
technology
Change theAI-based keying

background to an
animated image,PowerPoint, or otherbackground image

Green screen
keyingReplace the green
background of a video
with an animatedimage, PowerPoint, orother image
We provide acomplete set of UIinteraction source

UI

Custom UI

code in the UGSV
demo app. You canreuse the code

✓

✓

✓

✓

✓

✓

✓

-

✓

✓

✓

-

✓

✓

✓

-

✓

✓

✓

-

directly or customize
your own UI based onitshooting

Shoot videos in the
Aspect ratio

Video qualityselection

Shooting control

aspect ratio of 16:9,4:3, or 1:1
Shoot videos in SD,HD, or FHD and at a
specified bitrate,frame rate, and GOP
Switch the camera
and adjust brightness
during shooting

Duration limits

Set the maximum andminimum video©2013-2022 Tencent Cloud. All rights reserved.

Page 8 of 17

User Generated Short Video SDK

duration allowed
Watermarking

Add a watermark to
the video shot×✓✓-

Focal length

Adjust the focal length
during shooting✓✓✓-

Focus mode

Auto or manual focus✓✓✓-

Segment-based

Pause shooting togenerate a video✓✓✓-shootingsegment, which canbe deleted

PhotoTake photos×✓✓-

Speed change

Shoot a video in slow
or fast motion

×✓✓-Background

Select a local MP3 fileas the background

×✓

✓

-×✓✓

-✓✓✓

-✓✓

✓

-

music

Voice
change/reverbmusic before shooting
Select a voicechanging effect (suchas girl or man) or
reverb effect (such as
karaoke room or hall)
before shooting
Swipe to preview theFilters

video with different
filters applied;customize filters; set
the filter strength

Basicbeautification

Apply effects including
smooth skin,brightening, and rosyskin and adjust thestrengthEditing

Quick import

Quickly import videos✓✓✓-Hybrid import

Facilitates the hybrid××✓-

importation of multiple
images and videos.

©2013-2022 Tencent Cloud. All rights reserved.

Page 9 of 17

User Generated Short Video SDK

Enables the croppingof video frames,
Image cropping

including aspect ratio
cropping and angle
adjustment.

×

×

✓

-

✓

✓

✓

-×

×

✓

-

Picture-inpicture

Enables the overlay ofvideos on a primary
track, producing video
files with anembedded picture-inpicture effect.

××

✓

-

Bitrate setting

Generate a video atthe specified bitrate✓✓✓-Thumbnail
generation

Capture a video frame
at the specified time touse as the thumbnail✓

✓

✓

-✓✓

✓

-×✓

✓

-×✓

✓

-×✓

✓

-

Create a video clip
Video clippingfrom an original videoby specifying a startand end time
Facilitates swift

Videosegmentation

segmentation ofvideos and allows forthe editing of theresultant video clips.

Move the cursor
Preview byframe

Filters

Time effects

across the timeline topreview a video at a
specific time point
Apply filters and set
the filter strength
Apply time effects to avideo such as
reverse, loop, andslow motion

Special effects

Add special effects
such as soul out, rock©2013-2022 Tencent Cloud. All rights reserved.

Page 10 of 17

User Generated Short Video SDK

light, split screen, andphantom
Select a preset trackor local MP3 file toBackgroundmusic

use as thebackground music(you can clip the track
and adjust the musicvolume)

×

✓

✓

-

Multiple BGM
importSupports configuringmultiple backgroundmusic tracks.

××

✓

-

Static/Animatedstickers

Add an animated orstatic sticker to thespecified segment of avideo at the specifiedlocation×

✓✓

-×

✓✓-××

✓-×

✓✓

-

Basic subtitles

Add text of a specificstyle (such as speechbubbles) to thespecified segment of avideo at the specified
location

Advanced
subtitles

Offers the capability toedit subtitles invarious styles,
including font, color,size, ornate lettering,and decorations.
Add transition effects

Imagetransitions

Video
splicingsuch as rotate andfade between multiple
images and convert
the images into avideo

Splicing

Splice videos in thespecified sequence×✓✓-Co-shooting

Shoot a video while×✓✓-playing an existing©2013-2022 Tencent Cloud. All rights reserved.

Page 11 of 17

User Generated Short Video SDKvideo and splice thetwo videos into one
split-screen video

One-click export
Videoexport

Playback✓

✓

✓

-✓✓

✓

-✓✓

✓

-✓✓

✓

-××

✓

✓

×××

✓

Supports video
Custom exportVideo
uploadEnables video
exportation at a
specified quality level.

Upload to VOD

VOD player

exportation withdesignated resolution,
bitrate, frame rate,and encoding format.
VOD offers services
such as media
management andcontent moderation
A VOD player-based,open-source solutionthat integrates
features including
data pulling,orientation change,
definition selection,
on-screen comments,
and time shifting
We offer an integrated
suite of material
creation tools,supporting a wide

Material creation tools

array of special effects
production including
filters, stickers,
subtitles, animations,transitions, and thecreation of identical
templates for importand use.

Template cloning

We provide thecapability to swiftly
edit videos to achieve
desired effects based©2013-2022 Tencent Cloud. All rights reserved.

Page 12 of 17

User Generated Short Video SDK

on templates,including 20 free
templates, withsupport for the importand use of custom
templates.

©2013-2022 Tencent Cloud. All rights reserved.

Page 13 of 17

User Generated Short Video SDK

Use Cases：

Last updated 2022-01-06 11:24:50

Creative short videos for social media
UGSV enables you to create, upload and share short and creative mobile videos in real time. You can use a variety offeatures, including beauty filters, animated widgets, special effects, green screen keying, intelligent clipping andsplicing.

ChatUGSV allows you to shoot and share short videos in real time while chatting on your mobile, rendering the experience
more entertaining than the traditional text and images messaging. You can add design elements to your video
captions for efficient and lively interaction.

Video news
You can use UGSV to shoot and share newsreels in real time, which are easier to digest and more engaging than thetraditional text- and image-based news. The fast upload, intelligent editing and cloud storage features of UGSV help
you efficiently extend the outreach of your newsreels.

Consultation
With UGSV, professional consultants can record short videos and use engaging captions to answer inquiries,improving business efficiency and accuracy.

eSports highlights
During eSports live streaming, you can use UGSV to shoot and edit video footages on the spot, and quickly share thecontent with viewers across the Internet. The special effects and intelligent clipping features can make your videos
even more eye-catching.

©2013-2022 Tencent Cloud. All rights reserved.

Page 14 of 17

User Generated Short Video SDKConcepts：

Last updated 2022-11-14 18:18:58

LicenseCertain VOD packages come with licenses for Tencent Cloud media SDKs, which you can use to activate UGSV
features in the SDKs.

：Note

After you purchase a VOD package, you need to bind the license to your application in the console. Make sure
you double-check the bundle ID and package name when binding a license. The information cannot be
modified after submission.

Player signature
A player signature is used to authorize a playback device to play videos. If your application playback service issues avalid signature to a device, the device will be able to play the video within the signature’s validity period. A player
signature is required for playback in one of the following cases:
You have enabled key hotlink protection for your playback domain.
A non-default player configuration is used.
The video to be played is encrypted.

：Note

For more information on player signatures and how to use them, see Player Signature.

Frame rate
Frame rate refers to the number of frames in a video per unit time. It is measured in fps (frames per second).

BitrateBitrate refers to the number of bits required per unit time to play continuous media (such as compressed audio orvideo). It is measured in bit/s (or bps).

Transcoding
Transcoding converts a video bitstream into another one. It changes the codec, resolution, bitrate, and otherparameters of the bitstream for playback on different devices in various network environments. This feature can©2013-2022 Tencent Cloud. All rights reserved.

Page 15 of 17

User Generated Short Video SDK

achieve the following:
Increase compatibility: Transcode a source video to formats (MP4 for example) that are compatible with more typesof devices for smooth playback.
Increase bandwidth adaptability: Transcode a source video into different video qualities such as smooth, SD, HD,and FHD. End users can select the bitrate that best suits their network conditions.
Improve playback efficiency: Move the moov atom from the end of an MP4 file to the beginning, so that a video canbe played before it is downloaded completely.
Watermark: Add a watermark to a video for copyright protection.
Reduce bandwidth consumption: The use of more advanced codec technology (such as H.265) makes it possible
to significantly reduce the bitrate of a video while maintaining its quality, which helps reduce bandwidthconsumption.

Keyframe
Frame is the basic unit of videos. A video consists of multiple continuous frames.

Timestamp
Timestamp is the current time of data.

GOP
A GOP (group of pictures) refers to a collection of successive pictures within an MPEG encoded video stream. It starts
with an I-frame and ends with the next I-frame. A GOP can contain the following types of pictures:I-frame: Intra encoded picture. It is a fixed image independent of other image types. Each GOP begins with this typeof image.
P-frame: Predictive coded picture. It contains difference information relative to the previous I or P frame.
B-Frame: Bidirectionally predictive coded picture. It contains difference information relative to the previous orensuing I or P frame.
The number of frames within a GOP is called GOP length.

Codec
A video codec refers to a program or a device that can compress or decompress (video decoding) digital videos.
Common codecs include:
H.26x series: Standards developed by the International Telecommunication Union (ITU), among which the mostpopular is H.264. H.265 is the successor of H.264 and offers a doubled compression rate compared to H.264, yet
H.265 is not widely used due to patent and other reasons.

©2013-2022 Tencent Cloud. All rights reserved.

Page 16 of 17

User Generated Short Video SDKMPEG series: Codec standards developed by Moving Picture Experts Group (MPEG) under International
Organization for Standardization (ISO).
Other series such as VP8 and VP9 developed by Google and RealVideo developed by RealNetworks

Event notification
Operations in VOD, such as video uploading, deleting, and processing, are referred to as events. It may take sometime for an operation to be completed, and once it is completed, VOD will notify your application service of the result.
This is an event notification.

©2013-2022 Tencent Cloud. All rights reserved.

Page 17 of 17