29 September 2017 - Closed Captions: PAC and STL support and source's initial closed captions offset; fmp4_hls encryption
over 7 years ago by Encoding.com Product Team
fmp4_hls encryption
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<output>fmp4_hls</output>
<!-- Format fields -->
<encryption>yes</encryption>
<encryption_method>
[aes-128-cbc|mpeg_cbcs|mpeg_cens|mpeg_cbc1|mpeg_cenc]
</encryption_method>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "fmp4_hls",
"encryption": "yes",
"encryption_method": "[aes-128-cbc|mpeg_cbcs|mpeg_cens|mpeg_cbc1|mpeg_cenc]"
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
encryption_method | Encryption method | advanced_hls, advanced_dash, advanced_mss: aes-128-cbc, sample-aes fmp4_hls: aes-128-cbc, mpeg_cbcs, mpeg_cens, mpeg_cbc1, mpeg_cenc | aes-128-cbc |
PAC and STL closed captions type support.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<closed_captions>
<source>[CCSource]</source>
</closed_captions>
<!-- Multiple closed captions params may be included in output format -->
<closed_captions>
<!-- closed captions params -->
</closed_captions>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"closed_captions": [
{
"source": "[CCSource]"
},
" "
]
}
}
}
``
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
source | URL to Closed Captions file. | Valid URL to Closed Captions file in one of the following formats: SCC, SubRip, DFXP (TTML), SAMI, WebvTT, PAC, STL | None |
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>AddMedia</action> <!-- required-->
<source>[CLOSED_CAPTIONS_SOURCE]</source>
<format>
<output>closed_captions</output>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "AddMedia",
"source": "[CLOSED_CAPTIONS_SOURCE]",
"format": {
"output": "closed_captions"
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
source | URL to Closed Captions file or video with muxed closed captions. | Valid URL to Closed Captions file (in one of the following formats: SCC, SubRip, DFXP (TTML), SAMI, WebvTT, PAC, STL) or video with muxed closed captions (in cea-6/708 or timed-text format) | None |
Add source's initial closed captions offset.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<closed_captions>
<add_source_offset>[yes|no]</add_source_offset>
</closed_captions>
<!-- Multiple closed captions params may be included in output format -->
<!-- add_source_offset feature works only with **mxf** source -->
<closed_captions>
<!-- closed captions params -->
</closed_captions>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"closed_captions": [
{
"add_source_offset": "[yes|no]"
}
]
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
add_source_offset | Use initial closed captions timestamp from source file in output initial timestamp. | yes, no | no |
Note | : add_source_offset feature works only with mxf source files. |