27 January 2022
almost 3 years ago by Encoding.com Product Team #2
Add alternate source for specific manifests
Added support of adding alternate source to specific manifest of advanced multi-bitrate output formats.
<?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>
<add_to_manifest>[ManifestsList]</add_to_manifest>
<!-- alternate_source params -->
</alternate_source>
<!-- 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": [
{
"add_to_manifest": "[ManifestsList]"
// alternate_source params
},
{
// alternate_source params
}
// multiple alternate_sources may be included
]
// format params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
add_to_manifest | List of manifest names to include specified alternate source. By default alternate source will be added to all manifests. | Comma separated strings | none |
Custom channel layout metadata for mov and dnxhd output formats
Added option that allows forcing channel layout value in the audio stream metadata.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required -->
<format>
<output>[OutputFormat]</output> <!-- required -->
<audio_stream>
<metadata_channel_layout>[LayoutMetaData]</metadata_channel_layout>
<!-- audio_stream params -->
</audio_stream>
<!-- multiple audio_streams -->
<audio_stream>
<!-- audio_stream params -->
</audio_stream>
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "<<id>>", // required
"userkey": "<<key>>", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "[OutputFormat]", // required
"audio_stream": [
{
"metadata_channel_layout": "[LayoutMetaData]"
// audio_stream params
},
{
// audio_stream params
}
]
// format params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
metadata_channel_layout | Force channel layout value in the stream metadata | c – C, l_r – L R, l_r_head – L R Head, lt_rt – Lt Rt, m_s – M S, x_y – X Y, w_x_y_z – W X Y Z, l_r_ls_rs – L R Ls Rs, l_r_lrs_rrs_c – L R Lrs Rrs C, l_r_lrs_rrs_c_cs – L R Lrs Rrs C Cs, l_r_lrs_rrs_c_crs_ls_rs – L R Lrs Rrs C Crs Ls Rs, l_r_lrs_rrs_vhl_vhr_vhlrs_vhrrs – L R Lrs Rrs Vhl Vhr Vhlrs Vhrrs, l_r_c – L R C, c_l_r – C L R, l_r_c_cs – L R C Cs, c_l_r_cs – C L R Cs, l_r_c_ls_rs – L R C Ls Rs, l_r_ls_rs_c – L R Ls Rs C, l_c_r_ls_rs – L C R Ls Rs, c_l_r_ls_rs – C L R Ls Rs, l_r_c_lfe_ls_rs – L R C LFE Ls Rs, l_r_ls_rs_c_lfe – L R Ls Rs C LFE, l_c_r_ls_rs_lfe – L C R Ls Rs LFE, c_l_r_ls_rs_lfe – C L R Ls Rs LFE, l_r_c_lfe_ls_rs_cs – L R C LFE Ls Rs Cs, l_r_c_lfe_ls_rs_lc_rc – L R C LFE Ls Rs Lc Rc, c_lc_rc_l_r_ls_rs_lfe – C Lc Rc L R Ls Rs LFE, l_r_c_lfe_ls_r_rls_rrs – L R C LFE Ls R Rls Rrs, l_r_ls_rs_c_lfe_lc_rc – L R Ls Rs C LFE Lc Rc, l_r_c_lfe_ls_rs_lt_rt – L R C LFE Ls Rs Lt Rt, l_r_cs – L R Cs, l_r_lfe – L R LFE, l_r_lfe_cs – L R LFE Cs, l_r_lfe_ls_rs – L R LFE Ls Rs, l_r_c_lfe – L R C LFE, l_r_c_lfe_cs – L R C LFE Cs, l_r_ls_rs_lfe – L R Ls Rs LFE, l_r_ls_rs_c_cs – L R Ls Rs C Cs, l_r_ls_rs_c_rls_rrs – L R Ls Rs C Rls Rrs, c_l_r_ls_rs_cs – C L R Ls Rs Cs, c_l_r_ls_rs_cs_lfe – C L R Ls Rs Cs LFE, c_l_r_ls_rs_rls_rrs – C L R Ls Rs Rls Rrs, c_l_r_ls_rs_rls_rrs_cs – C L R Ls Rs Rls Rrs Cs, l_r_c_vhc_lsd_rsd_ls_rs_vhl_vhr_lw_rw_csd_cs_lfe1_lfe2 – L R C Vhc Lsd Rsd Ls Rs Vhl Vhr Lw Rw Csd Cs LFE1 LFE2, l_r_c_vhc_lsd_rsd_ls_rs_vhl_vhr_lw_rw_csd_cs_lfe1_lfe2_lc_rc_hi_vi_haptic – L R C Vhc Lsd Rsd Ls Rs Vhl Vhr Lw Rw Csd Cs LFE1 LFE2 Lc Rc HI VI Haptic | none |
For metadata_channel_layout
The <metadata_channel_layout /> parameter available only for mov and dnxhd output formats.