Dolby's Dolby Media Generator (DMG) audio engine brings aggregators and distributors reliable delivery of mobile and OTT content while lowering storage requirements, reducing download times, and boosting playback quality. Encoding.com has partnered with Dolby to make DMG available in the cloud. Please see the Audio Settings section of the reference for more generic information on creating content in AAC LC, HE-AAC, AC3 and E-AC3.
The below options are for additional audio processing offered by the DMG engine.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>AddMedia</action>
<source>[SourceFile]</source> <!-- required-->
<format> <!-- required -->
<output>[OutputFormat]</output> <!-- required -->
<audio_stream>
<dc_repair>[yes|no]</dc_repair>
<phase_repair>[yes|no]</phase_repair>
<dmg_alerts>[yes|no]</dmg_alerts>
<dmix_preference>[loro|ltrt|pl2|unknown]</dmix_preference>
<!-- audio_stream params -->
</audio_stream>
<dc_repair>[yes|no]</dc_repair>
<phase_repair>[yes|no]</phase_repair>
<dmg_alerts>[yes|no]</dmg_alerts>
<dmix_preference>[loro|ltrt|pl2|unknown]</dmix_preference>
<!-- 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
"audio_stream": [
{
"dc_repair": "[yes|no]",
"phase_repair": "[yes|no]",
"dmg_alerts": "[yes|no]",
"dmix_preference": "[loro|ltrt|pl2|unknown]"
// audio_stream params
},
{
// audio_stream params
}
],
"dc_repair": "[yes|no]",
"phase_repair": "[yes|no]",
"dmg_alerts": "[yes|no]",
"dmix_preference": "[loro|ltrt|pl2|unknown]"
// format params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
dc_repair | Enables DC offset correction. | yes, no | no |
phase_repair | Enables the correction of a phase difference between the L and R channels | yes, no | no |
dmg_alerts | Enables alerts that provide information about a particular defect to the standard output. Silent Channel, DC Offset or Out of Phase Channel, for example. | yes, no | no |
dmix_preference | DMG audio-dmix-preference option | loro, ltrt, pl2, unknown | none |