14 December 2023

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 NameDescriptionAllowed ValuesDefault Values
padd_colorSpecify the color for padding and alpha channelRRGGBB[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"
        }
    }
}