tencent cloud

Video on Demand

Remaster

Download
Focus Mode
Font Size
Last updated: 2025-05-16 10:30:24
Audio and video quality rebirth, which uses AI to perform image quality restoration and enhancement, generate audio, and create new videos with better screen quality. Audio and video quality rebirth includes the following capabilities:
Capability
Capability Description
Remove Aliasing (Jaggies)
Due to multiple compressions during transcoding or multiple transcoding processes, block effect, ringing effect, chromatic aberration, and mosquito noise are introduced, causing some visual distortions in the video. Decompression distortion can effectively repair the distortions introduced by encoding.
Detail enhancement
Due to the quality of the capture camera, post-production save, and the transcoding process, video details are not clear enough. Detail enhancement focuses on the details that need attention in the video, making the image content clearer and more enriching.
Face enhancement
Face detection enhances the facial areas of particular interest to the human eye in videos, making the details of this region clearer and improving subjective perception.
Color enhancement
Due to color issues of the shooting equipment or video storage problems, the video color may be distorted or enhanced. Color enhancement makes the image closer to real colors and enhances it to a certain extent to meet human eye preferences.
Low-light enhancement
Due to environmental conditions and hardware limitations of the shooting camera, the brightness and contrast of the scenes captured in some scenarios are missing, resulting in dark images or invisible details in dark areas of the image. Therefore, dark scene enhancement can automatically identify the scene and adaptively enhance the image. Especially in dark scenes, it can significantly improve the detail and contrast of dark areas, enhancing the subjective human eye quality.
SDR to HDR
The ability to identify the beginning and end of a video, SDR to HDR can convert ordinary SDR videos to HDR videos, increase color depth to 10-bit, obtain a wider color gamut, and display more color details to provide higher quality video content.
Audio and Video Noise Cancellation
Due to random noise introduced by the camera and environment during video shooting, noise reduction services are provided here to eliminate random noise in the image and sound while preserving details.
Intelligent Frame Interpolation
By adding new frames between original video frames, it provides a smoother and silkier visual effect to the user. Additionally, it can help address image quality issues such as lag and jitter in old videos with low frame rates.
Remaster is an offline task, and the process is prepare a task template + initiate the task synchronously + obtain the task result asynchronously.

Remaster Template

For typical use cases, VOD offers the following preset templates (custom templates are not supported for now):

Template ID

Use Cases
Description
100
Blurry face
In scenarios where faces frequently appear and occupy significant portions of the screen, such as news videos, entertainment videos, and movies and TV series. Due to the conditions of the shooting equipment or cost considerations, videos may be re-stored and compressed, resulting in unclear facial features, less sharp and clear object edges, and blurred object surface textures. This template can intelligently restore facial details, reduce image blurriness, and enhance object details.
110
Live recording quality degradation
For scenarios like game live recording, the live stream is usually transcoded before recording to address issues such as abnormal recording files caused by stream interruptions. However, the transcoding process can cause video compression, leading to image distortion and blurriness. This template primarily performs decompression distortion restoration, effectively restoring image details and enhancing visual effects.
121/122
Low video resolution
Due to shooting conditions, storage costs, and other factors, some archived videos are stored at low resolution. When these videos need to be played on higher display devices, directly transcoding low-resolution videos to high-resolution can result in even blurrier images. Using VOD's super resolution feature, combined with low-quality restoration and key detail enhancement AI processing, ensures that the upscaled video maintains high quality.
121: The resolution of the super-resolved video is 720P (short side 720 pixels, long side proportionally scaled according to the original video).
122: The resolution of the super-resolved video is 1080P (short side 1080 pixels, long side proportionally scaled according to the original video).

Example of Preset Template Quality Rebirth Effect

Template ID
Stacked Comparison (Original Video on the Left, Reborn Video on the Right)
Original Video Frame
Reborn Video Frame
100









110









122










Task Initiation

Initiate a Remaster Task. Currently, it supports direct initiation through server-side API. The details are as follows:
Direct initiation through server-side API: Call the server-side API Remaster, and set the input parameter Definition according to the video scenario to the corresponding template ID in preset templates.

Getting Result

After initiating a Remaster task, you can wait for Result Notification asynchronously or perform a Task Query synchronously to get the execution result of the Remaster task. Below is an example of getting the result notification in normal callback mode after the Remaster task is initiated (the fields with null value are omitted):
{
"EventType": "QualityEnhanceComplete",
"QualityEnhanceCompleteEvent": {
"TaskId": "1400155958-QualityEnhance-2947467bbfaad305b5dc9a67462badf1t",
"Status": "FINISH",
"ErrCode": 0,
"ErrCodeExt": "",
"Message": "",
"Progress": 100,
"Input": {
"FileId": "32708888009235541234",
"Definition": 100
},
"Output": {
"MediaName": "rebuildMediaGenFile",
"ExpireTime": "0000-00-00T00:00:00Z",
"ClassId": 0,
"FileType": "mp4",
"FileId": "11341116332502498899",
"FileUrl": "http://1400155958.vod2.myqcloud.com/93e1ebabvodcq1400155958/8e67889511377777332502423456/f0.mp4"
},
"MetaData": {
"AudioDuration": 0,
"AudioStreamSet": [],
"Bitrate": 4727690,
"Container": "mov,mp4,m4a,3gp,3g2,mj2",
"Duration": 31,
"Height": 540,
"Md5": "",
"Rotate": 0,
"Size": 18319800,
"VideoDuration": 31,
"VideoStreamSet": [
{
"Bitrate": 4725032,
"Codec": "h264",
"CodecTag": "",
"Codecs": "",
"DynamicRangeInfo": {
"HDRType": "",
"Type": ""
},
"Fps": 25,
"Height": 540,
"Width": 960
}
],
"Width": 960
},
"SessionContext": "",
"SessionId": ""
}
}



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback