Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an avi and corresponding .srt file for subtitles. I hate having two files for this movie, so what I want to do is convert this file to mkv as I heard it can hold subtitles. I have handbrake to convert the file, but will that allow me to include the subtitles? If not, how would I go about putting the subtitles into the mkv?

share|improve this question
you're looking for 'hard coding' the subtitle into the video file :) – Molly7244 Nov 3 '09 at 1:24
no, he's looking to embed the subtitles in the MKV as a subtitle stream (similar to a DVD's subtitles). this is 'soft' because a player can choose to display the subtitle stream or not. 'hard coding' is rendering the subtitles into the video stream, ie permanently changing the video stream, where they can't be turned off by the player. AVI doesn't support subtitle streams, so hard coding is the only way to do that with AVI. – quack quixote Nov 3 '09 at 1:34
i stand corrected. – Molly7244 Nov 3 '09 at 1:37
up vote 10 down vote accepted

Use MKVMergeGUI.

mkvmerge and mkvmerge GUI (or just mmg) are two programs created by Moritz Bunkus. They're part of the mkvtoolnix package. mkvmerge can read a lot of different multimedia files and put their contents into Matroska files. Unfortunately this is a command line program, and not everyone is comfortable working on the command line. This is where mkvmerge GUI comes into play. It is a GUI that provides the user with an intuitive but powerful interface to mkvmerge.

Try this example (source):

mkvmerge -o out.mkv input.avi
share|improve this answer
And you can use it without reencoding your video, so no quality lost. – liori Nov 3 '09 at 3:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.