14 December 2023
about 1 year ago by ReadMe API
Padding color
Added support of custom color for video padding.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[FileURL]</source>
<format>
<output>[OutputFormat]</output>
<padd_color>[PaddingColor]</padd_color>
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "[Action]", // required
"source": "[FileURL]", // required
"format": {
"output": "[OutputFormat]", // required
"padd_color": "[PaddingColor]"
// format params
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
padd_color | Specify the color for padding and alpha channel | RRGGBB[AA] | 000000 |
Merge multiple CC files to a single MCC
Added support of merging multiple CC files to a single MCC for closed_captions output format.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>AddMedia</action> <!-- required-->
<source>[ClosedCaptionsSourceFile1]</source>
<source>[ClosedCaptionsSourceFile2]</source>
<format>
<output>closed_captions</output> <!-- required-->
<destination>[DestinationURL]</destination> <!-- required-->
<type>mcc</type>
</format>
</query>
{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "AddMedia", // required
"source": [
"[ClosedCaptionsSourceFile1]",
"[ClosedCaptionsSourceFile2]"
], // required
"format": {
"output": "closed_captions", // required
"destination": "[DestinationURL]", // required
"type": "mcc"
}
}
}