EAC3 Descriptor

Add ATSC A/52 E-AC3 audio elementary stream descriptor in MPEG-TS container

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format> <!-- required -->
        <output>mpegts</output> <!-- required -->
        <atsc_eac3_descriptor>
            <audio_service_type>[ServiceType]</audio_service_type>
            <mainid>[ServiceID]</mainid>
            <language_code>[LanguageCode]</language_code>
        </atsc_eac3_descriptor>
        <audio_stream>
            <atsc_eac3_descriptor>
                <audio_service_type>[ServiceType]</audio_service_type>
                <mainid>[ServiceID]</mainid>
                <language_code>[LanguageCode]</language_code>
            </atsc_eac3_descriptor>
            <!-- audio_stream params -->
        </audio_stream>
        <audio_stream>
            <!-- audio_stream params -->
        </audio_stream>
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "mpegts", // required
            "atsc_eac3_descriptor": {
                "audio_service_type": "[ServiceType]",
                "mainid": "[ServiceID]",
                "language_code": "[LanguageCode]"
            },
            "audio_stream": [
                {
                    "atsc_eac3_descriptor": {
                        "audio_service_type": "[ServiceType]",
                        "mainid": "[ServiceID]",
                        "language_code": "[LanguageCode]"
                    }
                    // audio_stream params
                },
                {
                    // audio_stream params
                }
            ]
        }
    }
}
<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format> <!-- required -->
        <output>advanced_hls</output> <!-- required -->
        <destination>[DestFile]</destination> <!-- required -->
        <stream>
            <atsc_eac3_descriptor>
                <audio_service_type>[ServiceType]</audio_service_type>
                <mainid>[ServiceID]</mainid>
                <language_code>[LanguageCode]</language_code>
            </atsc_eac3_descriptor>
            <audio_stream>
                <atsc_eac3_descriptor>
                    <audio_service_type>[ServiceType]</audio_service_type>
                    <mainid>[ServiceID]</mainid>
                    <language_code>[LanguageCode]</language_code>
                </atsc_eac3_descriptor>
                <!-- audio_stream params -->
            <audio_stream>
            <!-- stream params -->
        </stream>
        <stream>
            <!-- stream params -->
        </stream>
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "advanced_hls", // required
            "stream": [
                {
                    "atsc_eac3_descriptor": {
                        "audio_service_type": "[ServiceType]",
                        "mainid": "[ServiceID]",
                        "language_code": "[LanguageCode]"
                    },
                    "audio_stream": {
                        "atsc_eac3_descriptor": {
                            "audio_service_type": "[ServiceType]",
                            "mainid": "[ServiceID]",
                            "language_code": "[LanguageCode]"
                        }
                        // audio_stream params
                    }
                    // stream params
                },
                {
                    // stream params
                }
            ]
        }
    }
}
ParameterDescriptionAllowed ValueDefault Value
audio_service_typeAudio service type0 – Complete main
2 – Visually impaired
3 – Hearing impaired
5 – Commentary
6 – Emergency
7 – Karaoke
none
Value of <disposition /> parameter will be used if specified or disposition descriptor from source file.
language_codeAudio stream languageValid ISO 639-2 language codenone
Value of <language /> parameter will be used if specified.
mainidMain audio service identifierno, 0, 1, 2, 3, 4, 5, 6, 7no