Search This Blog

Sunday, December 14, 2014

Subtitles - Converting a DVD MKV to IDX SUB files on a Mac

I've done a few posts about subtitles, and I continue to experiment and learn all the time. If you want to read the other posts, then please have a look at:

Subtitles - Convert SUP to SRT

Ripping your DVDs and Blu Rays pt.2: Extract Subtitles for M4V / MP4 / iTunes

They may help answer your questions. This post is specifically about DVD subtitles in an MKV container. DVD subtitles are not an image, they are a text file (Blu Ray subtitles are images and are stored in SUP files).

I will be using the excellent Swedish drama 'Crimes of Passion' to demonstrate.

When you look in Handbrake you will see they appear as VOBSUB (text files):

What Handbrake does is to then apply the worst font in the world to it to create a horrible looking output:

"Good grief," thought Puck, "I can't be doing with this subtitle font..."

Ahhhh! It's horrible! It looks very jagged even on a small screen, but on a big TV it's awful! Also, if you burn it in, you can't ever turn it off. You never know, you might learn Swedish sometime... Or have Swedish friends over to watch it whilst you are cleaning the car....

Anyway, luckily, the font that Apple devices (iPad, iTunes, Apple TV) use are much nicer and it would be great to have those instead. We just need the subtitles in a file inside the MP4 container

"Well don't burn it in - just rip the subtitles as a file and turn them on in Quicktime or something" I hear you cry! Well, yes, you could try that, but Apple devices don't understand the subtitle output. Don't know why... Subler sees it just fine, but it causes Quicktime to error.

Here's how it's done (as ever, using my Mac - PC/Linux users will have to try and find equivalent software).

For this article, I used:


Rip the MKV to MP4 using Handbrake, but don't include the subtitles! Don't know how? Read this:

Ripping your DVDs and Blu Rays for your Apple Mac / iPod / iPhone / iPad etc


You will need a handy little tool called MKVToolNix which can be downloaded for PC, Mac and Linux. Once installed, open the program GUI and find the MKV file you are wanting to rip and "add" it. Now you want to look for the subtitle track you are after and make a note of the ID number - you'll need it in a minute:

Now you need to open Terminal, because you are going to use the non-GUI utility mkvextract, that comes bundled with MKVToolNix, to get the subtitles extracted. You will need to type the following:

/Applications/ tracks /<MKVpath>/<MKVTitle>.mkv  <TrackNo>:/<OutputPath>/<OutputFile>.sup

<MKVpath> = the directory where your MKV is stored
<MKVTitle> = the name of the MKV
<TrackNo> = The subtitle track number you made a note of earlier
<OutputPath> = the directory where you want the subtitles
<OutputFile> = the output file name

One you hit enter, the subtitles will be extracted:

And once the progress = 100% your subtitle file is ready and waiting!

Now the program is clever - it knows these aren't images so it changes the output file to be IDX and SUB. The IDX file is the index file and the SUB file is where all the subtitle text is held. None of that matters really, it's now a text file, and as such can be understood by a wider variety of programs - including Apple products.


Good old Subler - where would I be without it - it's a brilliant utility for the Mac.

You just need to add the subtitle track and save it - I've detailed how to do that in this blog post towards the bottom of the article.

You are adding the IDX file this time, rather than the SRT, but it's the same process as before apart from that.


And so here we are - the finished movie:

"At last", thought Puck, "a subtitle font I can adore..."

These subtitles are now ready to be used on your iDevices and you can set options on devices like Apple TV to make them bigger or smaller or change the font. Huzzah!

iTunes 11 and 12 Not Updating iDevice Apps Automatically

This is a doozy. I've been trying to figure out for a while now why iTunes 11 and 12 no longer updates apps on an iDevice (like an iPod or iPad) automatically. It used to be that when you plugged in an iDevice and synced it, new Apps that had been downloaded to your computer were automatically transferred to the iDevice. This hasn't been the case since iTunes 11. Progress? Not sure about that! Well, I still don't know why but I have found some workarounds. (Screenshots are from iTunes 12.01.26 on a Mac)

Automatically install new apps checkbox

In the "Apps" menu of your iDevice you will see the checkbox shown above at the bottom of the list of apps. Check it and hey presto all apps will sync....along with everything else not on the iDevice. This is fine if you are running one device, but if like me there are family members using the same iTunes account and each have different apps this isn't going to work.

Summary: fine if you want all your apps on all your devices
Command key

If you scroll down the list of apps in the "Apps" menu of you iDevice and find one that needs updating, click on the "Update" button whilst holding down the Command key. Magically, all of the icons will then turn to "Will Update"!

Now, there is a catch. If you have a lot of apps that need updating and not a lot of room on your device, you may well get an error message.

If you do, find the triangle icon with an exclamation mark and click on it:

You will get a message like this:

Panic ye not! It's just there isn't enough free space to get all the apps on in one go. Just find another "Update" button, click on it again (whilst holding the Command key) and repeat the process as before. The more free space you have, the less iterations it will take. So get rid of those old apps crowding your iDevice!

Some really large apps may be left and simply won't update in a batch. You'll have to do those one at a time or free up more space. 

If you can't free any more space, then try updating via the App Store app on the iDevice itself. If that doesn't work, you will have to free up more space or just keep the old version of the app.

It works - it's a bit manual - but it does work...


A bit of 'trial and error' has yielded two ways to get apps from your computer onto your iDevice. of course, I might have just missed a setting somewhere - so if I have - please leave a comment!