ListVideoAudios
描述
获取一个视频的音频信息。
请求参数
Parameter | Type | Required | Comment |
---|---|---|---|
Project | string | 是 | Project |
Action | String | 是 | ListVideoAudios |
SetId | string | 是 | SetId |
VideoUri | String | 视频 Uri OSS 地址规则为: oss://bucket/object ,其中 bucket 为和当前 Project 在同一区域的 OSS 桶名, object 为文件路径。 |
|
Marker | string | 否 | Marker 翻页标记 |
返回参数
名称 | 类型 | 描述 |
---|---|---|
RequestId | String | 用户发送的每次接口调用请求,无论成功与否,系统都会返回一个唯一识别码 RequestId 给用户 |
VideoUri | String | 视频 Uri |
NextMarker | String | 下一个 Marker 翻页标记 |
Audios | []Audio | 音频信息数组 |
SetId | String | 媒体集 Set 的唯一标识。 |
示例
请求示例
POST https://imm.cn-shanghai.aliyuncs.com
?Action= ListVideoAudios
&Project=test
&SetId=test-set
&VideoUri=oss://xxx/test/1.mp4
此处的示例,目的是展示关键参数,还需要其他的公共参数才能正常调用,推荐使用 SDK 来发送
成功返回示例
{
"VideoUri": "oss://xxx/test/1.mp4",
"SetId": "Set-fc2ff7fb-b3b6-43a3-941d-5adae620d2ae",
"NextMarker": "",
"RequestId": "0FE6CA16-A536-4A71-8FFB-5ABCFDDA8243",
"Audios": [
{
"ProcessStatus": "Success",
"ProcessFailReason": “”,
"SourceType": "video",
"SourceUri": "oss://xxx/test/1.mp4",
"SourcePosition": "00000000.000",
"AudioTextsStatus": "Success",
"AudioTextsFailReason": "",
"ModifyTime": "2018-12-26T15:39:08.153Z",
"RemarksB": "",
"RemarksA": "",
"RemarksC": "",
"RemarksD": "",
"ExternalId": "",
"ProcessModifyTime": "2018-12-26T15:41:41.841Z",
"AudioTexts": [
{
"Text": "two weeks before leaving office governor jerry brown tonight has issued an executive order directing dna testing be carried out in one of the most shocking and brutal murder cases in southern california history, the victims of the brutal, bloody nineteen eighty three murders were dug in peggy ryan, their ten year old daughter and her eleven year old friend.",
"ChannelId": 0,
"Library": "English",
"EmotionValue": 7,
"BeginTime": 0,
"SpeechRate": 1075,
"SilenceDuration": 0,
"EndTime": 20.025
},
{
"Text": "the blood stained walls of their home in the chino hills section of san bernardino county a shocking remnant of the violent attack they were killed with a hatchet at least two other weapons they had more than a hundred fifty wounds on their bodies only the ryans eight year old son joshua survived the attack despite a slashed throat and a.",
"ChannelId": 0,
"Library": "English",
"EmotionValue": 7,
"BeginTime": 20.15,
"SpeechRate": 1018,
"SilenceDuration": 0,
"EndTime": 40.175
},
],
"AudioTextsModifyTime": "2018-12-26T15:41:41.841Z",
"AudioUri": "oss://xxxx/audio/0.000.wav",
"CreateTime": "2018-12-26T15:39:08.153Z",
"AudioDuration": 200
}
]
}
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。
评论