全部产品
云市场

获取云剪辑工程素材

更新时间:2019-02-15 13:48:56

描述

获取云剪辑工程的待剪辑素材列表。

注意:在剪辑过程中,素材可添加到时间线上,但不一定完全被使用。

请求参数

名称 类型 是否必须 描述
Action String 操作接口名,系统规定参数。取值:GetEditingProjectMaterials
ProjectId String 云剪辑工程ID。
Type String 素材类型。取值范围:
  • video(视频)
  • audio(纯音频)

返回参数

名称 类型 描述
RequestId String 请求ID。
MaterialList Material[] 素材列表。具体结构定义参见 Material

API示例

请求示例

  1. http://vod.cn-shanghai.aliyuncs.com/?Action=GetEditingProjectMaterials&ProjectId=fb2101bf24bf41c78b2754cb318787dc&Format=JSON&<公共参数>

返回示例

JSON格式

  1. {
  2. "RequestId": "746FFA07-8BBB-468B-8BB1-3E94E3B2915E",
  3. "MaterialList": {
  4. "Material": [
  5. {
  6. "CoverURL": "http://vod.testtestapasaravideo.cn/aivideocover/46fa444aa38d77ae3c44065cb9250f6c/Index_1.jpg",
  7. "Status": "Normal",
  8. "Sprites": {
  9. "Sprite": [
  10. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_big_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00001.jpg%3Fauth_key%3D"
  11. ]
  12. },
  13. "CreateTime": "2017-10-18 21:42:46",
  14. "Duration": 15.16,
  15. "Snapshots": {
  16. "Snapshot": [
  17. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00001.jpg%3Fauth_key%3D",
  18. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00002.jpg%3Fauth_key%3D",
  19. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00003.jpg%3Fauth_key%3D",
  20. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00004.jpg%3Fauth_key%3D",
  21. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00005.jpg%3Fauth_key%3D",
  22. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00006.jpg%3Fauth_key%3D",
  23. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00007.jpg%3Fauth_key%3D",
  24. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F0f325c15738d4bfa85456f2a7e91b2ff00008.jpg%3Fauth_key%3D"
  25. ]
  26. },
  27. "MaterialId": "0f325c15738d4bfa85456f2a7e91b2ff",
  28. "ModifyTime": "2017-10-18 21:42:51",
  29. "Title": "487_副本 6",
  30. "Size": 1682694
  31. },
  32. {
  33. "CoverURL": "http://vod.testtestapasaravideo.cn/aivideocover/46fa444aa38d77ae3c44065cb9250f6c/Index_1.jpg",
  34. "Status": "Normal",
  35. "Sprites": {
  36. "Sprite": [
  37. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_big_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100001.jpg%3Fauth_key%3D"
  38. ]
  39. },
  40. "CreateTime": "2017-10-18 21:42:17",
  41. "Duration": 15.16,
  42. "Snapshots": {
  43. "Snapshot": [
  44. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100001.jpg%3Fauth_key%3D",
  45. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100002.jpg%3Fauth_key%3D",
  46. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100003.jpg%3Fauth_key%3D",
  47. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100004.jpg%3Fauth_key%3D",
  48. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100005.jpg%3Fauth_key%3D",
  49. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100006.jpg%3Fauth_key%3D",
  50. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100007.jpg%3Fauth_key%3D",
  51. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F07c2b35dd2f342da98b8c3e45e456a4100008.jpg%3Fauth_key%3D"
  52. ]
  53. },
  54. "MaterialId": "07c2b35dd2f342da98b8c3e45e456a41",
  55. "ModifyTime": "2017-10-18 21:42:22",
  56. "Title": "487_副本 6",
  57. "Size": 1682694
  58. },
  59. {
  60. "CoverURL": "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100001.jpg%3Fauth_key%3D",
  61. "Status": "Normal",
  62. "Sprite": {
  63. "Sprite": [
  64. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_big_snapshot%2F85befc4118b84c25a7366723e53b80b100001.jpg%3Fauth_key%3D"
  65. ]
  66. },
  67. "CreateTime": "2017-10-19 10:48:12",
  68. "Duration": 15.16,
  69. "Snapshots": {
  70. "Snapshot": [
  71. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100001.jpg%3Fauth_key%3D",
  72. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100002.jpg%3Fauth_key%3D",
  73. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100003.jpg%3Fauth_key%3D",
  74. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100004.jpg%3Fauth_key%3D",
  75. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100005.jpg%3Fauth_key%3D",
  76. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100006.jpg%3Fauth_key%3D",
  77. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100007.jpg%3Fauth_key%3D",
  78. "http%3A%2F%2Fvod.testtestapasaravideo.cn%2Fmaterial_small_snapshot%2F85befc4118b84c25a7366723e53b80b100008.jpg%3Fauth_key%3D"
  79. ]
  80. },
  81. "MaterialId": "85befc4118b84c25a7366723e53b80b1",
  82. "ModifyTime": "2017-10-19 10:48:17",
  83. "Title": "487_",
  84. "Size": 1682694
  85. }
  86. ]
  87. }
  88. }

SDK示例

建议使用 服务端SDK 来调用API,此API各语言调用的示例代码,请参考如下: