AAC Encoding

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>addMedia</action>
    <source>[SourceFile]</source>
    <format> <!-- required -->
        <output>[output]</output> <!-- REQUIRED -->
        <audio_codec>aac</audio_codec>
        <audio_encoder>dee</audio_encoder>
        <audio_sample_rate>48000</audio_sample_rate>
        <aac_mode>[auto|aac|heaac|heaacv2]</aac_mode>
        <aac_speech_optimization>[yes|no]</aac_speech_optimization>
        <audio_stream>
            <audio_codec>aac</audio_codec>
            <layout>[stereo|mono]</layout>
            <audio_sample_rate>48000</audio_sample_rate>
            <aac_mode>[auto|aac|heaac|heaacv2]</aac_mode>
            <aac_speech_optimization>[yes|no]</aac_speech_optimization>
            <!-- audio stream params -->
        <audio_stream>
        <audio_stream>
            <!-- audio stream params -->
        <audio_stream>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[output]", // required
            "audio_codec": "aac",
            "audio_encoder": "dee",
            "audio_sample_rate": "48000",
            "aac_mode": "[auto|aac|heaac|heaacv2]",
            "aac_speech_optimization": "[yes|no]",
            "audio_stream": [
                {
                    "audio_codec": "aac",
                    "layout": "[mono|stereo]",
                    "audio_sample_rate": "48000",
                    "aac_mode": "[auto|aac|heaac|heaacv2]",
                    "aac_speech_optimization": "[yes|no]"
                    // audio stream params
                },
                {
                    // audio stream params
                }
            ]
            // format params
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
aac_modeDEE AAC encoder modeauto, aac, heaac, heaacv2none
aac_speech_optimizationDEE AAC speech optimizationyes, nono

🚧

Note

AAC Encoding thru Dolby Encoder available only if <audio_codec /> aac or libfaac <audio_encoder /> set to dee, set to stereo or mono, and <audio_sample_rate /> set to 48000KHz