In addition to the API Timeshift, we now support advanced parameters for extracting in/out points from caption files. This API may be used on any completed file in our system.
Example 1: A video is 45 seconds long. An edit has been made to the video. From the 16 second mark through the 30 second mark has been removed, and a new caption file is needed for the edited video.
Here is how the API should look, so that the caption file can be downloaded with 16-30 second mark removed:
[GET] http://static.3playmedia.com/p/projects/999/files/490603/captions.srt&clips[]=0,15000&clips[]=30000,45000
This above code is saying to extract only 0-15 seconds AND 30-45 seconds.
Example 2: A video is 45 seconds long. Multiple edits have been made to the video. The first 3 seconds have been removed from the video, as well as from the 16 second mark through the 30 second mark has been removed, and a new caption file is needed for the edited video.
[GET] http://static.3playmedia.com/p/projects/999/files/490603/captions.srt&clips[]=0,15000&clips[]=30000,45000,3000
This above code is saying to extract only 0-15 seconds AND 30-45 seconds, but to start the captions 3 seconds later, to compensate for the first 3 seconds being removed.
0 Comments