Specifying an intermediate destination in addition to a standard packaged destination when creating advanced HLS packages will create a separate file for each specified stream, and alternate source. Files are stored as MPEG transport streams. All features that need transcoding (overlays, burn-in closed captions, etc.) should be specified during the intermediate creation step.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[AddMedia|AddMediaBenchmark]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required-->
<multijob_workflow>[yes|no]</multijob_workflow>
<format>
<output>advanced_hls</output>
<intermediate_destination>[DestFile]</intermediate_destination> <!-- REQUIRED -->
<!-- Destination fields -->
<destination>[DestFile]</destination> <!-- REQUIRED -->
<!-- Format fields -->
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "[AddMedia|AddMediaBenchmark]",
"source": "[SourceFile]",
"multijob_workflow": "[yes|no]",
"format": {
"output": "advanced_hls",
"intermediate_destination": "[DestFile]",
"destination": "[DestFile]"
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
intermediate_destination | Specify the destination stream URL for the intermeriate output files. | Valid URL. | None |
When providing an intermediate_destination parameterURL must contain the complete path including filename. Specifying only the directory path will not work.
Files uploaded to intermediate destination would have the same structure as for adaptive_intermediate output format.