Dolby Encoding Engine

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>addMedia</action>
    <source>[SourceFile]</source>
    <format> <!-- required -->
        <output>[output]</output> <!-- REQUIRED -->
        <audio_codec>eac3</audio_codec>
        <audio_encoder>dee</audio_encoder>
        <downmix_mode>[pl2|loro|ltrt]</downmix_mode>
        <loudness_mode>[LoudnessMode]</loudness_mode>
        <speech_threshold>[Threshold]</speech_threshold>
        <loudnorm_preset>[Preset]</loudnorm_preset>
        <peak_reference>[true_peak|sample_peak]</peak_reference>
        <correction_mode>[pcm_scale|md_update]</correction_mode>
        <peak_limit_db>[PeakLimit]</peak_limit_db>
        <dynrange_line>[DynarangeProfile]</dynrange_line>
        <dynrange_rf>[DynarangeProfile]</dynrange_rf>
        <ddp_bitstream_mode>[BitStreamMode]</ddp_bitstream_mode>
        <lfe_surround>[yes|no]</lfe_surround>
        <lowpass_filter>[yes|no]</lowpass_filter>
        <hybrid_downmix>[yes|no]</hybrid_downmix>
        <surround_mode>[not_indicated|yes|no]</surround_mode>
        <surround_mode_ex>[not_indicated|yes|no]</surround_mode_ex>
        <surr_shift>[yes|no]</surr_shift>
        <surr_attenuation>[yes|no]</surr_attenuation>
        <audio_stream>
            <audio_codec>eac3</audio_codec>
            <audio_encoder>dee</audio_encoder>
            <audio_encoder>dee</audio_encoder>
            <downmix_mode>[pl2|loro|ltrt]</downmix_mode>
            <loudness_mode>[LoudnessMode]</loudness_mode>
            <speech_threshold>[Threshold]</speech_threshold>
            <loudnorm_preset>[Preset]</loudnorm_preset>
            <peak_reference>[true_peak|sample_peak]</peak_reference>
            <correction_mode>[pcm_scale|md_update]</correction_mode>
            <peak_limit_db>[PeakLimit]</peak_limit_db>
            <dynrange_line>[DynarangeProfile]</dynrange_line>
            <dynrange_rf>[DynarangeProfile]</dynrange_rf>
            <ddp_bitstream_mode>[BitStreamMode]</ddp_bitstream_mode>
            <lfe_surround>[yes|no]</lfe_surround>
            <lowpass_filter>[yes|no]</lowpass_filter>
            <hybrid_downmix>[yes|no]</hybrid_downmix>
            <surround_mode>[not_indicated|yes|no]</surround_mode>
            <surround_mode_ex>[not_indicated|yes|no]</surround_mode_ex>
            <surr_shift>[yes|no]</surr_shift>
            <surr_attenuation>[yes|no]</surr_attenuation>
            <!-- audio stream params -->
        <audio_stream>
        <audio_stream>
            <!-- audio stream params -->
        <audio_stream>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[output]", // required
            "audio_codec": "eac3",
            "audio_encoder": "dee",
            "downmix_mode": "[pl2|loro|ltrt]",
            "loudness_mode": "[LoudnessMode]",
            "speech_threshold": "[Threshold]",
            "loudnorm_preset": "[Preset]",
            "peak_reference": "[true_peak|sample_peak]",
            "correction_mode": "[pcm_scale|md_update]",
            "peak_limit_db": "[PeakLimit]",
            "dynrange_line": "[DynarangeProfile]",
            "dynrange_rf": "[DynarangeProfile]",
            "ddp_bitstream_mode": "[BitStreamMode]",
            "lfe_surround": "[yes|no]",
            "lowpass_filter": "[yes|no]",
            "hybrid_downmix": "[yes|no]",
            "surround_mode": "[not_indicated|yes|no]",
            "surround_mode_ex": "[not_indicated|yes|no]",
            "surr_shift": "[yes|no]",
            "surr_attenuation": "[yes|no]",
            "audio_stream": [
                {
                    "audio_codec": "eac3",
                    "audio_encoder": "dee",
                    "downmix_mode": "[pl2|loro|ltrt]",
                    "loudness_mode": "[LoudnessMode]",
                    "speech_threshold": "[Threshold]",
                    "loudnorm_preset": "[Preset]",
                    "peak_reference": "[true_peak|sample_peak]",
                    "correction_mode": "[pcm_scale|md_update]",
                    "peak_limit_db": "[PeakLimit]",
                    "dynrange_line": "[DynarangeProfile]",
                    "dynrange_rf": "[DynarangeProfile]",
                    "ddp_bitstream_mode": "[BitStreamMode]",
                    "lfe_surround": "[yes|no]",
                    "lowpass_filter": "[yes|no]",
                    "hybrid_downmix": "[yes|no]",
                    "surround_mode": "[not_indicated|yes|no]",
                    "surround_mode_ex": "[not_indicated|yes|no]",
                    "surr_shift": "[yes|no]",
                    "surr_attenuation": "[yes|no]",
                    // audio stream params
                },
                {
                    // audio stream params
                }
            ]
            // format params
        }
    }
}
ParameterDescriptionAllowed ValueDefault Value
downmix_modeDolby Encoding Engine downmix modepl2, loro, ltrtpl2
loudness_modeDolby Encoding Engine loudness mode1770-3, 1770-2-di, 1770-1-di, 1770-2, 1770-3, leqAnone
speech_thresholdSpeech threshold percentageInteger number between 0 and 100none
loudnorm_presetLoudness measurement and correction according to one of the preset standardsmanual, atsc_a85, atsc_a85_agile, ebu_r128, freetv_op59, arib_b32none
peak_referencePeak reference modetrue_peak, sample_peak/none
correction_modeLoudness correction modepcm_scale, md_updatenone
peak_limit_dbMaximum Audio Output LevelFloat number with one digit between -12 and -0.1-0.1
dynrange_lineLine dynamic range control profilefilm_standard, film_light, music_standard, music_light, speechnone
dynrange_rfRF dynamic range control profilefilm_standard, film_light, music_standard, music_light, speechnone
ddp_bitstream_modeAudio bitstream modemusic_and_effects, visually_impaired, hearing_impaired, dialogue, commentary, emergency, voice_overnone
lfe_surroundLow-Frequency Effectsyes, nonone
lowpass_filterLowpass filter for the LFE channelyes, nonone
hybrid_downmixHybrid downmixyes, nonone
surround_modeDolby Surround modenot_indicated, yes, nonone
surround_mode_exDolby Surround EX modenot_indicated, yes, nonone
surr_shiftSurround 90 degree phase shiftyes, nonone
surr_attenuationSurround -3dB attenuationyes, nonone