Video OCR – On-Screen Text, Slides & Burned-In Subtitles avatar

Video OCR – On-Screen Text, Slides & Burned-In Subtitles

Pricing

from $2.00 / 1,000 frame with texts

Go to Apify Store
Video OCR – On-Screen Text, Slides & Burned-In Subtitles

Video OCR – On-Screen Text, Slides & Burned-In Subtitles

Extract on-screen text from video files as a timed track: slides, burned-in (hardcoded) subtitles, captions and ad hook text. Merged segments with start/end times, full transcript, SRT and VTT files. Tesseract OCR, 15+ languages. $2 per 1,000 frames with text.

Pricing

from $2.00 / 1,000 frame with texts

Rating

0.0

(0)

Developer

Cemal Atakli

Cemal Atakli

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Video OCR – Extract On-Screen Text, Slides & Burned-In Subtitles

Turn the text you can see in a video into a timed text track. You get slide text, burned-in (hardcoded) subtitles, captions, lower thirds, credits, prices on screen and ad hook text. Give it direct links to video files. It samples a frame every N seconds plus every scene cut, skips black and duplicate frames, and runs Tesseract 5 OCR on the rest. Then it merges what it reads into segments with start and end times. For every video you get:

  • segments: each line of on-screen text with start, end, timecodes, confidence and its position in the frame
  • a full on-screen transcript: every distinct line once, in order of appearance
  • SRT and VTT subtitle files: burned-in subtitles become a real subtitle file you can edit, translate or upload
  • a JSON file with segments, cues and the OCR result of every sampled frame

$2 per 1,000 frames that contain text + $0.002 per video minute. Frames without text, duplicate frames, failed videos and invalid links are free.

What does this do that our other listings don't?

ActorWhat you getWhat it doesn't do
Video OCR (this Actor)One de-duplicated, timed text track per video: segments [start, end, text], transcript, SRT/VTTNo speech recognition, no frame images by default
Video Frame ExtractorStill images (every N s, thumbnails, scenes, keyframes) with linksDoesn't read text
Image to Text OCRText, words and boxes from image URLsDoesn't take videos, has no timeline and doesn't merge repeated text
Audio & Video TranscriptionWhat is spoken (speech to text, SRT)Doesn't read text shown on screen

You could run Video Frame Extractor and then Image to Text OCR. You would pay for every frame, get the same slide text 30 times, and still have to rebuild the timing yourself. This Actor does all of that in one run. It only OCRs frames that changed, and it returns a clean track with start and end times.

What can I use it for?

  • Hardcoded subtitles → SRT: recover subtitles burned into old videos, social clips or screen recordings. Then edit, translate or re-time them.
  • Ad creative research: pull the hook text, offer, price and CTA from video ads you are allowed to analyze, with the second each one appears.
  • Lectures, webinars and conference talks: get the slide text with timestamps for notes, chapters, search or SEO.
  • Video datasets for AI: on-screen text as structured data next to the speech transcript (RAG, video search, moderation).
  • Compliance and QA: check that disclaimers, prices or legal text are on screen, and for how long.
  • Credits and lower thirds: names, titles and captions with times.

How it works

  1. The file is downloaded to the run's own disk (up to maxFileSizeMb, 500 MB by default). Links that point to private or internal network addresses are refused, and so are redirects to them.
  2. ffmpeg samples one frame every frameIntervalSec, and also a frame at every hard scene cut, so text that appears with a new shot gets an exact start time. You can limit OCR to part of the frame, for example the bottom third for subtitles.
  3. Flat frames (black, fades, plain sky) skip OCR. A frame that looks like the last OCR'd frame reuses its text, so a slide shown for 2 minutes is read once.
  4. Tesseract reads the remaining frames. In auto mode the Actor tries a pass that isolates white and yellow text, because outlined subtitles on busy footage are unreadable for OCR otherwise. Then it falls back to the plain frame. Low-resolution frames are enlarged first. Words below minConfidence and lines that look like texture noise are dropped.
  5. Lines are tracked across frames. Similar readings are merged into one segment, so OCR flicker doesn't break a line. A segment may be missing from up to 2 frames in a row. Cues for SRT/VTT are the time spans in which the visible text doesn't change.

Input

FieldDescription
videos, bulkText, datasetIdDirect links to video files (MP4, MOV, WebM, MKV, AVI, TS…), a pasted list or CSV, or a dataset column
uploadedFiles + uploadStoreVideos uploaded from your computer (select the key-value store you uploaded them to)
regionfull, bottom-third (subtitles), bottom-half, top-third, top-half, middle-third, or custom + customRegion (x,y,width,height in %)
languagesUp to 4 Tesseract languages (eng by default). Preinstalled: eng deu fra spa ita por nld tur pol rus ara hin chi_sim jpn kor. Any other of the ~100 Tesseract languages is downloaded at run start
textColorauto, light (white/yellow subtitles) or dark (slides, screen recordings). Choosing one is faster
textLayoutauto, sparse (scattered labels) or block
frameIntervalSec1 s by default. 0.5 s for fast captions, 2–5 s for slides (cheaper)
sceneDetection, sceneThresholdExtra frames at scene cuts (on, 0.3)
skipDuplicateFrames, upscaleSmallFrames, minConfidence, maxFrameWidthQuality and speed settings (on, on, 60, 1280 px)
outputModevideos (one row per video) or segments (one row per text segment)
saveTextFramesAlso store the OCR'd frames that contain text as JPEG files (greyscale, only the region that was read)
maxMinutesPerVideo, maxFramesPerVideo, maxFileSizeMbLimits (60 min, 3,600 frames, 500 MB)
{
"videos": ["https://example.com/media/webinar-recording.mp4"],
"region": "full",
"textColor": "dark",
"frameIntervalSec": 3,
"languages": ["eng"]
}

