25 February 2021
almost 4 years ago by Encoding.com Product Team #2
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
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
alpha_channel | Pass through alpha channel from source file | yes, no | no |
For alpha_channel
<alpha_channel /> parameter available only for webm output format.