25 November 2021
about 3 years ago by Encoding.com Product Team #2
Use Closed Captions From External Manifest
Added support of using Closed Captions data from external manifest for advanced_hls, fmp4_hls, advanced_dash, and advanced_fmp4 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|fmp4_hls|advanced_dash|advanced_fmp4]</output> <!-- required-->
<manifest>
<basename>[BaseName]</basename> <!-- required-->
<sources>[ManifestSource1]</sources> <!-- required-->
<sources>[ManifestSource2]</sources>
<!-- ... -->
<sources>[ManifestSourceN]</sources>
<sub_path>[SubPath]</sub_path>
</manifest>
<manifest>
<!-- manifest params -->
</manifest>
<closed_captions>
<get_from_manifest>[yes|no]</get_from_manifest>
</closed_captions>
<!-- Multiple closed captions params may be included in output format -->
<closed_captions>
<!-- closed captions params -->
</closed_captions>
<!-- format params -->
</format></query>
{
"query": {
"userid": "<<id>>", // required
"userkey": "<<key>>", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "[advanced_hls|fmp4_hls|advanced_dash|advanced_fmp4]", // required
"manifest": [
{
"basename": "[BaseName]", // required
"sources": [ // required
"[ManifestSource1]",
"[ManifestSource2]",
// ...
"[ManifestSourceN]"
]
},
{
// manifest params
}
// Multiple manifests may be included
],
"closed_captions": [
{
"get_from_manifest": "[yes|no]"
},
{
// closed captions params
}
]
// format params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
get_from_manifest | Use data from external manifest | yes, no | no |
For get_from_manifest parameter
- The <get_from_manifest /> parameter available only for advanced_hls, fmp4_hls, advanced_dash, and advanced_fmp4 output formats.
- The <get_from_manifest /> parameter available only if manifest <sources /> are specified.