Domain name for API request: vod.intl.tencentcloudapi.com.
Modifies an audio and video quality detection template.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyQualityInspectTemplate. |
| Version | Yes | String | Common Params. The value used for this API: 2018-07-17. |
| Region | No | String | Common Params. This parameter is not required. |
| Definition | Yes | Integer | Template ID. |
| SubAppId | No | Integer | Video-on-demand (VOD) application ID. For customers who activate on-demand services after December 25, 2023, this field must be set to the app ID when accessing resources in on-demand applications (whether the default application or a newly created application). |
| Name | No | String | Template name. Length limit: 64 characters. |
| Comment | No | String | Transcoding template description. Length limit: 256 characters. |
| Configs.N | No | Array of QualityInspectConfig | Configuration parameters for audio and video quality detection. |
| Strategy | No | QualityInspectStrategy | Spot check policy for audio and video quality inspection. |
| ScreenshotInterval | No | Float | (Not recommended. Use Configs instead.) Frame interception interval in seconds. Minimum value: 1. |
| JitterConfigure | No | JitterConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame jitter and ghosting detection. |
| BlurConfigure | No | BlurConfigureInfoForUpdate | (Not recommended. Use Configs as an alternative.) Control parameters for video frame blur detection. |
| AbnormalLightingConfigure | No | AbnormalLightingConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for low-light and overexposure detection in video frames. |
| CrashScreenConfigure | No | CrashScreenConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video image distortion detection. |
| BlackWhiteEdgeConfigure | No | BlackWhiteEdgeConfigureInfoForUpdate | (Not recommended. Use Configs as an alternative) Control parameters for detecting black edges, white edges, black screen, and white screen in video pictures. |
| NoiseConfigure | No | NoiseConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame noise detection. |
| MosaicConfigure | No | MosaicConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame mosaic detection. |
| QRCodeConfigure | No | QRCodeConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame QR code detection. |
| VoiceConfigure | No | VoiceConfigureInfoForUpdate | (Not recommended. Use Configs as an alternative) Control parameters for audio (mute, bass, pop) detection. |
| QualityEvaluationConfigure | No | QualityEvaluationConfigureInfoForUpdate | (Not recommended. Use Configs instead.) Control parameters for video frame quality evaluation. |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Modify an audio-visual quality inspection template.
POST / HTTP/1.1
Host: vod.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyQualityInspectTemplate
<Common request parameters>
{
"Definition": 20001,
"Name": "testNewName"
}
{
"Response": {
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb04"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InvalidParameterValue | Parameter value error. |
| ResourceNotFound.TemplateNotExist | Resource does not exist: template not found. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários