22 May 2019 - Audio Multitrack Order
over 5 years ago by Encoding.com Product Team
Added ability to make <use_stream_id /> use only source's audio tracks as streams list.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<audio_stream>
<use_stream_id>[SourceMediaAudioStreamID]</use_stream_id>
<natural_order>[yes|no]</natural_order>
</audio_stream>
<!-- multiple audio streams -->
<audio_stream>
<!-- audio stream params -->
</audio_stream>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"audio_stream": [
{
"use_stream_id": "[SourceMediaAudioStreamID]",
"natural_order": "[yes|no]",
}
]
}
}
}
Parameter | Description | Allowed Values | Default Values |
---|---|---|---|
use_stream_id | Specify the source media stream ID. | Non negative integer number | By default # of <audio_stream> param will be used. |
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 |