28 October 2021
about 3 years ago by Encoding.com Product Team #2
Alternate Source Sub Path
Added ability to set the sub directory for alternate sources 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>
<sub_path>[SubPath]</sub_path>
<!-- alternate_source params -->
</alternate_source>
<manifest>
<!-- alternate_source params -->
</manifest>
<!-- 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": [
{
"sub_path": "[SubPath]"
// alternate_source params
},
{
// alternate_source params
}
// Multiple alternate_sources may be included
]
// format params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
sub_path | Alternate source sub directory relative to the output destination | String | none |