转码模板

Example

GET 水印模板

https://global.talk-cloud.net/vod/webapi/media/template

参数名 必选 类型 说明
Content-Type string application/json
Accept string application/json
version string 版本号:(预设:v2)
Tk-authkey string 企业Key
Timestamp string token生产时间:(预设:1641600967)
Tk-token string 加密token:(预设:59O8J455S192Cw82f5bfxVB052NhsUpK9ToBVw==)
参数名 类型 说明
result int 0成功 非0失败
msg string 接口消息
data objec 数据
data.quality string 视频画质
data.templateGroupName string 模板名称
data.videoEncode string 视频编码
data.frameRate string 视频帧率
data.audioEncode string 音频编码
data.packageFormat string 封装格式
data.templateId string 模板id
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
    "result": 0,
    "data": [
        {
            "quality": "360",
            "templateGroupName": "STD-H264-MP4-360P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "MP4",
            "templateId": "100010"
        },
        {
            "quality": "540",
            "templateGroupName": "STD-H264-MP4-540P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "MP4",
            "templateId": "100020"
        },
        {
            "quality": "720",
            "templateGroupName": "STD-H264-MP4-720P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "MP4",
            "templateId": "100030"
        },
        {
            "quality": "1080",
            "templateGroupName": "STD-H264-MP4-1080P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "MP4",
            "templateId": "100040"
        },
        {
            "quality": "1440",
            "templateGroupName": "STD-H264-MP4-1440P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "MP4",
            "templateId": "100070"
        },
        {
            "quality": "2160",
            "templateGroupName": "STD-H264-MP4-2160P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "MP4",
            "templateId": "100080"
        },
        {
            "quality": "360",
            "templateGroupName": "STD-H264-HLS-360P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "HLS",
            "templateId": "100210"
        },
        {
            "quality": "540",
            "templateGroupName": "STD-H264-HLS-540P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "HLS",
            "templateId": "100220"
        },
        {
            "quality": "720",
            "templateGroupName": "STD-H264-HLS-720P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "HLS",
            "templateId": "100230"
        },
        {
            "quality": "1080",
            "templateGroupName": "STD-H264-HLS-1080P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "HLS",
            "templateId": "100240"
        },
        {
            "quality": "1440",
            "templateGroupName": "STD-H264-HLS-1440P",
            "videoEncode": "H.264",
            "frameRate": "25 ",
            "audioEncode": "AAC",
            "packageFormat": "HLS",
            "templateId": "100270"
        },
        {
            "quality": "2160",
            "templateGroupName": "STD-H264-HLS-2160P",
            "videoEncode": "H.264",
            "frameRate": "25",
            "audioEncode": "AAC",
            "packageFormat": "HLS",
            "templateId": "100280"
        }
    ],
    "msg": "成功"
}

© 2016-2023 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号