How to soft code an MKV with subtitles?

4

2

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?

GiH

Posted 2009-11-03T01:06:04.833

Reputation: 3 667

you're looking for 'hard coding' the subtitle into the video file :) – None – 2009-11-03T01:24:50.293

6no, 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 – 2009-11-03T01:34:22.793

1i stand corrected. – None – 2009-11-03T01:37:17.330

Answers

10

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 input.srt

nik

Posted 2009-11-03T01:06:04.833

Reputation: 50 788

1old answer with links dead – None – 2016-12-14T11:01:10.457

chk http://forum.videohelp.com/threads/287579-How-to-attach-subtitle-to-mkv in place of the first link; other links seem to be ok.

– nik – 2016-12-14T16:13:40.917

5And you can use it without reencoding your video, so no quality lost. – liori – 2009-11-03T03:31:33.393