Duration Settings

Encoding.com permits frame-accurate editing of output material. These jobs can be chained to perform full assembly workflows.

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>addMedia</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format> <!-- required -->
        <output>[output]</output> <!-- required -->
        <start>[StartTimecode]</start>
        <finish>[FinishTimecode]</finish>
        <duration>[Duration]</duration>
        <apply_timecode>[yes|no]</apply_timecode>
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "addMedia", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[output]", // required
            "start": "[StartTimecode]",
            "finish": "[FinishTimecode]",
            "duration": "[Duration]",
            "apply_timecode": "[yes|no]"
        }
    }
}
ParameterDescriptionAllowed ValueDefault
startTime of source media that will be used as starting time of output media. positive float number in seconds
timecode in format HH:MM:SS[:;]FF
HH – hours
MM – minutes
SS – seconds
FF – frames
[:;] – : – non drop-frame, ; – drop-frame;
none
finishTime of source media that will be used as finishing time of output media. positive float number in seconds
timecode in format HH:MM:SS[:;]FF
HH – hours
MM – minutes
SS – seconds
FF – frames
[:;] – : – non drop-frame, ; – drop-frame;
none
durationDuration of resulting output media.* positive float number in secondsnone
apply_timecodeUse source media muxed timecode to calculate start and finish points.yes, nono

🚧

Note

If the <duration /> parameter is specified, the <finish /> parameter will be ignored.

🚧

Note regarding use of apply_timecode when using ad signal insertion (SCTE35)

Specifying<apply_timecode /> will apply timecode value conversion of the <start /> and <end /> parameters of <ad_break />/<cue_insert />.