全部产品
云市场

获取单个云剪辑工程

更新时间:2019-01-17 16:46:16

描述

获取云剪辑工程(视频编辑任务)的详细信息。

请求参数

名称 类型 是否必须 描述
Action String 操作接口名,系统规定参数。取值: GetEditingProject
ProjectId String 云剪辑工程ID

返回参数

名称 类型 描述
RequestId String 请求ID
Project EditingProject 云剪辑工程。具体结构定义参见 EditingProject

API示例

请求示例

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

返回示例

JSON格式

  1. {
  2. "RequestId": "63E8B7C7-4812-46F4-A8AD-0FA56029AC86",
  3. "Project": {
  4. "ProjectId": "25cfc178d2de418baace77aebed6afcd",
  5. "Status": "Normal",
  6. "Duration": 22.66,
  7. "Title": "视频_1508736815000",
  8. "CreateTime": "2017-10-23 13:33:40",
  9. "ModifyTime": "2017-10-23 14:27:26",
  10. "Timeline": "{\"Id\":\"New_Timeline\",\"Name\":\"\",\"Status\":0,\"CreationTime\":\"2017-10-23T13:33:35Z\",\"ModifiedTime\":null,\"Duration\":22.66,\"Size\":0,\"CurrentRuler\":10,\"CurrentPosition\":16.92,\"VideoTracks\":[{\"Count\":3,\"Duration\":22.66,\"VideoTrackClips\":[{\"Id\":\"VCLIP_89425482\",\"VideoId\":\"07c2b35dd2f342da98b8c3e45e456a41\",\"Title\":\"487_副本 6\",\"Index\":0,\"CutFlag\":true,\"TextFlag\":true,\"DeWatermarkFlag\":false,\"Duration\":9.42,\"VirginDuration\":9.42,\"Width\":640,\"Height\":360,\"URL\":\"http://vod.testtestapsaravideo.cn/07c2b35dd2f342da98b8c3e45e456a41/c228bc42b97047299108fcf9796c9223-699a80a29a15c59c9d0868389f86cc3f.mp4\",\"CoverURL\":\"\",\"SpriteURLs\":\"http://vod.testtestapsaravideo.cn/material_big_snapshot/07c2b35dd2f342da98b8c3e45e456a4100001.jpg?auth_key=\",\"In\":5.74,\"Out\":15.16,\"TimelineIn\":0,\"TimelineOut\":9.42,\"Effects\":[{\"Type\":\"Text\",\"Name\":\"横幅文字\",\"Font\":\"SimSun\",\"FontFace\":{\"Bold\":false,\"Italic\":false,\"Underline\":false},\"FontColor\":\"#ffffff\",\"FontSize\":20,\"FontColorOpacity\":1,\"Content\":\"test\",\"X\":\"0.3000\",\"Y\":\"0.7000\",\"Bold\":\"false\",\"Italic\":\"false\",\"Underline\":\"false\",\"Height\":23.599999999999998,\"Width\":41,\"FEHeight\":281.25,\"FEWidth\":500,\"In\":5.74,\"Out\":15.16,\"TimelineIn\":0,\"TimelineOut\":9.42}]},{\"Id\":\"VCLIP_77584432\",\"VideoId\":\"0f325c15738d4bfa85456f2a7e91b2ff\",\"Title\":\"487_副本 6\",\"Index\":1,\"CutFlag\":true,\"TextFlag\":false,\"DeWatermarkFlag\":true,\"Duration\":7.5,\"VirginDuration\":15.16,\"Width\":640,\"Height\":360,\"URL\":\"http://vod.testtestapsaravideo.cn/0f325c15738d4bfa85456f2a7e91b2ff/ba9dd0e93a4c4ec288abea8f11d7ec94-699a80a29a15c59c9d0868389f86cc3f.mp4\",\"CoverURL;\":\"\",\"SpriteURLs\":\"http://vod.testtestapsaravideo.cn/material_big_snapshot/0f325c15738d4bfa85456f2a7e91b2ff00001.jpg?auth_key=\",\"In\":0,\"Out\":7.5,\"TimelineIn\":9.42,\"TimelineOut\":16.92,\"Effects\":[{\"Type\":\"DeWatermark\",\"Name\":\"水印/遮标\",\"SubType\":\"Delogo_Blur\",\"X\":\"0.7660\",\"Y\":\"0.0333\",\"Width\":100,\"Height\":50,\"FEHeight\":281.25,\"FEWidth\":500,\"In\":0,\"Out\":7.5,\"TimelineIn\":9.42,\"TimelineOut\":16.92}]},{\"Id\":\"07c2b35dd2f342da98b8c3e45e456a41_1\",\"Title\":\"487_副本 6\",\"VideoId\":\"07c2b35dd2f342da98b8c3e45e456a41\",\"Index\":2,\"CutFlag\":true,\"TextFlag\":true,\"DeWatermarkFlag\":true,\"Duration\":5.74,\"VirginDuration\":15.16,\"URL\":\"http://vod.testtestapsaravideo.cn/07c2b35dd2f342da98b8c3e45e456a41/c228bc42b97047299108fcf9796c9223-699a80a29a15c59c9d0868389f86cc3f.mp4\",\"CoverURL\":\"\",\"SpriteURLs\":\"http://vod.testtestapsaravideo.cn/material_big_snapshot/07c2b35dd2f342da98b8c3e45e456a4100001.jpg?auth_key=\",\"Width\":640,\"Height\":360,\"In\":0,\"Out\":5.74,\"TimelineIn\":16.92,\"TimelineOut\":22.66,\"Effects\":[{\"Type\":\"Text\",\"Name\":\"横幅文字\",\"Font\":\"SimSun\",\"FontFace\":{\"Bold\":false,\"Italic\":false,\"Underline\":false},\"FontColor\":\"#ffffff\",\"FontSize\":20,\"FontColorOpacity\":1,\"Content\":\"logo\",\"X\":\"0.3000\",\"Y\":\"0.7000\",\"Bold\":\"false\",\"Italic\":\"false\",\"Underline\":\"false\",\"Height\":23.599999999999998,\"Width\":41,\"FEHeight\":281.25,\"FEWidth\":500,\"In\":0,\"Out\":5.74,\"TimelineIn\":16.92,\"TimelineOut\":22.66},{\"Type\":\"DeWatermark\",\"Name\":\"水印/遮标\",\"SubType\":\"Delogo_Blur\",\"X\":\"0.0300\",\"Y\":\"0.0547\",\"Width\":100,\"Height\":50,\"FEHeight\":281.25,\"FEWidth\":500,\"In\":0,\"Out\":5.74,\"TimelineIn\":16.92,\"TimelineOut\":22.66}]}]}],\"AudioTracks\":[{\"Count\":0,\"Duration\":0,\"AudioTrackClips\":[]}]}"
  11. }
  12. }

SDK示例

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