📚 22/2021: Foul Deeds Will Rise by Greg Cox ⭐️⭐️⭐️ #startrek 🖖

Aside from Cox’s tendency to get a little too cute with references, this was one of the better moments of picking up a dropped thread; in this case, Leonore Karidian, now released from psychiatric treatment.

Saved here for my own reference, and possibly others’ if they should stumble across it: the easiest workflow I’ve found yet for converting DVDs or Blu-Rays for personal use on macOS, including conversion of subtitles from either Closed Captions, VobSub (DVD), or PGS (Blu-Ray) format to text-based .srt files suitable for use as soft subtitles, either as a sidecar file or included in the final movie file. (Updated from my original 2015 post to account for software and process changes).

Rip the System Disk

DVD Subtitle Workflow 1

Use MakeMKV to rip the DVD or BluRay disc to .mkv files.

Since I’m archiving special features as well as the main program, I simply rip every title on the disk longer than 30 seconds, and then trash any that I don’t need (such as menus, studio promos, etc.). I do check to make sure that all English-language audio or subtitle tracks are selected; usually they are by default, but I’ve seen rare situations where they need to be manually checked.

Once all the .mkv files have been created, I go through and rename each one to be something more descriptive than title_t03.mkv.

Extract the Subtitles

DVD Subtitle Workflow 2

For each .mkv file, use Subler to extract the subtitles. This takes two passes through Subler to complete.

  1. First, drag the .mkv file onto Subler, and deselect everything but the subtitle track(s) that you want to convert.

    Subler Import

    Subler’s “Info” column will describe the subtitles as either VobSub, PGS, or Text. I used to convert them all so that I could choose which gave me the best results; now, I’ll ignore VobSub/PGS if Text is available (but it’s less common).

    VobSub or PGS: These are the most common subtitle types. They’re actually a series of image files (.png, I think) with attached timing information that media players layer over the video stream. The advantage is that font, color, size, placement, and even fancier graphics (sometimes used for “pop up trivia” style tracks) are all at the creator’s discretion; the disadvantage is that because they’re image files, the text has to be extracted through an OCR (optical character recognition) process that frequently leads to typos and garbage characters.

    Text: These are Closed Caption files. I’m not sure how they’re stored on the physical disks, but current versions of MakeMKV convert them to text during the process of ripping to .mkv. I’ve generally found these to have far fewer typos and oddities than OCR’d VobSub or PGS subtitles. However, it’s often a toss-up as to whether the captions are presented using standard captalization or in ALL CAPITALS, and they use varying numbers of space characters to manually place text centered or off-centered. Depending on how picky you are about the output, these factors can affect how much post-processing is needed.

    After choosing the subtitle tracks and clicking “Add” to create a new Subler document, you can either save the Subler document (fine if you’re only doing a single file) or use File > Send to Queue to create a batch queue (best if you’re converting multiple files). When the file is saved or the queue is run and all queued files are saved, Subler will either extract the Closed Caption text or OCR the subtitle images and output a small .mp4 file.

  2. Second run; drag the new .mp4 file back onto Subler, click on the subtitle track(s), and choose File > Export… to save the .srt file(s). The tiny .mp4 file can then be deleted.

    Subler Export

Correct the Subtitles

DVD Subtitle Workflow 3

As noted above, the exported .srt file(s) are virtually guaranteed to have some oddities; how many and how intrusive they are depends on the source. Caption files are often in ALL CAPS and have weird spacing used to force the text to a desired on-screen position. Subtitle files will contain OCR errors, but BluRay (PGS) subs seem to come out better than DVD (VobSub) subs (likely due to the higher resolution of the format giving better quality text for the OCR process to scan). Accuracy is also affected by the chosen font and whether or not italics were used.

For correction, I use a couple methods.

  1. For a quick-and-dirty “good enough most of the time” run, I use BBEdit (but just about any other text editor would work) to do a quick spellcheck, identifying common errors and using search-and-replace to fix them in batches.

    I’ve actually set up a few scripts to automate the most common search-and-replace steps to help with this process.

  2. For a real quality fix–or if I have the time to create subtitles from scratch for a file that doesn’t have any–I use Subtitle Edit Pro to go through line-by-line, comparing the text to the original audio, adding italics when appropriate, and so on. (I used to recommend Aegisub, but that project appears to have been abandoned a few years back. There doesn’t seem to be a big market for subtitle editing on macOS; Subtitle Edit Pro is the best option I’ve found since Aegisub stopped working consistently.)

Of course, these two processes can be combined, done at different times, or skipped entirely; if I don’t have time or energy to do the error correction, I can always go back and use Subler to extract the .srt files for cleanup later.

