User Tools

Site Tools


ubuntu:video:extract_subtitle_from_mkv_file

This is an old revision of the document!


Ubuntu - Video - Extract subtitle from MKV file

Install mkvtoolnix

sudo apt-get install mkvtoolnix.

Run from terminal:

mkvextract tracks <your_mkv_video> <track_numer>:<subtitle_file.srt>

Get information about tracks.

mkvmerge -i <filename>

Using this utility you can extract any track, even audio or video.

WARNING: Do not use mkvinfo as it says things like “Track number: 2 (track ID for mkvmerge & mkvextract: 1)” which are confusing.

ubuntu/video/extract_subtitle_from_mkv_file.1582467736.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki