Extracting .mkv subtitles
Actually this was already posted but it was lost on some migration... so here it is again
All the parsing and extraction is implemented by mkvtoolnix
, so first step is installing it...
1 |
|
After this we can see the tracks in the file
1 |
|
Maybe doing |grep track
it's better seen, for example
1 2 3 4 5 6 7 8 9 10 |
|
In this case we're interested in track number 3 (or 2 for mkvmerge
and mkvextract
as the tool explains), so we'll extract it with
1 |
|
During this process the interface points the subtitles type, so we may want to set the correct extension to the resulting file
1 2 3 4 |
|
And that's all, surely any track can be extracted, by exchanging the 2:
for 1:
we'd get the audio.