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>
<set_video_duration>[yes|no]</set_video_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]",
"set_video_duration": "[yes|no]",
"apply_timecode": "[yes|no]"
}
}
}
Parameter | Description | Allowed Value | Default |
---|---|---|---|
start | Time 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 |
finish | Time 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 |
duration | Duration of resulting output media. | * positive float number in seconds | none |
set_video_duration | Force set audio to video duration in output. This allows to precisely align durations of video and audio streams. If audio is longer, trim the output audio stream to the output video duration. If audio is shorter, by padding audio with silence to the output video duration. This parameter works only with MP4 container and aac, libfaac audio codecs. | yes, no | no |
apply_timecode | Use source media muxed timecode to calculate start and finish points. | yes, no | no |
Note
If the parameter is specified, the 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 and parameters of <ad_break />/<cue_insert />.