Closed caption embedding

Closed caption embedding for video masters

Embed CEA-608/708 captions and OP-47 teletext into MXF, MOV, MP4 and MPEG-TS files without re-encoding, and extract them back out, channel by channel. Send any caption format: we convert it in the same job.

API CLI  Embedding and extraction aren’t available in the web app.

Trusted by broadcasters and streaming platforms worldwide

  • FOX
  • NBC
  • Warner Bros. Discovery
  • PBS
  • Sky
  • A&E Networks
  • Crunchyroll
  • PokerGO
  • Kanopy
  • YES TV
  • SDVI Rally
  • Foo Engine
  • The Africa Channel
  • Veset
How it works

One API call from sidecar file to captioned master

  1. Point us at your master

    Give a pre-signed URL or a Storage Access Provider for your S3 or Google Cloud bucket. The video is read in place with range requests, so it’s never uploaded and files of any size work.

  2. Send any caption file

    SRT, WebVTT, SCC, iTunes Timed Text, TTML, MCC or EBU STL. Anything that isn’t MCC is converted to MCC (or EBU STL for OP-47) as part of the same job.

  3. Get the captioned master back in your storage

    The captions are written into the container and the new file streams straight to your bucket. Turn on verify to confirm every original video and audio sample is unchanged.

Embedding and extraction run in the API and the CC Embed CLI. The web app converts sidecar caption files in your browser and doesn’t open video files.
POST /jobs · embed an SRT
curl -X POST https://api.closedcaptionconverter.com/jobs \
  -H "x-api-key: YOUR_API_KEY" \
  -H "username: you@example.com" \
  -H "Content-Type: application/json" \
  -d '{
    "job_type": "embed",
    "source": "https://your-bucket.s3.amazonaws.com/captions/episode01.srt?X-Amz-Signature=...",
    "source_profile": "subRip",
    "media_path": "https://your-bucket.s3.amazonaws.com/masters/episode01.mxf?X-Amz-Signature=...",
    "embed_options": { "verify": true },
    "delivery_options": {
      "provider_id": "YOUR_S3_PROVIDER_ID",
      "provider_options": { "bucket": "your-bucket", "region": "us-east-1", "key": "captioned/episode01.mxf" }
    }
  }'

The job is queued and runs in the background. Poll GET /jobs/{id} or set a webhook. See the embed and extract examples for every option.

Supported media

Broadcast and streaming containers

Captions go where each container expects them, so the result plays in broadcast servers, QC tools and players without a transcode.

ContainerWhere captions are writtenCaptions
MXF (OP1a)SMPTE ST 436 ancillary data trackCEA-608/708, OP-47 teletext
MOVQuickTime caption track, or A/53 SEI in the videoCEA-608/708
MP4Caption track, or A/53 SEI in H.264/HEVCCEA-608/708
MPEG-TS / PSA/53 SEI (H.264/HEVC) or MPEG-2 user dataCEA-608/708
Caption extraction

Extract captions, channel by channel

Pull 608/708 captions and OP-47 subtitles out of a master, including line 21 captions in D-10/IMX MXF, and get each channel back as its own file.

  • Choose channels with extract_options.channels: CC1–CC4, 708 services 1–6, teletext pages, or "auto" for every channel with captions
  • One file per channel in the job result, in MCC, EBU STL or any of 30+ formats
  • A channel inventory shows which channels the file carries and which are missing
  • Damaged files are salvaged: you get the captions up to the damage, with a warning
  • One job and one price, however many channels you extract
POST /jobs · extract two channels
{
  "job_type": "extract",
  "media_path": "https://your-bucket.s3.amazonaws.com/masters/episode01.mp4?X-Amz-Signature=...",
  "target_profile": "subRip",
  "extract_options": { "channels": ["CC1", "service1"] }
}
GET /jobs/{id}
{
  "status": "passed",
  "channels": ["CC1", "service1"],
  "channels_missing": [],
  "targets": [
    { "channel": "CC1", "format": "subRip", "url": "https://.../episode01_CC1.srt" },
    { "channel": "service1", "format": "subRip", "url": "https://.../episode01_service1.srt" }
  ]
}
No egress surprises

Your media never leaves its region

Moving a 100 GB master between clouds can cost more than the captions. So we bring the processing to your storage instead of your storage to us.

Runs next to your storage

Each job runs in the same cloud and region as your media and delivery bucket, so reading the master and writing the output stay inside that region.

Never uploaded

The video is read in place and the captioned file streams straight to your bucket. The video is never staged on our servers, so its size doesn’t matter.

Checked before it runs

If a job would cause egress, the API tells you before any work starts: an embed is refused unless you opt in with allow_egress, and an extract comes back with a warning.

Name your bucket with a Storage Access Provider (or use S3 pre-signed URLs) so we can place the job. GET /regions lists where jobs run.

CC Embed CLI

Prefer to run it on your own machines?

CC Embed is the engine behind the API as a single command-line tool for Windows, macOS and Linux. Embed, extract, conform and verify captions on-premise, in your own cloud or on an offline network. It’s licensed separately: contact sales for access.

The CLI embeds MCC and EBU STL; convert other caption formats first with the Converter CLI, or let the API do both in one job.

Command line
cc-embed embed master.mxf --captions captions.mcc -o master_cc.mxf --verify
cc-embed extract master_cc.mxf -o captions.mcc --json
Pricing

$0.50 per job

One price for each embed or extract job, with an active Closed Caption Converter subscription.

  • Caption conversion for an embed included
  • Every extracted channel file included
  • Output verification included
  • Failed jobs aren’t charged
FAQ

Caption embedding questions

No. Embedding and extraction are available in the Closed Caption Converter API and the CC Embed CLI. The web app converts sidecar caption files in your browser and doesn’t open video files. Your video masters stay in your own cloud storage, and the API reads them there.

No. The captions are written into the existing container: a QuickTime caption track or A/53 SEI in MOV and MP4, SMPTE ST 436 ancillary data in MXF, and A/53 SEI or MPEG-2 user data in MPEG-TS. The video and audio are copied as they are, and embed_options.verify re-reads the delivered file to confirm every original sample is unchanged.

Any format the converter reads: SRT, WebVTT, SCC, iTunes Timed Text, TTML, EBU STL and more. A file that isn’t MCC is converted to MCC (or to EBU STL for OP-47 teletext) as part of the same embed job, so you pay for one job, not two.

Yes. Set extract_options.channels to the channels you want (CC1–CC4, 708 services 1–6 or teletext pages), or to "auto" for every channel with captions. You get one file per channel in the job result, in MCC, EBU STL or any of 30+ formats, for the price of one job.

Jobs run in the same cloud region as your storage, so the media is read and the output written without leaving that region. If a job would cause egress, the API says so before it runs: an embed is refused unless you set allow_egress, and an extract returns a warning.

$0.50 per embed or extract job, with an active Closed Caption Converter subscription. That includes the caption conversion for an embed and every channel file returned by an extract.

Ready to get started?

Sign up for a free 7-day trial of Closed Caption Converter and get 1:1 developer support and access to our video tutorials.

Start automating your closed caption workflows. Convert, conform, and deliver closed caption files in over 30 different formats.