ListVideos
描述
获取多个视频的信息。
请求参数
Parameter | Type | Required | Comment |
---|---|---|---|
Project | string | 是 | Project |
Action | String | 是 | ListVideos |
SetId | string | 是 | SetId |
CreateTimeStart | string | 否 | 创建时间 CreateTime 的起始点,返回的视频均在此时间后加入 Set |
Marker | string | 否 | Marker 翻页标记 |
返回参数
名称 | 类型 | 描述 |
---|---|---|
RequestId | String | 用户发送的每次接口调用请求,无论成功与否,系统都会返回一个唯一识别码 RequestId 给用户 |
VideoUri | String | 视频 Uri |
NextMarker | String | 下一个 Marker 翻页标记 |
Videos | []Video | 视频信息数组 |
SetId | String | 媒体集 Set 的唯一标识。 |
示例
请求示例
POST https://imm.cn-shanghai.aliyuncs.com
?Action= ListVideos
&Project=test
&SetId=test-set
此处的示例,目的是展示关键参数,还需要其他的公共参数才能正常调用,推荐使用 SDK 来发送
成功返回示例
{
"SetId": "Set-fc2ff7fb-b3b6-43a3-941d-5adae620d2ae",
"NextMarker": "",
"RequestId": "B9B7191C-314C-4073-AAC6-FDD48DA15412",
"Videos": [
{
"ProcessStatus": "Processing",
"ProcessFailReason": "",
"CelebrityFailReason": "",
"VideoTagsFailReason": "",
"VideoDuration": 199.6916,
"SourceType": "video",
"CelebrityStatus": "Success",
"VideoUri": "oss://xxx/test/1.mp4",
"Celebrity": [
{
"CelebrityLibraryName": "Stars",
"CelebrityNum": 5,
"CelebrityName": "\u5b8b\u5e86\u9f84"
},
{
"CelebrityLibraryName": "Stars",
"CelebrityNum": 1,
"CelebrityName": "\u5185\u7530\u771f\u793c"
}
],
"VideoTags": [
{
"VideoTagEnName": "Dance",
"VideoTagName": "\u8df3\u821e",
"VideoTagConfidence": 0.277216
},
{
"VideoTagEnName": "Animal",
"VideoTagName": "\u52a8\u7269",
"VideoTagConfidence": 0.0605779
}
],
"VideoTagsModifyTime": "2018-12-24T09:17:31.164Z",
"RemarksB": "",
"VideoWidth": 402,
"SourcePosition": "",
"CelebrityModifyTime": "2018-12-24T09:17:25.582Z",
"RemarksA": "",
"RemarksC": "",
"RemarksD": "",
"ExternalId": "",
"FileSize": 18734738,
"ModifyTime": "2018-12-24T09:17:02.809Z",
"SourceUri": "",
"VideoTagsStatus": "Success",
"VideoHeight": 720,
"CreateTime": "2018-12-24T09:17:02.809Z",
"ProcessModifyTime": "2018-12-24T09:17:02.809Z",
"VideoFormat": ""
},
{
"ProcessStatus": "Success",
"ProcessFailReason": "",
"CelebrityFailReason": "",
"VideoTagsFailReason": "",
"VideoDuration": 611.133333,
"SourceType": "video",
"CelebrityStatus": "Success",
"VideoUri": "oss://xxx/test/2.mp4",
"Celebrity": [
{
"CelebrityLibraryName": "Stars",
"CelebrityNum": 1,
"CelebrityName": "\u97e6\u5b81\u8d24"
}
{
"CelebrityLibraryName": "Stars",
"CelebrityNum": 1,
"CelebrityName": "\u535a\u53e4"
}
],
"VideoTags": [
{
"VideoTagEnName": "Food",
"VideoTagName": "\u98df\u7269",
"VideoTagConfidence": 0.251939
},
{
"VideoTagEnName": "Painting",
"VideoTagName": "\u7ed8\u753b",
"VideoTagConfidence": 0.0113121
}
],
"VideoTagsModifyTime": "2018-12-24T09:24:47.142Z",
"RemarksB": "",
"VideoWidth": 1280,
"SourcePosition": "",
"CelebrityModifyTime": "2018-12-24T09:23:49.289Z",
"RemarksA": "",
"RemarksC": "",
"RemarksD": "",
"ExternalId": "",
"FileSize": 95631732,
"ModifyTime": "2018-12-24T09:23:03.418Z",
"SourceUri": "",
"VideoTagsStatus": "Success",
"VideoHeight": 720,
"CreateTime": "2018-12-24T09:23:03.418Z",
"ProcessModifyTime": "2018-12-24T09:24:32.107Z",
"VideoFormat": ""
}
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。
评论