For burned-in subtitles:

{
"videos": ["https://example.com/clips/interview-subtitled.mp4"],
"region": "bottom-third",
"textColor": "light",
"frameIntervalSec": 0.5
}

Output

One row per video (from the demo run on the Sintel trailer, Blender Foundation, CC BY 3.0, shortened):

{
"videoUrl": "https://upload.wikimedia.org/.../Sintel_trailer-1080p.ogv.480p.vp9.webm",
"status": "ok",
"durationSec": 52.012,
"framesSampled": 54,
"framesOcr": 44,
"framesWithText": 7,
"framesDuplicate": 1,
"framesFlat": 9,
"segmentCount": 14,
"cueCount": 4,
"transcript": "THE BLENDER FOUNDATION\npresents\nSINTEL\nCOMING SOON\n...",
"segments": [
{"index": 1, "start": 10.09, "end": 12.09, "startTimecode": "00:00:10.090", "endTimecode": "00:00:12.090",
"text": "THE BLENDER FOUNDATION", "confidence": 96.6, "frames": 2,
"bbox": {"x": 311, "y": 204, "width": 232, "height": 13}}
],
"srtUrl": "https://api.apify.com/v2/key-value-stores/.../records/001-Sintel_trailer-1080p.ogv.480p.vp9.srt",
"vttUrl": "https://api.apify.com/v2/key-value-stores/.../records/001-Sintel_trailer-1080p.ogv.480p.vp9.vtt",
"jsonUrl": "https://api.apify.com/v2/key-value-stores/.../records/001-Sintel_trailer-1080p.ogv.480p.vp9.json",
"billedEvents": {"frame-with-text": 7, "video-minute": 1}
}

The SRT file:

1
00:00:10,090 --> 00:00:12,090
THE BLENDER FOUNDATION
presents
2
00:00:43,049 --> 00:00:48,049
SINTEL

Failed videos get a row with errorCode and error (for example PRIVATE_HOST, NOT_MEDIA, UNSUPPORTED_PLATFORM, FILE_TOO_LARGE) and are not charged.

Pricing

EventPriceWhen
frame-with-text$0.002Each OCR'd frame in which text was found. Duplicate frames that reuse the text are free
video-minute$0.002Per started minute of video read (decoding, sampling and OCR of frames that turn out to have no text)

Examples: a 10-minute webinar of full-screen slides, a new slide every 30 s, frameIntervalSec: 3, costs about 20 frames + 10 minutes = $0.06. A 60-second subtitled clip at 1 s costs at most 60 frames + 1 minute = $0.122. The 52-second demo costs 7 frames + 1 minute = $0.016. A video with no text costs only the minutes.

ActorPrice
This Actor$0.002 per frame with text + $0.002 per minute. Duplicates and textless frames are free
kantolabs/video-ocr$0.002 per frame with text
aemon/video-on-screen-text-extractor$0.006 per video

Set a maximum total charge on the run and the Actor stops cleanly when it is reached. The video it was reading keeps the part it scanned, OUTPUT shows stoppedAtMaxCharge: true, and you are never charged beyond the limit.

Limits (please read)

  • OCR, not magic: Tesseract reads clear printed text well: slides, standard subtitles, credits, UI. It reads heavily stylized fonts, tilted or 3D text, motion blur and tiny text in low-resolution video badly or not at all. Expect some garbled lines on busy footage. minConfidence and region are your filters.
  • Static logos and watermarks in the frame become one long segment and show up in every cue. Use region to read only where the text you want is.
  • Timing resolution is your sampling interval: a segment starts at the first sampled frame that shows it and ends at the first one that no longer does.
  • Direct video files only. YouTube, TikTok, Instagram and other platform pages are refused, and so are HLS .m3u8 playlists. Only process videos you are allowed to analyze.
  • No handwriting or math recognition. Right-to-left and vertical CJK text work only as well as Tesseract handles them.

FAQ

Can it extract hardcoded subtitles to SRT? Yes. That is the main use. Choose region: bottom-third and textColor: light. Use a 0.5–1 s interval.

Does it transcribe speech? No. For spoken words use Audio & Video Transcription. To add subtitles to a video, use Add Subtitles to Video.

I only need the frames as images. Use Video Frame Extractor. For text in images (not videos), use Image to Text OCR.

How long does it take? The 52-second demo took 7 s on 1 GB of memory. Long videos take roughly 1–3 s per OCR'd frame on 1 GB. More memory runs more OCR workers in parallel (1 per 2 GB).

Is my video stored? Only in your run's storage. The file is deleted from the container after processing. The SRT/VTT/JSON (and frames, if you ask for them) stay in your run's key-value store.

Use with AI agents (Apify MCP)

This Actor works as a tool in the Apify MCP server for Claude, ChatGPT, Cursor and other MCP clients. An agent can pass a video URL and get back the on-screen transcript and timed segments as JSON, for example to answer "what does the slide at 12:30 say?" or to summarize a webinar's slides. Through the API: POST https://api.apify.com/v2/acts/gazidev~video-ocr/run-sync-get-dataset-items with the input above.