Consulte les détails d'une configuration de transcodage par identifiant de groupe de modèles de transcodage.
Description de l'opération
Obtient les informations relatives à un groupe de modèles unique, y compris les informations de configuration de tous les modèles de transcodage du groupe.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
vod:GetTranscodeTemplateGroup |
get |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| TranscodeTemplateGroupId |
string |
Oui |
L'identifiant du groupe de modèles de transcodage. |
a591f697c7167*****6ae1502142d0 |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant de la requête. |
6730AC93-7B12-4B*****7F-49EE1FE8BC49 |
| TranscodeTemplateGroup |
object |
Les données du groupe de modèles de transcodage. |
|
| CreationTime |
string |
L'heure de création du groupe de modèles. L'heure est au format yyyy-MM-ddTHH:mm:ssZ (UTC). |
2018-12-12T10:20:51Z |
| IsDefault |
string |
Indique si le groupe de modèles est celui par défaut. Valeurs valides :
|
NotDefault |
| AppId |
string |
L'identifiant de l'application. |
app-**** |
| TranscodeTemplateGroupId |
string |
L'identifiant du groupe de modèles de transcodage. |
a59b11f697c716*****6ae1502142d0 |
| Name |
string |
Le nom du groupe de modèles. |
test |
| ModifyTime |
string |
L'heure de la dernière modification du groupe de modèles. L'heure est au format yyyy-MM-ddTHH:mm:ssZ (UTC). |
2018-12-12T11:20:51Z |
| Locked |
string |
Indique si le groupe de modèles est verrouillé. Valeurs valides :
|
Enabled |
| TranscodeTemplateList |
array<object> |
La liste des configurations des modèles de transcodage. |
|
|
object |
|||
| Type |
string |
The templatetype. Valid values:
|
Normal |
| Video |
string |
The video stream transcoding configuration parameters (JSON string). |
{"Codec":"H.264","Bitrate":"900","Width":"960","Remove":"false","Fps":"30"} |
| TransConfig |
string |
The conditional transcoding parameters. Set this parameter if you want to perform basic logic checks based on the bitrate or resolution of the source file before outputting the transcoded video (JSON string). |
{"IsCheckReso":"true","IsCheckResoFail":"false","IsCheckVideoBitrate":"false","IsCheckVideoBitrateFail":"false","IsCheckAudioBitrate":"false","IsCheckAudioBitrateFail":"false"} |
| Rotate |
string |
The video rotation parameter. Controls the rotation angle of the video. For example, if set to 180, the video is flipped upside down. Value range: |
90 |
| TranscodeTemplateId |
string |
The transcoding template ID. |
696d29a11erc057*****a3acc398d02f4 |
| TemplateName |
string |
The transcoding template name. |
test |
| EncryptSetting |
string |
The transcoding encryption configuration. |
"EncryptType":"Private" |
| Audio |
string |
The audio stream transcoding configuration parameters (JSON string). |
{"Codec":"AAC","Remove":"false","Bitrate":"44","Samplerate":"32000","Channels":"2","Profile":"aac_low"} |
| TranscodeFileRegular |
string |
The custom transcoding output path. |
{MediaId}/transcoce_1 |
| Container |
string |
The container format for encapsulating audio and video streams (JSON string). |
"Format":"m3u8" |
| Clip |
string |
The video clipping configuration (JSON string). For example, set this parameter if you want to extract 5 seconds of content from a video to generate a new video. |
{"TimeSpan":{"Seek":"1","Duration":"5"} |
| Definition |
string |
The definition mark for normal transcoding templates:
The definition mark for Narrowband HD 1.0 built-in transcoding templates:
Remarque
|
SD |
| PackageSetting |
string |
The packaging configuration. Only HLS adaptive bitrate streaming packaging and DASH packaging are supported (JSON string). |
"PackageType":"HLSPackage","PackageConfig":{ "BandWidth":"900000" } |
| SubtitleList |
string |
The subtitle configuration (JSON string). |
[{"SubtitleUrl":"http://outin-test.oss-cn-shanghai.aliyuncs.com/subtitles/c737fece-14f1-4364-b107-d5f7f8edde0e.ass","CharEncode":"utf-8"}] |
| MuxConfig |
string |
The segment setting parameters for transcoding. Required for HLS (JSON string). |
"Segment": { "Duration":"6" } |
| WatermarkIds |
array |
The IDs of associated image and text watermark templates. |
|
|
string |
The IDs of associated image and text watermark templates. |
"USER_DEFAULT_WATERMARK","ddddddddd" |
|
| TraceMark |
string |
The tracing watermark information. |
{ "Enable": true } |
| CopyrightMark |
string |
The copyright watermark information. |
{ "Content": "Test copyright watermark text" } |
Exemples
JSON format
{
"RequestId": "6730AC93-7B12-4B*****7F-49EE1FE8BC49",
"TranscodeTemplateGroup": {
"CreationTime": "2018-12-12T10:20:51Z",
"IsDefault": "NotDefault",
"AppId": "app-****",
"TranscodeTemplateGroupId": "a59b11f697c716*****6ae1502142d0",
"Name": "test",
"ModifyTime": "2018-12-12T11:20:51Z",
"Locked": "Enabled",
"TranscodeTemplateList": [
{
"Type": "Normal",
"Video": "{\"Codec\":\"H.264\",\"Bitrate\":\"900\",\"Width\":\"960\",\"Remove\":\"false\",\"Fps\":\"30\"}",
"TransConfig": "{\"IsCheckReso\":\"true\",\"IsCheckResoFail\":\"false\",\"IsCheckVideoBitrate\":\"false\",\"IsCheckVideoBitrateFail\":\"false\",\"IsCheckAudioBitrate\":\"false\",\"IsCheckAudioBitrateFail\":\"false\"}",
"Rotate": "90",
"TranscodeTemplateId": "696d29a11erc057*****a3acc398d02f4",
"TemplateName": "test",
"EncryptSetting": "\"EncryptType\":\"Private\"",
"Audio": "{\"Codec\":\"AAC\",\"Remove\":\"false\",\"Bitrate\":\"44\",\"Samplerate\":\"32000\",\"Channels\":\"2\",\"Profile\":\"aac_low\"}",
"TranscodeFileRegular": "{MediaId}/transcoce_1",
"Container": "\"Format\":\"m3u8\"",
"Clip": "{\"TimeSpan\":{\"Seek\":\"1\",\"Duration\":\"5\"}",
"Definition": "SD",
"PackageSetting": "\"PackageType\":\"HLSPackage\",\"PackageConfig\":{ \"BandWidth\":\"900000\" }",
"SubtitleList": "[{\"SubtitleUrl\":\"http://outin-test.oss-cn-shanghai.aliyuncs.com/subtitles/c737fece-14f1-4364-b107-d5f7f8edde0e.ass\",\"CharEncode\":\"utf-8\"}]",
"MuxConfig": "\"Segment\": { \"Duration\":\"6\" }",
"WatermarkIds": [
"\"USER_DEFAULT_WATERMARK\",\"ddddddddd\""
],
"TraceMark": "{\n\t\"Enable\": true\n}",
"CopyrightMark": "{\n\"Content\": \"Test copyright watermark text\"\n}"
}
]
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.