Encoding.com's API supports Dolby Atmos (DolbyDigitalPlus Joint Object Coding) encoded media as media source files and alternate source parameters.
To produce output with Dolby Atmos embedded, set <audio_codec /> to copy.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>AddMedia</action>
<source>[JOCSourceFile]</source> <!-- required-->
<format> <!-- required -->
<output>[advanced_dash|fmp4_hls|advanced_fmp4]</output> <!-- required -->
<stream>
<audio_codec>copy</audio_codec>
<!-- stream params -->
</stream>
<stream>
<!-- stream params -->
</stream>
<alternate_source>
<source>[JOCSourceFile]</source>
<!-- alternate_source params -->
</alternate_source>
<alternate_source>
<!-- alternate_source params -->
</alternate_source>
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "addMedia", // required
"source": "[JOCSourceFile]", // required
"format": { // required
"output": "[advanced_dash|fmp4_hls|advanced_fmp4]", // required
"stream": [
{
"audio_codec": "copy"
// stream params
},
{
// stream params
}
],
"alternate_source": [
{
"source": "JOCSourceFile"
// alternate_source params
},
{
// alternate_source params
}
]
// format params
}
}
}