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
}
]
}
}
}
Parameter | Description | Allowed Value | Default Value |
---|---|---|---|
audio_service_type | Audio service type | 0 – 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_code | Audio stream language | Valid ISO 639-2 language code | none Value of <language /> parameter will be used if specified. |
mainid | Main audio service identifier | no, 0, 1, 2, 3, 4, 5, 6, 7 | no |