Extract Info from MKV Files on Linux


There are tons of media tools and software on the Linux platform that completely changes the feel of enjoying multimedia. Speaking of multimedia, MKV is one of the most popular file types used it tons of conditions. There are numerous benefits of this file format that’s pushing creators to make their contents available in MKV format. Today, we’ll see on how to extract information from an MKV file on Linux.

MKV file format

MKV stands for Matroska Multimedia Container. This file format is open-source and free container format that can hold unlimited numbers of audio and video, subtitle tracks in just one file. In addition, the final media file size is also reduced dramatically. The contents of an MKV file are also easy to manipulate and modify.

That’s why you’ll find out many high definition media files into MKV format.

Extracting information from MKV

For extracting information of an MKV file, we’ll be using a collection of tools named “MKVToolNix”. This is a great software package that’s available in both GUI and CLI interface. GUI is easier to use for most of the Linux users that provide easy-to-use working toolkits.

Installing MKVToolNix

MKVToolNix is available in different Linux distros. Here are the ways you can install them on your Linux.

  • Ubuntu

If you’re an Ubuntu user, you need to add the software repositories of MKVToolNix in the “/etc/apt/sources.list” file.

Run this command:

Now, scroll down to the last of the file and add the following lines:

Then, save the file and exit the editor. Don’t forget the comment section, as you may forget about the importance of the source.

Time to finally install MKVToolNix. Run these commands:

  • Debian

Installing MKVToolNix on Debian is pretty same as installing on Ubuntu.

Open the file “/etc/apt/sources.list” and add these lines at the end of the file:

Save the file and exit the editor.

Now, run these commands for completing the installation of MKVToolNix.

  • OpenSUSE

Run these commands for enabling the 3rd-part repository for MKVToolNix.

After the repo is enabled, run this command for installing the software.

  • Fedora

Run these commands for installing the software on Fedora.

MKVToolNix usage

After installation is complete, run the program.

The interface is pretty self-explanatory. Here, as an example, I’m adding an MKV file in the list.

From the bottom box, you can check what data you want to keep and what not. You can extract the video, audio, subtitle track etc. into individual files.

You can use the best media players for enjoying the individual files you’ve just extracted.


Spread the love
  • 21

PS. If you like this post please share it with your friends on the social networks using the buttons above.Thanks.


Please enter your comment!
Please enter your name here