Embed the Subtitles

DVD Subtitle Workflow 4

Use HandBrake to re-encode and convert the .mkv file (which at this point will be fairly large, straight off the source media) to a smaller .m4v file. Include the subtitle file by choosing Tracks > Add External Subtitles Track… in HandBrake’s Subtitles tab.

Handbrake Subtitles

Or, if you’re already working with an .m4v file, you can use Subler to add .srt files to into the .m4v: Drag the .m4v file from HandBrake on to Subler, drag the .srt file(s) into the window that opens, and then save the file.

Finito!

And that’s it. Now, you should have a .m4v file with embedded text-based soft subtitles.

TWOK Subtitles Example

You can also just store the .srt file(s) in the same directory and with the same name as the .m4v file for apps that don’t read embedded .srt files but will read sidecar files.

📚 21/2021: The Gods Themselves by Isaac Asimov ⭐️⭐️⭐️ 1973 Hugo Best Novel

One of my favorite classic SF authors, but not a favorite of his works. The ideas were interesting, but the dialogue felt particularly dated, and the final third’s sociological bits were a bit silly.

Somewhat niche personal pet peeve: The little “special features may not be captioned/subtitled” on home media releases. Why do studios seem to operate under the assumption that only people with perfect hearing will be interested in the behind-the-scenes goodies (or that even people with perfect hearing will never be in a situation where they want to pop subtitles on for some reason)?

If I could make a comfortable living off of it (or if I was independently wealthy and could do what I want), I’d love to have a subtitling/captioning business making sure that all parts of a home media release, including all special features (featurettes, specials, trailers, commentaries…it’s particularly nice when commentary tracks are subtitled, so that it’s possible to watch a movie with the original audio but with the commentary subtitles, or vice versa) had subtitle/caption options.

📚 20/2021: You Died: An Anthology of the Afterlife ⭐️⭐️⭐️⭐️

A really strong collection of short comics about death, the afterlife, and how we cope with it – from either side of the experience. A few of these got me a little misty-eyed. Excellent selections all around.

📚 19/2021: _Patience & Esther_ by S.W. Searle ⭐️⭐️⭐️

A sweet and nicely non-stressful (as in, no major drama or conflict) romance between two lower-class women in Edwardian England. Many nice historical details about the time…and oh, yeah, occasional explicit sex scenes.

This photo is both not exciting at all and one of the most exciting photos I’ve taken in months.

The corner of a room with bare walls.

This is our basement without the carpet pulled back, carpet pad removed, and large chunks of wall cut away to expose the concrete foundation wall that was leaking and soaking the floor in that corner of our basement.

Instead, this is our basement with the leak repaired, the walls patched, mudded, sanded, textured, and painted, and the carpet pad replaced and carpet re-laid down and put into place.

  • In late January, we discovered the wet patch of carpet in the basement corner.
  • In early February, we frantically moved everything out of this room so that the first round of contractors could start looking at the issue to figure out what needed to be done; everything that was in this room got piled into the other half of the basement. With the piles of stuff everywhere making the dry half of the basement unusable, and with our own desire to isolate the part of the house that would have people coming in and out of it in the midst of a pandemic and at a time when vaccines were just starting to become available to the most needy, at this point we declared our basement off limits, and resigned ourselves to only having 2/3 of our living space available to us. Prairie moved her workspace up into the living room.
  • Because this was an external problem affecting the interior, the bulk of the repairs were handled by the property management company through our HOA. While our HOA is generally pretty good and doesn’t lend itself to the horror stories I’ve heard from other HOAs, the simple fact of having extra administrative levels (us ↔︎ HOA ↔︎ property management ↔︎ contractors) meant that through February, March, and April, we had short periods of things actually happening, and long periods of anger and frustration as we waited to hear back from the property management company about when the next step would happen.
  • In late April, when the exterior work was done, we finally decided that we were tired of the back-and-forth, and told the HOA we’d handle the rest. Two weeks later, we’re finally done with the reconstruction work. It’s amazing how much faster things go without those extra steps in the middle!
  • Now, we take the next week to re-assemble the room (on a much more relaxed time scale than the frantic, one day “throw everything in boxes and stack them wherever we can” process of disassembling the room) and move Prairie out of the living room and back into her office space, and by sometime this weekend, we’ll finally have a fully useable home again, without us constantly tripping over each other or the workarounds we’ve had in place to make the living room workable as a temporary office for her.

If you’re ever tempted, I do not recommend chopping out 1/3 of your living space for three months in the midst of a pandemic when you’re not leaving the house. Just so’s you know.