24 September 2020
over 4 years ago by Encoding.com Product Team #2
Dolby Atmos Support
Added support of Dolby Atmos (DolbyDigitalPlus Joint Object Coding) media as media source files and alternate source file.
To make output file with Dolby Atmos just set <audio_codec /> to copy.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></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": "<<id>>", // required
"userkey": "<<key>>", // 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
}
}
}