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 HTTPS URL whose server supports Range requests (S3, GCS, Azure, and most CDNs do). |
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. |
delivery_options | object | see below | Output delivery configuration for storage and platform providers. |
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, and source_rate. |
extract_options | object | see below | Extract job configuration: start_tc and teletext_page. |
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 into a video file without re-encoding it. Only the caption data is added to the file: the video and audio essence is copied unchanged. Supported containers are MOV, MP4, MXF (OP1a, frame-wrapped), and MPEG-TS/PS. 608/708 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.
- 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.
Embed jobs accept one MCC caption source only. Supply it in source (upload or URL), with source_profile set to macCaption or macCaptionAdvanced, or with no profile and a .mcc extension. The file must start with the MCC header. Any other request is rejected with 400. To embed another caption format, first run a convert job with target_profile: "macCaption", then submit the resulting MCC file as the embed job's source.
{
"job_type": "embed",
"source_profile": "macCaption",
"media_path": "https://your-bucket.s3.amazonaws.com/media/episode01.mov",
"embed_options": {
"replace": true,
"carriage": "track",
"start_tc": "01:00:00:00"
}
}
embed_options field | Type | Default | Description |
|---|---|---|---|
replace | boolean | false | Replace captions already in the file. Without it, a file that already carries captions fails. |
carriage | string | "track" | MOV/MP4 only. "track" adds a QuickTime caption track; "sei" inserts A/53 SEI into the H.264/HEVC video stream. |
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. MCC lines before this timecode are dropped. |
source_rate | string | from the MCC | The MCC file's frame rate, such as "23.976". Only needed when the MCC file doesn't indicate it (23.976 vs 24). The captions are always conformed to the video's frame rate. |
The output is the media file with captions, in the same container format. By default it is stored by Closed Caption Converter and target is a signed download URL. When delivery_options names an S3, GCS, Azure, or Backblaze storage provider, the output is streamed directly to that location instead: target is then false, and deliveredTo holds the destination.
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 is: MCC for 608/708 captions, or EBU STL for OP-47 teletext (MXF only). Set target_profile to any other target profile to convert the extracted captions into that format, applying any filters in the Job Description as in a convert job.
{
"job_type": "extract",
"media_path": "https://your-bucket.s3.amazonaws.com/media/episode01.mxf",
"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. |
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.
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.
"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 | bucketName, fileName, endpoint, region |
Embed and Extract Results
Embed and extract jobs always run in the background. POST /jobs returns status: "queued" and target: false. Poll GET /jobs/{id} until status is passed or failed. See Asynchronous Jobs. Besides the usual fields, the job record includes:
| Field | Description |
|---|---|
ccEmbedSummary | A JSON string summarising the embed or extract: the container, caption streams, timecodes, and caption statistics. |
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. |
outputBytes | The size of the output file, in bytes. |
ccEmbedError | Failed jobs only: an object with the error code (such as no_captions or unsupported_container), exit_code, message, and causes. statusMsg also contains the reason. |
Embed and Extract Pricing
| Job type | Price |
|---|---|
extract | $0.30 per job. |
embed | $0.30 per job, plus $0.15 per GB of output, rounded up to the next GB (10⁹ bytes). For example, embedding into a 12.4 GB file costs $0.30 + 13 × $0.15 = $2.25. |
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.
{
"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 }
}