Before you start
On a DVD or a Blu-ray, subtitles are stored as pictures: little images of white text, shown over the film at the right moment. A player only has to show the picture, but you can't edit a picture, translate it or save it as an .srt file.
OCR (optical character recognition) fixes that: it looks at each picture and reads the letters in it, the way you would. Subtitld does this with an add-on, on your computer.
Disc subtitles usually come out of a disc ripping tool as one of these files:
- .sup: Blu-ray subtitles (PGS). One file.
- .idx and .sub: DVD subtitles (VobSub). Two files with the same name; keep them together.
You also need the video the subtitles belong to.
The pictures here come from Tears of Steel. We made its .sup file ourselves, with Subtitld's own Export…, so you can see real results. Use OCR on discs you own, as the law where you live allows.
Open the subtitles, the first time
- On the start screen, press Open.
- Select both files at once: the video and the .sup (or the .idx). Hold Ctrl (⌘ on a Mac) and click each one, then press Open. If you pick only the subtitles, Subtitld asks for the video next.
The first time, Subtitld tells you it can't read them yet:
Press OK. Now get the add-on; you only do this once.
Get an OCR add-on
The add-ons live in the editor, so open something first:
- Press Open again and open only the video. The editor opens with no subtitles.
- Click Global settings in the left rail and pick the Add-ons tab.
- Type OCR in the search box. Two add-ons show up.
- Press Install on the one that suits your subtitles:
- Tesseract OCR: small (about 13 MB). Reads English out of the box, and about 100 other languages; each one downloads the first time you need it (1 to 12 MB). Start with this one.
- PP-OCRv5: bigger (about 150 MB), with everything included. A good choice for Chinese, Japanese, Korean, Russian, Arabic, Thai or Hindi subtitles.
Both work offline: the pictures never leave your computer.
Install just one. If you have both, Subtitld uses PP-OCRv5.
Read the subtitles
- Close the video: point at the top of the window, and a × appears next to the Subtitld name, at the top right. Press it (Close project). You are back on the start screen.
- Press Open and select the video and the subtitles together, as before.
- A window asks: Read subtitles in pictures. Under Language, pick the language the subtitles are written in, such as English (United States). DVD subtitles (.idx) usually say their language themselves; for a .sup, check that it's right.
- Press Read.
A bar shows the reading. It is quick: the 76 subtitles of Tears of Steel took about two seconds. When it's done, the window closes and the editor opens with the subtitles as text, each at the time the disc shows it.
Subtitld keeps the text and the timing, not the pictures. Subtitles placed at the top of the picture on the disc stay at the top. Two pictures shown at the same time become one subtitle with two lines.
Fix what the OCR got wrong
OCR is good, not perfect. In Tears of Steel, Tesseract got 65 of the 76 subtitles exactly right. The other 11 show the usual kinds of mistakes:
- Dots: …alright! came out as ..alright!, and …and I just want… lost its dots altogether.
- I and i, l and I: There she is. became There she Is., and I'm- became I'M-.
- A mixed-up word now and then: …you have your robotics came out as ..yOu Nave your robotics.
So read every subtitle once, with the video. Play it with Space and read along in the Subtitles list. When a line is wrong, click it and fix the text in the box under the list.
The same mistake often comes back many times, like two dots instead of three. Press Ctrl + F to open Find & Replace and fix them all at once.
Check: OCR doesn't see italics, which films use for voices off screen, songs and thoughts. Compare with the video, and put them back: select the words and press Ctrl + I.
Save them as text
Press Export… in the top bar, keep Subtitles, set Format to SRT and press Export. Name the file after the video, with the language: holiday.mp4 and holiday.en.srt.
Your subtitles are now ordinary text. You can translate them into another language, dub the video, or give them a new look and save a video with them in the picture.
Subtitles inside a video file
Sometimes the disc subtitles are still inside a video file, as a track of an .mkv or a .m2ts. You can read them from there too, without taking them out first:
- Open the video.
- Click Import in the left rail.
- Under Transcription engine, pick subtitles (subtitles in the video), then choose the track under Subtitle track. Picture tracks say they will be read by your OCR add-on.
- Press Read subtitles.
Your disc subtitles are text now.
Where to go next: