14 January 2021
about 4 years ago by Encoding.com Product Team #2
Deprecated Harmonic output formats
Note
Harmonic and harmonic_json output formats deprecated.
Natural Order for alternate sources
Added parameter <natural_order /> to <alternate_source /> block that allows to use Nth audio stream, and ignore video and data streams.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required-->
<format>
<output>[advanced_hls|advanced_dash|advanced_mss|fmp4_hls|advanced_fmp4]</output> <!-- required-->
<destination>[DestFile]</destination> <!-- required-->
<alternate_source>
<natural_order>[yes|no]</natural_order>
<!-- alternate_source params -->
</alternate_source>
<alternate_source>
<!-- alternate_source params -->
</alternate_source>
<!-- multiple alternate_sources may be included -->
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "<<id>>", // required
"userkey": "<<key>>", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "[advanced_hls|advanced_dash|advanced_mss|fmp4_hls|advanced_fmp4]", // required
"destination": "[DestFile]", // required
"alternate_source": [
{
"natural_order": "[yes|no]"
// alternate_source params
},
{
// alternate_source params
}
// multiple alternate_sources may be included
]
// format Params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
natural_order | If set to yes then value of <use_stream_id /> will mean number of source's audio stream, not number of stream in all type streams list. | yes, no | no |