5 March 2024
10 months ago by ReadMe API
Force set video duration to output
Added parameter to force set video duration to output
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[FileURL]</source>
<format>
<output>[OutputFormat]</output>
<set_video_duration>[yes|no]</set_video_duration>
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "[Action]", // required
"source": "[FileURL]", // required
"format": {
"output": "[OutputFormat]", // required
"set_video_duration": "[yes|no]"
// format params
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
set_video_duration | Force set audio to video duration in output. For MP4-like containers, this allows to precisely align durations of video and audio streams by trimming the output audio stream to the output video duration. | yes, no | no |