24 September 2015 - Audio multitrack settings and new video codec for MXF
over 9 years ago by Encoding.com Product Team
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
video_codec | Video codec | mxf**: dvcpro, dvcpro50, dvcprohd, xdcamhd422, imx30** | mxf: xdcamhd422 |
Audio multitrack settings
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<audio_stream>
<use_stream_id>[Source media audio stream ID]</use_stream_id><!-- REQUIRED -->
<language>[[ISO639-2](https://www.loc.gov/standards/iso639-2/php/code_list.php) language identifier]</language>
<!-- Common [audio settings](/#AudioSettings) -->
</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": "[Source media audio stream ID]",
"language": "[[ISO639-2](https://www.loc.gov/standards/iso639-2/php/code_list.php) language identifier]"
}
]
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
(required) use_stream_id Source media stream ID | Non negative integer number | By default # of <audio_stream> param will be used. | |
language | Track language | A language code in 3 lowercase letters according to ISO639-2 |
'use_stream_id' param usage example
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<audio_stream> <!-- Audio stream #0 -->
<use_stream_id>1</use_stream_id><!-- Will be used #1 stream from the source media -->
</audio_stream>
<audio_stream> <!-- Audio stream #1 -->
<use_stream_id>0</use_stream_id><!-- Will be used #0 stream from the source media -->
</audio_stream>
<audio_stream> <!-- Audio stream #2 -->
<!-- Will be used #2 stream from the source media -->
</audio_stream>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"audio_stream": [
{
"use_stream_id": "1"
},
{
"use_stream_id": "0"
},
" "
]
}
}
}