25 February 2021

Preserve Alpha Channel with webm outputs

Added parameter that allows passing through the alpha channel from the source file.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>addMedia</action>
    <source>[SourceFile]</source> <!-- required-->
    <format> <!-- required -->
        <output>[output]</output> <!-- required -->
        <alpha_channel>[yes|no]</alpha_channel>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "addMedia", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[output]", // required
            "alpha_channel": "[yes|no]"
            // format params
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
alpha_channelPass through alpha channel from source fileyes, nono

🚧

For alpha_channel

<alpha_channel /> parameter available only for webm output format.