Video Clipping

Create smaller clips of a larger source video.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[OutputFormat]</output> <!-- required-->
        <start>[StartTimecode]</start>
        <finish>[FinishTimecode]</finish>
        <duration>[Duration]</duration>
        <!-- Format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[OutputFormat]", // required
            "start": "[StartTimecode]",
            "finish": "[FinishTimecode]",
            "duration": "[Duration]"
        }
    }
}

Parameter

Description

Allowed Values

Default Value

start

Specify where the video clip should start.

Non-negative float or timecode

none

finish

Specify where the video clip should end.

Non-negative float or timecode

none

duration

Specify the duration of the video clip.

Positive integer

none

👍

For start and finish parameters

Timecode should have following format HH:MM:SS[:;]FF, where:

  • HH – hours
  • MM – minutes
  • SS – seconds
  • [:;]: – non drop-frame, ; – drop-frame;
  • FF – frames

🚧

Note

If <finish /> and <duration /> parameters are specified simultaneously, the <duration /> parameter will be ignored.