全部产品
云市场

ListVideoAudios

更新时间:2019-02-25 14:46:03

描述

获取一个视频的音频信息。

请求参数

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 的唯一标识。

示例

请求示例

  1. POST https://imm.cn-shanghai.aliyuncs.com
  2. ?Action= ListVideoAudios
  3. &Project=test
  4. &SetId=test-set
  5. &VideoUri=oss://xxx/test/1.mp4

此处的示例,目的是展示关键参数,还需要其他的公共参数才能正常调用,推荐使用 SDK 来发送

成功返回示例

  1. {
  2. "VideoUri": "oss://xxx/test/1.mp4",
  3. "SetId": "Set-fc2ff7fb-b3b6-43a3-941d-5adae620d2ae",
  4. "NextMarker": "",
  5. "RequestId": "0FE6CA16-A536-4A71-8FFB-5ABCFDDA8243",
  6. "Audios": [
  7. {
  8. "ProcessStatus": "Success",
  9. "ProcessFailReason": “”,
  10. "SourceType": "video",
  11. "SourceUri": "oss://xxx/test/1.mp4",
  12. "SourcePosition": "00000000.000",
  13. "AudioTextsStatus": "Success",
  14. "AudioTextsFailReason": "",
  15. "ModifyTime": "2018-12-26T15:39:08.153Z",
  16. "RemarksB": "",
  17. "RemarksA": "",
  18. "RemarksC": "",
  19. "RemarksD": "",
  20. "ExternalId": "",
  21. "ProcessModifyTime": "2018-12-26T15:41:41.841Z",
  22. "AudioTexts": [
  23. {
  24. "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.",
  25. "ChannelId": 0,
  26. "Library": "English",
  27. "EmotionValue": 7,
  28. "BeginTime": 0,
  29. "SpeechRate": 1075,
  30. "SilenceDuration": 0,
  31. "EndTime": 20.025
  32. },
  33. {
  34. "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.",
  35. "ChannelId": 0,
  36. "Library": "English",
  37. "EmotionValue": 7,
  38. "BeginTime": 20.15,
  39. "SpeechRate": 1018,
  40. "SilenceDuration": 0,
  41. "EndTime": 40.175
  42. },
  43. ],
  44. "AudioTextsModifyTime": "2018-12-26T15:41:41.841Z",
  45. "AudioUri": "oss://xxxx/audio/0.000.wav",
  46. "CreateTime": "2018-12-26T15:39:08.153Z",
  47. "AudioDuration": 200
  48. }
  49. ]
  50. }