Add ATSC A/52 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_ac3_descriptor>
<full_svc>[0|1]</full_svc>
<priority>[1|2|3]</priority>
<mainid>[ServiceID]</mainid>
<asvcflags>[BitFlag]</asvcflags>
<language_code>[LanguageCode]</language_code>
</atsc_ac3_descriptor>
<audio_stream>
<atsc_ac3_descriptor>
<full_svc>[0|1]</full_svc>
<priority>[1|2|3]</priority>
<mainid>[ServiceID]</mainid>
<asvcflags>[BitFlag]</asvcflags>
<language_code>[LanguageCode]</language_code>
</atsc_ac3_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_ac3_descriptor": {
"full_svc": "[0|1]",
"priority": "[1|2|3]",
"mainid": "[ServiceID]",
"asvcflags": "[BitFlag]",
"language_code": "[LanguageCode]"
},
"audio_stream": [
{
"atsc_ac3_descriptor": {
"full_svc": "[0|1]",
"priority": "[1|2|3]",
"mainid": "[ServiceID]",
"asvcflags": "[BitFlag]",
"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_ac3_descriptor>
<full_svc>[0|1]</full_svc>
<priority>[1|2|3]</priority>
<mainid>[ServiceID]</mainid>
<asvcflags>[BitFlag]</asvcflags>
<language_code>[LanguageCode]</language_code>
</atsc_ac3_descriptor>
<audio_stream>
<atsc_ac3_descriptor>
<full_svc>[0|1]</full_svc>
<priority>[1|2|3]</priority>
<mainid>[ServiceID]</mainid>
<asvcflags>[BitFlag]</asvcflags>
<language_code>[LanguageCode]</language_code>
</atsc_ac3_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_ac3_descriptor": {
"full_svc": "[0|1]",
"priority": "[1|2|3]",
"mainid": "[ServiceID]",
"asvcflags": "[BitFlag]",
"language_code": "[LanguageCode]"
},
"audio_stream": {
"atsc_ac3_descriptor": {
"full_svc": "[0|1]",
"priority": "[1|2|3]",
"mainid": "[ServiceID]",
"asvcflags": "[BitFlag]",
"language_code": "[LanguageCode]"
}
// audio_stream params
}
// stream params
},
{
// stream params
}
]
}
}
}
Parameter | Description | Allowed Value | Default Value |
---|---|---|---|
full_svc | Indicates whether or not this audio service is a full service suitable for presentation, or whether this audio service is only a partial service which should be combined with another audio service before presentation | 0 – partial service 1 – full service | 1 |
priority | Audio service priority | 1 – Primary audio 2 – Other audio 3 – Not specified | 1 |
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 | Integer number between 0 and 7 inclusive | 0 |
asvcflags | 8-bit field. Each bit (0–7) indicates with which main service(s) this service is associated | Integer number between 0 and 255 inclusive | 0 |