25 February 2021
over 5 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.