Job Types & Descriptions
A Job Description is the JSON document that instructs Closed Caption Converter what to do with a caption file. It is passed as the config field in API requests, used by the CLI as a configuration file, and generated automatically by the web application when you configure and run a job. Every job — from a simple format conversion to a multi-step transcription and delivery workflow — is expressed as a Job Description.

The Subtitle Converter workspace includes a Job Description button in the page header that opens a modal with the exact JSON sent to the API for your current configuration. You can copy it directly or export it as a Postman collection. The API Playground workspace also lets you edit job description JSON and export Postman collections for API testing.
Job Description Structure
Every Job Description is a JSON object. The following table describes the top-level fields:
| Field | Type | Default | Description |
|---|---|---|---|
job_type | string | "convert" | The type of job to perform. See Job Types below. |
source_profile | string | "SubRip Video Subtitle Script" | The profile name used to decode the source file. Must match a supported source profile name exactly. |
target_profile | string | "SubRip Video Subtitle Script" | The profile name used to encode the output file. Must match a supported target profile name exactly. |
default_frameRate | number | 29.97 | The frame rate used when the source format does not carry frame rate metadata. |
default_dropFrame | boolean | true | The drop-frame flag used alongside default_frameRate. |
source_frameRate | string or number | "auto" | The frame rate to use when reading source timecodes. Set to "auto" to read from the file. |
target_frameRate | string or number | "auto" | The frame rate to write to the output file. Set to "auto" to match the source. |
offset | string | "00:00:00:00" | SMPTE timecode offset applied to all events. |
offset_type | string | "add" | Whether to "add" or "subtract" the offset value. |
incode | string | "00:00:00:00" | Programme start timecode. All events are normalised relative to this value. Set to "auto" to use the first event's in-time. |
encoding_options | array | [] | Format-specific encode options. Each element is an object with name and selected properties matching a target profile's available options. Set selected to "auto" on mapped metadata fields to copy matching source header values into the target. See Metadata Passthrough. |
decoding_options | array | [] | Format-specific decode options. Each element is an object with name and selected properties. |
auto_format_options | object | see below | Configuration for the Auto Format filter. |
auto_correct_timing_options | object | see below | Configuration for the Auto Correct Timing / reading speed correction panel. |
event_gap_options | object | see below | Configuration for the Event Gap filter. |
remove_forced_subs | object | see below | Configuration for the Remove Forced Subtitles filter. |
searches | array | [] | Array of Search & Replace rules. |
segments | array | [] | Array of Segmentation & Conform segment definitions. |
timecode_mode | string | "exclusive" | How segment end times and black-segment durations are interpreted: "exclusive" or "inclusive". Inclusive adds 1 frame to each file segment's end time and each black segment's duration during conform. |
qc | object | see below | Automatic QC configuration: stage ("pre" or "post") and a tests array. See Automatic QC Tests. |
media_path | string | "" | URL of the audio/video file for transcribe, align, embed, and extract jobs. For embed and extract jobs it must be a public or pre-signed HTTPS URL whose server supports Range requests (S3, GCS, Azure, and most CDNs do), valid until the job finishes. |
media_options | object | see below | Embed and extract jobs only. Reads the media from a Storage Access Provider instead of media_path. |
webhook | string | "" | A URL that receives a POST callback when the job completes. Embed and extract jobs also call it when they fail. |
delivery_options | object | see below | Output delivery configuration for storage and platform providers. Required for embed jobs, with an S3 or GCS storage provider in a processing region. |
transcribe_options | object | see below | Transcription configuration including provider ID and language. |
translate_options | object | see below | Translation configuration including provider ID, source, and target languages. |
embed_options | object | see below | Embed job configuration: replace, carriage, start_tc, source_rate, teletext_page, and verify. |
extract_options | object | see below | Extract job configuration: start_tc, teletext_page, channels, and carriage. |
processing_region | string | "auto" | Embed and extract jobs only. The region the job runs in: "auto", or an id from GET /regions. See Where Jobs Run. |
allow_egress | boolean | false | Embed jobs only. Accept the egress your storage provider charges for reading media stored in another region. See Where Jobs Run. |
Job Types
The job_type field determines which processing path the job follows. If you omit it, Closed Caption Converter defaults to convert. The supported job types are described below.
convert
The standard job type for all format conversion and conform workflows. The source file is decoded using the specified source profile, any configured filters are applied in order, and the result is encoded using the target profile. You can include a qc object to run Automatic QC alongside conversion. Findings are returned as qcReport, along with qc_status and qc_errors, and do not change the encoded file.
{
"job_type": "convert",
"source_profile": "Scenarist V1.0",
"target_profile": "EBU STL",
"default_frameRate": 29.97,
"default_dropFrame": true,
"encoding_options": [
{ "name": "Language Code", "selected": "English" },
{ "name": "Country of Origin", "selected": "Canada" }
]
}
qc
A QC-only job. Nothing is encoded. The output file is {jobId}_report.json. The JSON body also includes qcReport, qc_status (pass, warn, or fail) and qc_errors. qc.tests must contain at least one enabled test, and a source file is required.
Pre-processing (qc.stage: "pre", the default) QCs the first source as decoded. Post-processing (qc.stage: "post") runs every source through the same processing path as a convert job — filters, conform, offset, Auto Format, and timing correction — then QCs the result at the target frame rate. In both cases, technical tests and sequentialTiming inspect the source file, and no caption file is encoded.
In the web application this job type is labelled Verify.
{
"job_type": "qc",
"source_profile": "SubRip Video Subtitle Script",
"qc": {
"stage": "post",
"tests": [
{ "id": "maxCharsPerLine", "max": 32, "level": "critical", "threshold": 0 },
{ "id": "maxLinesPerEvent", "max": 2, "level": "critical", "threshold": 0 },
{ "id": "maxCps", "max": 25, "level": "warn", "threshold": 3 },
{ "id": "sequentialTiming", "level": "critical", "threshold": 0 }
]
}
}
transcribe
Sends the audio or video at media_path to a configured transcription Access Provider, receives the transcript, converts it into the CCPRJ format, applies any configured filters, and encodes the result to the target profile. Requires a transcription provider to be configured in transcribe_options.
{
"job_type": "transcribe",
"target_profile": "SubRip Video Subtitle Script",
"media_path": "https://presigned-url-to/media.mp4",
"transcribe_options": {
"source_language": "en",
"provider_id": "your-transcription-provider-id",
"provider_options": {
"model": "nova-2",
"punctuate": true,
"diarize": false,
"utterances": true,
"utt_split": 0.8
}
}
}
The provider_options object is passed directly to the transcription service. Refer to your provider's documentation for supported parameters.
align
Aligns an existing caption or transcript file to audio/video content using a transcription provider's forced alignment capability. Like the transcribe job type, this requires a media_path and a configured transcription provider. The source caption file provides the text and the transcription engine provides the precise timing.
{
"job_type": "align",
"source_profile": "SubRip Video Subtitle Script",
"target_profile": "WebVTT",
"media_path": "https://presigned-url-to/media.mp4",
"transcribe_options": {
"source_language": "en",
"provider_id": "your-transcription-provider-id",
"provider_options": {
"model": "nova-2",
"punctuate": true
}
}
}
translate
Translates the text of the source caption file into a target language using a configured translation Access Provider. Timing and formatting are preserved throughout the translation process. Closed Caption Converter handles caption-aware batching to preserve sentence context across event boundaries.
{
"job_type": "translate",
"source_profile": "SubRip Video Subtitle Script",
"target_profile": "SubRip Video Subtitle Script",
"translate_options": {
"provider_id": "your-translation-provider-id",
"source_language": "en",
"target_language": "fr"
}
}
Language codes are passed directly to the translation service. Refer to your provider's documentation for supported language codes and dialects.
embed
Inserts closed captions or teletext subtitles into a video file without re-encoding it. Only the caption data is added to the file: the video and audio are copied unchanged. Supported containers are MOV, MP4, MXF (OP1a, frame-wrapped), and MPEG-TS/PS. The captions are carried as follows:
- MOV/MP4: a QuickTime caption track by default, or A/53 SEI in the H.264/HEVC video stream with
carriage: "sei". - MXF: an ST 436 ANC track, for 608/708 captions, OP-47 teletext (SMPTE RDD 8), or both.
- MPEG-TS/PS: A/53 SEI (H.264/HEVC) or
user_data(MPEG-2) in every picture.
The media file is read in place from media_path, or from a Storage Access Provider named in media_options. It is never uploaded to Closed Caption Converter, so files of any size are accepted.
Embedding and extraction are available through the API and the licensed CC Embed CLI. The Subtitle Converter web app converts sidecar caption files in the browser; it doesn't embed captions into video or extract them. (The Embed Options panel in the web app is a different, older feature: see Filters — Embed Options.)
The caption source: any format, in one job
Supply one caption file in source (a file upload or a URL). It can be in any format the converter reads:
| Source | source_profile | Media | What happens |
|---|---|---|---|
| MCC (MacCaption) | macCaption or macCaptionAdvanced, or no profile and a .mcc extension | Any supported container | Embedded as it is, as 608/708 captions. The captions are conformed to the video's frame rate. |
EBU STL, 25 fps (STL25.01) | ebuStl, or no profile and a .stl extension | MXF only | Embedded as it is, as OP-47 teletext subtitles on the page set by teletext_page. The STL timecodes are used as they are, with no conforming. |
| Any other format: SRT, WebVTT, SCC, iTunes Timed Text, TTML, and so on | The file's profile, such as subRip or iTunesTimedText, or no profile and a known extension | Any supported container | Converted to MCC (608 CC1 and 708 service 1) and embedded, in the same job. |
Any other format, with embed_options.teletext_page | As above | MXF only | Converted to a 25 fps EBU STL and embedded as OP-47 teletext, in the same job. |
The conversion is part of the embed job, at the same price: there is no separate convert job to run or pay for. It works like a convert job, so source_frameRate, incode, offset, decoding_options, and the filters in the Job Description apply to it. Set source_profile when the file's extension doesn't name its format.
The captions keep their timecodes. If they start at 00:00:00:00 and the media's timecode starts at 01:00:00:00, either set embed_options.start_tc to "00:00:00:00", so the first video frame is taken as 00:00:00:00, or use offset to move the captions to 01:00:00:00.
A source declared as MCC or EBU STL must be that format. A caption file that can't be decoded as its source_profile, or that has no captions, is refused with 400. A file of 2,000 or more captions is converted in the background before the embed starts; the job is queued either way.
When the source was converted, the job record has captionsConvertedFrom: the original format, the number of captions, and the MCC frame rate used.
"captionsConvertedFrom": {
"profile": "subRip",
"extension": "srt",
"events": 812,
"frameRate": 29.97,
"dropFrame": true
}
The output: your storage, in a processing region
The output is always delivered to your storage. delivery_options must name an Amazon S3 or Google Cloud Storage Storage Access Provider (see Access Providers) whose bucket is in a region where Closed Caption Converter processes embeds. GET /regions lists them (see Where Jobs Run). The job runs in that region and the output streams straight to your bucket as it is written, so the file never leaves the region. When the job passes, target is false and deliveredTo holds the destination. Embed outputs are never stored by Closed Caption Converter.
- GCS: the bucket must be a single-region bucket. Multi-region and dual-region buckets are refused.
- S3: an AWS S3 bucket. S3-compatible storage set with an
endpointis refused. - Azure Blob Storage and Backblaze B2 can't be checked as being in a processing region, so they are refused as embed destinations. They can still be used to read the media, and as delivery destinations for
extractjobs. - The provider's credentials must be able to read the bucket's location:
storage.buckets.geton GCS (for example, the Storage Legacy Bucket Reader role), ors3:GetBucketLocationon S3.
A destination outside every processing region is refused with 400 before the job starts. The message names the destination and the supported regions.
Embedding 608/708 captions from an MCC file into an MXF master, delivered to S3:
{
"job_type": "embed",
"source_profile": "macCaption",
"media_path": "https://your-bucket.s3.us-east-1.amazonaws.com/media/episode01.mxf?X-Amz-Signature=...",
"embed_options": {
"replace": true,
"start_tc": "10:00:00:00"
},
"delivery_options": {
"provider_id": "your-s3-provider-id",
"provider_options": {
"bucket": "your-delivery-bucket",
"region": "us-east-1",
"key": "captioned/episode01.mxf"
}
}
}
Embedding an SRT file into an MP4, converted to MCC in the same job:
{
"job_type": "embed",
"source_profile": "subRip",
"media_path": "https://your-bucket.s3.us-east-1.amazonaws.com/media/episode01.mp4?X-Amz-Signature=...",
"embed_options": {
"verify": true
},
"delivery_options": {
"provider_id": "your-s3-provider-id",
"provider_options": {
"bucket": "your-delivery-bucket",
"region": "us-east-1",
"key": "captioned/episode01.mp4"
}
}
}
Embedding OP-47 teletext subtitles from an EBU STL file into an MXF master:
{
"job_type": "embed",
"source_profile": "ebuStl",
"media_path": "https://your-bucket.s3.eu-west-1.amazonaws.com/media/programme.mxf?X-Amz-Signature=...",
"embed_options": {
"teletext_page": "801",
"replace": true
},
"delivery_options": {
"provider_id": "your-s3-provider-id",
"provider_options": {
"bucket": "your-delivery-bucket",
"region": "eu-west-1",
"key": "subtitled/programme.mxf"
}
}
}
embed_options field | Type | Default | Description |
|---|---|---|---|
replace | boolean | false | Replace captions already in the file. Without it, a file that already carries captions fails with usage. For OP-47, only the existing teletext is replaced: 608/708 captions in the same ANC track are kept. |
carriage | string | "track" | MOV/MP4 only. "track" adds a QuickTime caption track; "sei" inserts A/53 SEI into the H.264/HEVC video stream. MXF and MPEG-TS/PS have one carriage each. |
start_tc | string | from the file | The timecode of the first video frame, such as "01:00:00:00". By default the file's own start timecode is used, or 00:00:00:00 when it has none. Captions before this timecode are dropped. |
source_rate | string | from the MCC | MCC only. The MCC file's frame rate, such as "23.976". Only needed when the MCC file doesn't indicate it (23.976 vs 24). |
teletext_page | string | "801" | OP-47 only, MXF only. The teletext page, from 100 to 8FF. With a source in another format than EBU STL, setting it converts the source to EBU STL and embeds OP-47 instead of 608/708. OP-47 needs 25 fps video. |
verify | boolean | false | After the upload, re-read the media and the delivered output and check that every original video and audio sample is unchanged. A mismatch fails the job. Verifying roughly doubles the job time and the read traffic on your storage. |
Before the output is written
Each embed job runs these preflight checks before any output is written:
- The media is readable over Range requests and is in a supported container.
- The captions are usable: they contain caption data that doesn't all end before the video's first frame, and an EBU STL source has MXF media.
- A test write to the delivery provider succeeds. This leaves no object behind.
A job that fails a check stops at once, with a ccEmbedError whose preflight is true. Nothing is written to your storage and nothing is billed.
extract
Reads 608/708 closed captions or OP-47 teletext subtitles from a video file. Supported containers are MOV, MP4, MXF, and MPEG-TS/PS. As with embed, the media file is read in place from media_path or media_options. Extract jobs take no caption source: any source or sources are ignored.
Without a target_profile, the output is the extracted file as it is: MCC for 608/708 captions, which holds every channel in the file, or EBU STL for OP-47 teletext (MXF only). Set target_profile to any other target profile, such as "SubRip Video Subtitle Script", "WebVTT", or "Scenarist V1.0", to convert the extracted captions into that format. Any filters in the Job Description are applied, as in a convert job. The price is the same either way.
The output is stored by Closed Caption Converter, and target is a signed download URL. Include delivery_options to also deliver it to a storage or platform provider. deliveredTo then holds the destination. If delivery fails, the job still passes with a warning, as for convert jobs.
{
"job_type": "extract",
"media_path": "https://your-bucket.s3.us-east-1.amazonaws.com/media/episode01.mxf?X-Amz-Signature=...",
"target_profile": "SubRip Video Subtitle Script",
"extract_options": {
"start_tc": "10:00:00:00"
}
}
extract_options field | Type | Default | Description |
|---|---|---|---|
start_tc | string | from the file | The timecode of the first video frame, such as "10:00:00:00". By default the file's own start timecode is used, or 00:00:00:00 when it has none. |
teletext_page | string or number | The OP-47 teletext page to extract, such as 801. OP-47 is extracted when this is set, or when the file carries no 608/708 captions. | |
channels | string or array | The caption channels to return, one file per channel: "auto", or a list of CC1–CC4 (608), service1–service6 (708), or teletext:NNN (OP-47 pages, such as teletext:801). See Choosing Channels. Without it, an extract returns one file: the MCC with every channel, or CC1 when converted to another format. | |
carriage | string | "auto" | Where to read the captions when the media carries them in more than one place. See Choosing Channels. |
When the media file is damaged or truncated, the captions read before the damage are still returned. The job passes with a warning, and ccEmbedSalvaged is true.
Choosing Channels
extract_options.channels returns one file per caption channel. Channel names are not case-sensitive.
channels | Returns |
|---|---|
A list, such as ["CC1", "CC3"] or ["service1", "service2"] | One file for each listed channel that has captions, in the list's order. Up to 16 channels. |
"auto" | One file for each of CC1–CC4 and service1–service6 that has captions. 708 services above 6 aren't supported: they are listed in channels_unsupported. On OP-47 media, the teletext page found. |
A list of teletext pages, such as ["teletext:801", "teletext:888"] | One EBU STL file (or converted file) per page. teletext_page, if set, is added to the list. |
- A channel without captions doesn't fail the job: it is listed in
channels_missing, and the job passes with awarning. If none of the selected channels has captions, the job fails withno_captionsand isn't billed. POST /jobsreturns400for an unknown channel name, a 708 service above 6, a list that mixes teletext pages with 608/708 channels, or"auto"withteletext_page.- Each file is in
targets(see Embed and Extract Results), and withdelivery_optionseach is delivered under its own name: akey(orfileNameorblobName) ofcaptions/episode01.srtbecomescaptions/episode01_service1.srt,captions/episode01_service2.srt, and so on. Without one, the files are named<jobId>_service1.srtand so on. Teletext files are named_teletext-801. - Without a
target_profile, an extract withchannelsstill returns one MCC file, which holds every channel, andchannels_foundlists them. - The job is billed once, whatever the number of files.
extract_options.carriage picks where captions are read when the media carries them in more than one place:
carriage | Reads | Containers |
|---|---|---|
auto (default) | ANC, then VC-3 header ANC, then line 21 (MXF); caption track, then SEI (MOV/MP4) | All |
anc | ST 436 ANC (608/708 or OP-47) | MXF |
vc3 | VC-3 (DNxHD) frame header ANC | MXF |
line21 or line21_vbi | Line 21 coded in D-10 (IMX) pictures | MXF |
track | QuickTime caption track | MOV/MP4 |
sei | A/53 in H.264/HEVC SEI or MPEG-2 user data | MOV/MP4, MPEG-TS/PS |
The carriage names reported in ccEmbedSummary, such as mxf436m_anc or h264_sei_a53, are accepted too. Any other value is refused with 400.
See Embed & Extract Examples for complete requests you can send as they are.
Media Options
Embed and extract jobs read the media from media_path or, for media in your own cloud storage, from a Storage Access Provider named in media_options. A short-lived signed URL is created for the file, so it doesn't need to be public.
A media_path URL is read throughout the job, so it must stay valid until the job finishes. For pre-signed URLs to very large files, allow at least 24 hours.
"media_options": {
"provider_id": "your-s3-provider-id",
"provider_options": {
"bucket": "your-bucket-name",
"region": "us-east-1",
"key": "media/episode01.mxf"
}
}
| Provider | provider_options |
|---|---|
| S3 | bucket, region, key |
| GCS | projectId, clientEmail, bucket, fileName |
| Azure | container, blobName |
| Backblaze B2 | bucketName, fileName, endpoint, region. endpoint is your bucket's S3-compatible endpoint, such as https://s3.us-west-004.backblazeb2.com, and region its region, such as us-west-004. |
The same shapes are used in delivery_options. An embed's delivery destination must be S3 or GCS, in a processing region (see The output).
Where Jobs Run (No Egress)
Embed and extract jobs run in a processing region next to your storage, so that neither you nor Closed Caption Converter pays egress for moving the media between clouds or regions. Reading media into a processing region in the same cloud and region is free, and the captioned output never leaves the region it is written in.
GET /regions lists the processing regions. It needs no authentication:
curl https://api.closedcaptionconverter.com/regions
{
"regions": [
{ "id": "...", "cloud": "...", "region": "...", "label": "..." }
]
}
| Field | Description |
|---|---|
id | The region's ID, as used in processing_region. |
cloud | gcp (Google Cloud Storage) or aws (Amazon S3). |
region | The cloud's region name, as your bucket's location shows it. |
label | A readable name for the region. |
The list can change as regions are added, so read it from the API rather than hard-coding it. To request a region, contact support.
How the region is chosen:
- Embed: the region of the delivery destination. A destination outside every processing region is refused, with no override: an embed's output is the whole media file, and it never leaves the region.
- Extract: the region of the media, when it is in one. Otherwise, a default region. An extract sends out only a caption file, so it is never refused over where its media is.
Egress on your media. An embed reads the whole media file, and so does an MXF or MPEG-TS extract (an MP4 or MOV extract reads only a few MB). If the media is stored in another cloud or region than the one the job runs in, your storage provider may charge you egress for that read:
- An embed whose media is in another region is refused with
400, unless the job sets"allow_egress": trueto accept those charges. - An extract runs, and the response has
egress_warnings. - When the media's location can't be verified, the job runs and the response has
egress_warnings. An S3 URL names its region, but a GCS signed URL, an Azure SAS URL, a CDN URL, or a multi-region bucket doesn't. Usemedia_optionswith a Storage Access Provider so the bucket's location can be checked.
| Top-level field | Type | Default | Description |
|---|---|---|---|
processing_region | string | "auto" | Embed and extract jobs only. A region id from GET /regions to run the job in, or "auto" to choose as above. An embed always runs in its delivery region, so for an embed it must be that region or "auto". |
allow_egress | boolean | false | Embed jobs only. Run an embed whose media is in another region, accepting the egress your storage provider charges for reading it. It never makes the output leave its region. |
POST /jobs refuses a job over where it would run with 400 and a plain-text message that names the locations and the fix:
| Case | When | Fix |
|---|---|---|
delivery_region | An embed's delivery destination isn't in a processing region (including Azure, Backblaze B2, S3-compatible storage, and multi-region GCS buckets), or its location couldn't be read. | Deliver to an S3 or GCS bucket in a region from GET /regions, and let the provider read the bucket's location. |
source_egress | An embed's media is verifiably in another cloud or region than its delivery destination. | Store the media in the delivery region, or set "allow_egress": true. |
region_conflict | An embed's processing_region isn't the region of its delivery destination. | Omit processing_region, or set it to the delivery region. |
unknown_region | processing_region isn't "auto" or a region from GET /regions. | Use an id from GET /regions. |
egress_warnings is an array of messages, in the POST /jobs response and as egressWarnings in the job record. It is left out when there is nothing to warn about.
{
"jobId": "1b0e6f1a-6a7e-4c1e-9d0b-3f5f7c2a9e11",
"status": "queued",
"processing_region": "...",
"egress_warnings": [
"We couldn't verify where the media is stored. If it isn't in ..., your storage provider may charge egress for reading the whole file. Use media_options with a storage provider so we can check."
]
}
Embed and Extract Results
Embed and extract jobs always run in the background. POST /jobs returns status: "queued", target: false, and processing_region, plus egress_warnings when there are any. Poll GET /jobs/{id} until status is passed or failed, or set webhook (see Asynchronous Jobs). While the job runs, statusMsg shows its stage, such as Preflight: checking the media and captions..., Processing (write): 42.0%, or Verifying the output.... Besides the usual fields, the job record includes:
| Field | Description |
|---|---|
cost | The job's price, in cents: 50. |
processing_region | POST /jobs response: the ID of the region the job runs in. processingRegion in the job record. |
egress_warnings | POST /jobs response, when there are any: messages about egress your storage provider may charge for reading the media. egressWarnings in the job record. See Where Jobs Run. |
deliveredTo | Where the output was delivered, such as s3://your-delivery-bucket/captioned/episode01.mxf. Always set for embed jobs, and for extract jobs with delivery_options. |
outputBytes | The size of the output file, in bytes. |
captionsConvertedFrom | Embed jobs whose source was converted: profile, extension, events, frameRate, and dropFrame of the conversion (see The caption source). |
targets | Extract jobs with extract_options.channels: one entry per output file, { "channel", "format", "extension", "url" }, where url is a signed download URL. target is the first. A native MCC has one entry, with "channel": null. |
channels | Extract jobs with channels: the channels returned, one per entry in targets. |
channels_found | Extract jobs with channels: every channel in the media that has captions. |
channels_missing | Extract jobs with channels: selected channels that have no captions. |
channels_unsupported | Extract jobs with "channels": "auto": 708 services above 6, which can't be extracted. |
channel_inventory | Extract jobs with 608/708 channels: each channel in the media, with id, standard (608 or 708), characters, first_timecode, last_timecode, and, when the media says, language. |
warning | Set when the job passed with a caveat, such as missing channels, salvaged captions, or a failed extract delivery. |
ccEmbedSummary | A JSON string summarising the embed or extract: the container, caption streams, timecodes, and caption statistics. |
ccEmbedVerify | Embed jobs with verify: a JSON string summarising the verification. |
ccEmbedVersion | The version of the embedding engine that ran the job. |
ccEmbedSalvaged | Extract jobs: true when the media file was damaged and only the captions before the damage were extracted. |
ccEmbedError | Failed jobs only: an object with the error code, message, and, for engine errors, exit_code and causes. Preflight failures have preflight: true. statusMsg also contains the reason. |
ccEmbedError.code | Meaning |
|---|---|
io | The media URL couldn't be read: expired, not found, permission denied, or no Range support. |
unsupported_container | The media isn't MOV/MP4, MXF, or MPEG-TS/PS. |
unsupported | A container feature that isn't supported yet (for example, fragmented MP4 or clip-wrapped VC-3), or OP-47 into video that isn't 25 fps. |
no_captions | Extract: the file has no 608/708 captions or OP-47 subtitles, or none of the selected channels has captions. Embed: no caption data falls within the video's timecode range. |
corrupt_input | The media or the caption file is damaged. |
usage | Embed: the file already has captions and replace isn't set. |
captions_out_of_range | Embed preflight: every caption is before the video's first frame. Set embed_options.start_tc, or re-time the captions. |
op47_needs_mxf | Embed preflight: an EBU STL source with media that isn't MXF. |
delivery_unwritable | Embed preflight: the delivery provider refused a test upload. Check its credentials, bucket, and permissions. |
internal | With verify: the output didn't match the media. Otherwise an unexpected error; contact support with the job ID. |
A running embed or extract job can be cancelled with DELETE /jobs/{id}. Any upload in progress is aborted, so no partial file is left in your storage. See Deleting a Job.
Embed and Extract Pricing
Each embed or extract job costs $0.50, whatever the size of the media.
- An embed's caption conversion (from SRT, SCC, iTT, and so on) is included.
- An extract's conversion to any
target_profileis included, and an extract that returns several channels is still one job. - Failed and cancelled jobs are not billed.
Embed and extract jobs require an active Closed Caption Converter subscription; without one, POST /jobs returns 402.
deliver
When delivery_options are included in a Job Description alongside another job type (such as convert or transcribe), the output file is automatically delivered to the specified storage or platform provider after processing is complete. The response still includes the standard target download URL, and additionally the file is written to the destination. The exception is embed, whose output is only delivered: target is false.
{
"job_type": "convert",
"source_profile": "SubRip Video Subtitle Script",
"target_profile": "WebVTT",
"delivery_options": {
"provider_id": "your-s3-provider-id",
"provider_options": {
"bucket": "your-bucket-name",
"region": "us-east-1",
"key": "output/captions/episode01.vtt"
}
}
}
Filter Configuration
Filters are configured as nested objects within the Job Description. Each filter has an enable flag that must be set to true to activate it, along with its specific settings.
Auto Format
"auto_format_options": {
"enable": true,
"max_lines": 2,
"max_characters": 32,
"min_duration": 1,
"allow_orphan_words": false,
"selective": true
}
Automatic Reading Speed
"auto_correct_timing_options": {
"enable": true,
"max_cps": 25,
"min_duration": 1,
"max_duration": 12,
"min_frame_gap": 2
}
Event Gap
"event_gap_options": {
"enable": true,
"frames": 2,
"min_gap": 0,
"max_gap": 6,
"shot_change_aware": false,
"shot_changes": []
}
Search & Replace
The searches array contains one or more replacement rules:
"searches": [
{
"find": "colour",
"replace": "color",
"regex": false,
"caseSensitive": false
}
]
Segmentation & Conform
The segments array defines the regions to extract. Set timecode_mode to "inclusive" when the source system includes the last frame in its duration calculations; otherwise leave it at "exclusive" (the default).
"timecode_mode": "exclusive",
"segments": [
{
"incode": "01:00:00:00",
"outcode": "01:15:00:00",
"tcFormat": "smpte"
}
]
Remove Forced Subtitles
"remove_forced_subs": {
"enable": true,
"remove": true
}
Set remove to true to remove forced events, or false to keep only forced events and remove all others.
Automatic QC
Automatic QC is a list of tests in qc.tests. Each test has an id, a level (critical, warn, or info), a threshold, and its own parameters. The job's qc_status is set as follows:
failif any critical test reaches its threshold;warnif no critical test does, but a warning test does;passotherwise.
See Automatic QC Tests for the full test catalog, and Filters — Automatic QC for the web UI.
qc.stage controls when content tests run. Technical tests and sequentialTiming always inspect the source file.
qc.stage | Aliases | Content tests |
|---|---|---|
"pre" (default) | "pre-processing" | Source captions, immediately after decode, at the source frame rate |
"post" | "post-processing" | Captions after filters and processing, immediately before encode, at the target frame rate |
Values are case-insensitive.
- Which jobs: convert, transcribe, translate, and align jobs can include a
qcobject. The report is returned asqcReport, along withqc_statusandqc_errors, and does not change the encoded file. - Align jobs also attach alignment drift fields to the report.
- Transcribe jobs skip technical and source-order tests because there is no caption source file.
"qc": {
"stage": "pre",
"tests": [
{ "id": "maxCharsPerLine", "max": 42, "level": "critical", "threshold": 0 },
{ "id": "maxLinesPerEvent", "max": 2, "level": "critical", "threshold": 0 },
{ "id": "maxCps", "max": 20, "level": "critical", "threshold": 0 },
{ "id": "minGap", "min": 2, "level": "critical", "threshold": 0 },
{ "id": "frameGap", "min": 2, "minTolerance": 3, "maxTolerance": 11, "level": "warn", "threshold": 0 },
{ "id": "overlap", "level": "critical", "threshold": 0 },
{ "id": "sequentialTiming", "level": "critical", "threshold": 0 },
{ "id": "illegalCharsNetflix", "level": "critical", "threshold": 0 },
{ "id": "xmlEntities", "level": "critical", "threshold": 0 }
]
}
The legacy qc.content / qc.technical format is still accepted and is converted to tests automatically. See Legacy configuration.
"qc": {
"stage": "pre",
"content": { "enabled": true, "maxChars": 42, "maxLines": 2, "maxCps": 20 },
"technical": { "enabled": false }
}