Watermark Feature Introduction
Overview
Media Processing Service (MPS) supports the following types of watermarks:
|
Digital watermark | Enables the embedding of custom text information invisible to the naked eye into videos without affecting the visual quality and integrity. Both basic digital watermark and NAGRA NexGuard digital watermark are supported. |
Visible watermark | Supports adding images with specified formats, such as PNG and JPG, or custom text to videos in a visible form. This solution is suitable for scenarios such as copyright protection and brand promotion. |
Integration Prerequisites
Before using this feature, you need to complete the following preliminary operations:
Register/Log in to a Tencent Cloud account, activate MPS, and complete the service role authorization.
If you use a Tencent Cloud sub-account, ensure the account has sufficient permissions to use MPS.
Digital Watermark
MPS digital watermark supports two versions: basic copyright watermark and NAGRA NexGuard forensics watermark.
|
Basic copyright watermark | Basic version: embeds invisible text information into videos without affecting the visual quality and integrity. |
NAGRA NexGuard forensics watermark | NAGRA NexGuard is a leading digital watermark solution worldwide, featuring strong concealment and possessing broadcasting-grade anti-removal capabilities. It is tailored for piracy tracking and copyright protection of high-value content, such as movies and dramas. |
Billing Instructions
Digital Watermark Addition
"Digital watermark addition" is billed based on the duration of the output video. For pricing details, see Billing Instructions. Since the "digital watermark addition" feature depends on the "audio/video transcoding" or "audio/video enhancement" features, you need to associate a digital watermark template when initiating a transcoding or enhancement task to implement digital watermark addition. Therefore, fees for both "digital watermark addition" and "audio/video transcoding"/"audio/video enhancement" features will be incurred. Digital Watermark Extraction
Watermark extraction is billed based on the number of calls, with each extraction task supporting only a single video. For pricing details, see Billing Instructions. Digital Watermark Template Creation
2. Click Create Watermark Template, select a watermark type, and enter the template name and watermark content to create a digital watermark template.
Note:
Each user can create up to 50 NexGuard forensics watermark templates. Once created, modification or deletion by users is not supported. To modify or delete templates, contact us for processing in the background.
Initiation of Digital Watermark Addition Tasks
The digital watermark addition feature needs to depend on the audio/video transcoding feature. You can add a digital watermark by associating a digital watermark template when initiating a transcoding task.
Log in to the MPS console, go to the Create Task page, create an offline file processing task, select an audio/video transcoding node, enable the digital watermark feature in the pop-up settings panel, and associate a digital watermark template. If the ProcessMedia API is called to initiate a task, the parameter example is as follows: {
"InputInfo": {
"Type": "URL",
"UrlInputInfo": {
"Url": "https://test-1234567.cos.ap-guangzhou.myqcloud.com/video/test.mp4"
}
},
"OutputStorage": {
"Type": "cos",
"CosOutputStorage": {
"Bucket": "test-1234567",
"Region": "ap-guangzhou"
}
},
"MediaProcessTask": {
"TranscodeTaskSet": [
{
"Definition": 101005,
"BlindWatermark": {
"Definition": "1234"
}
}
]
}
}
Automatic Triggering of Tasks
If you want to upload a video file to the Cloud Object Storage (COS) bucket and achieve automatic MPS audio/video transcoding and digital watermark addition according to preset parameters, you can:
1. Click Save This Orchestration when creating a task, and configure parameters such as the triggering bucket and directory in the pop-up window.
3. For video files that are added subsequently under the triggering directory, tasks will be initiated automatically according to the preset process and parameters of the orchestration, and the processed video files are saved to the output path configured by the orchestration.
Note:
It takes 3 to 5 minutes for the orchestration to take effect after being enabled.
Digital Watermark Extraction
Through the detection and extraction of digital watermarks in the transmitted video, the identity of the plagiarist can be recognized, providing a key basis for copyright protection.
Note:
The console currently only supports extracting "basic copyright watermarks". To extract "NexGuard forensics watermarks", submit a ticket to contact us and attach the video file involving suspected unauthorized playback. Log in to the MPS console, go to the Digital Watermark Extraction page, select a video for watermark extraction, and click Extract Watermark. When invoking the ExtractBlindWatermark API to initiate a task, the following serves as a parameter example: {
"Type": "blind-basic",
"InputInfo": {
"Type": "COS",
"CosInputInfo": {
"Bucket": "mycos-123456789",
"Region": "ap-nanjing",
"Object": "/mps_output/blind_watermark/test.mp4"
}
}
}
Visible Watermark
Billing Instructions
There are no additional fees for adding a visible watermark.
Visible Watermark Template Creation
Log in to the MPS console, and go to the Watermark Template page to create a visible watermark template. Image and text watermarks are supported. Initiation of Visible Watermark Addition Tasks
The visible watermark addition feature needs to depend on the audio/video transcoding feature. You can add a visible watermark by associating a visible watermark template when initiating a transcoding task.
Log in to the MPS console, go to the Create Task page, create an offline file processing task, select an audio/video transcoding node, enable the visible watermark feature in the pop-up settings panel, and associate a visible watermark template. Up to 10 visible images or text watermarks can be added.
Note:
When using the audio/video enhancement or screenshot feature, you can also enable the visible watermark addition feature. If the ProcessMedia API is called to initiate a task, the parameter example is as follows: {
"InputInfo": {
"Type": "URL",
"UrlInputInfo": {
"Url": "https://test-1234567.cos.ap-guangzhou.myqcloud.com/video/test.mp4"
}
},
"OutputStorage": {
"Type": "cos",
"CosOutputStorage": {
"Bucket": "test-1234567",
"Region": "ap-guangzhou"
}
},
"MediaProcessTask": {
"TranscodeTaskSet": [
{
"Definition": 101005,
"WatermarkSet": [
{
"Definition": 1234
}
]
}
]
}
}
Automatic Triggering of Tasks