All Products
Search
Document Center

GetEditingProject

Last Updated: Jul 11, 2019

Description

You can call this operation to obtain the details of an online editing project (video editing task).

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to GetEditingProject.
ProjectId String Yes The ID of the online editing project.

Response parameters

Parameter Type Description
RequestId String The ID of the request.
Project EditingProject The information about the online editing project. For more information about the structure, see EditingProject.

API examples

Sample request

http://vod.cn-shanghai.aliyuncs.com/?Action=GetEditingProject&ProjectId=fb2101bf24bf41c78b2754cb318787dc&Format=JSON&<Common request parameters>

Sample response

JSON format

{
    "RequestId": "63E8B7C7-4812-46F4-A8AD-0FA56029AC86",
    "Project": {
        "ProjectId": "25cfc178d2de418baace77aebed6afcd",
        "Status": "Normal",
        "Duration": 22.66,
        "Title": "Video_1508736815000",
        "CreateTime": "2017-10-23 13:33:40",
        "ModifyTime": "2017-10-23 14:27:26",
        "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_copy 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\":\"Banner text\",\"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_copy 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\":\"Watermark or masking\",\"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_copy 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\":\"Banner text\",\"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\":\"Watermark or masking\",\"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\":[]}]}"
    }
}

SDK examples

We recommend that you use a server SDK to call this operation. For more information about the sample code used to call this operation in various languages, see the following topics: