6 November 2025
7 days ago by ReadMe API
Source framerate and Source ID for SCC input
source_framerate option can be specified for external CC source
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required -->
<userkey>[UserKey]</userkey> <!-- required -->
<action>[Action]</action> <!-- required -->
<source>[SourceFile]</source> <!-- required -->
<format>
<output>[OutputFormat]</output> <!-- required-->
<closed_captions>
<mux_type>webvtt</mux_type>
<source>[URL]</source>
<source_framerate>[Frame rate]</source_framerate>
<cea_source_id>[Source ID]</cea_source_id>
</closed_captions>
</format>
</query>{
"query": {
"userid": "[UserID]",
// required
"userkey": "[UserKey]",
// required
"action": "[Action]",
// required
"source": "[SourceFile]",
// required
"format": {
"output": "[OutputFormat]",
// required
"closed_captions": [
{
"mux_type": "webvtt",
"source": "[URL]",
"source_framerate": "[Frame rate]",
"cea_source_id": "[Source ID]"
}
]
}
}
}| Parameter | Description | Allowed Values | Default Value |
|---|---|---|---|
| cea_source_id | Source ID to extract captions from, for repackaging flow | Integer number | none |
| source_framerate | Source subtitle file frame rate (e.g. for SCC) | 60, 59.94, 60000/1001, 50, 29.97, 30000/1001, 25, 23.98, 24000/1001 | none |
SCC strict check
scc_strict_check option can be specified to fail in case of incorrect SCC source
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required -->
<userkey>[UserKey]</userkey> <!-- required -->
<action>[Action]</action> <!-- required -->
<source>[SourceFile]</source> <!-- required -->
<format>
<output>closed_captions</output> <!-- required-->
<scc_strict_check>[yes|no]</scc_strict_check>
</format>
</query>{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "closed_captions",
"scc_strict_check": "[yes|no]"
}
}
}| Parameter | Description | Allowed Values | Default Value |
|---|---|---|---|
| scc_strict_check | Fail in case of SCC source errors (e.g. incorrect timecodes) | yes, no | none |