matroska-logoIn this tutorial I will describe you how to add subtitles into a matroska .mkv file. The software I will use is mkvmerge GUI which is part of the MKVToolnix package. Both programs are available for Windows and Linux. Here I will use the Windows version. Since I suppose you already have the video file along with its .srt subtitles somewhere in your hard disk download the latest version of MKVToolnix, install it and let's get started!

This is the main window of mkvmerge GUI.

Press the Add button and first load your .mkv file. Press Add once more and load your .srt subtitles file.

In General track options under Language select the subtitles language. You may add multiple .srt subtitles and choose which one you want to be the default. Moreover set the output filename.

Now you are ready. Just press the Start Muxing butting. In a few minutes the new .mkv file will be ready.

Note: If you get a message mkvmerge failed with a return code of 2. Could not write the output file make sure the output path is correct and you have write priviledges on it.

Now just open the video with any .mkv compatible player such as VLC. It was pretty easy to mux your subs, wasn't it?

Comments (73)

Subscribe to this comment's feed
THANK YOU
0
smilies/grin.gifsmilies/grin.gifsmilies/grin.gif really thanks you are GENUIS
Mahra , November 19, 2011
where is the fucking link? , Low-rated comment [Show]
...
axel
I guess you are using Windows, right...? Here is the link

http://www.bunkus.org/videotoo...-setup.exe
axel , November 27, 2011
...
0
hm i muxed title in mkv...and on computer it works great....but when i play it on my 3d sony tv NO SUBTITLES at all smilies/sad.gif where is the problem?
Alanko , December 10, 2011
...
axel
Alanko, you might have to enable the subtitles through your remote. Is there such an option? Or the problem could be with the language encoding you have selected. It might not be supported by your TV.
axel , December 11, 2011
...
0
hmi checked every option, it seems it only recognize SRT format for subtitles...now i was thinking about converting SUP or SUB to SRT AFTER i made those two with 3dsubtitler program....but i cant find a program for it...i googled, i tryed subtitle workshop....vobsup....workshop cant load sup or sub....and vob sub can BUT i must manually enter EACH letter....NO WAY smilies/smiley.gif

oh yea i have no problem with normal movies...i normaly watch all movies which are not in 3d....only 3d is giving me troubles with subtitles smilies/sad.gif

is there any program that will do all the job converting SUP or SUB to STR? after u use 3d subtitler program?
Alanko , December 11, 2011
...
0
oh yea forgot to anwser --> yes it has an option on remote and it shows there like "subtitle" like name....but when i choose it same thing...nothing shows.im talking about a file when i muxed title in MKV ....then it shows nothing...if i make normal srt title....then it stand in the middle of screen and when i switch to 3d its all mixed up everywhere....
Alanko , December 11, 2011
...
0
i also have this --> http://www.iboum.com/pr/ph3000.php without it nothing works.

but it must be a way to get 3d subtitles work if EVERYTHING ELSE WORKS.....
Alanko , December 11, 2011
...
0
i figured it out....no sup format i must only convert to SUB/IDX and copy both sub-idx + mkv movie...AND I WORKS smilies/smiley.gif
Alanko , December 11, 2011
...
axel
Alanko it seems that you figured it by yourself before I could read your comments. Anyway I am glad you've made it.
axel , December 14, 2011
problem with my DVD
0
first, thank you so much for this topic, this is what I have been looking for.

everything went great so far. But, after I burnt a dvd cd to play it in my dvd it doesn't work it says no audio. no image. !!?
Although I recall that I played mkv video before and it's working, but now I don't no what's the problem.

I hope you can help me out here.


and thank you in advance.
Ali , December 16, 2011
...
axel
Hi Ali, thank you for your comment. Have you tried playing the converted file on your computer? You can also try an mkv file that you haven't altered with mkvmerge to make sure if your DVD player supports mkv.
axel , December 17, 2011
...
0
Yeah, I did, and it's working well. but when I checked an mkv file that haven't altered with mkvmerge on my dvd player, it doesn't work!!
so I think the problem is that my dvd player does not support mkv at all

anyway, thank you for your reply smilies/smiley.gif
Ali , December 17, 2011
Not working
0
I did the above steps (using 5.2.1 version), it finished without any error but when i tried to play the file it is not playing at all. i tried 2 players which both playing the file without subs. Any idea? Thank you
IP , January 11, 2012
...
axel
Do you mean software players or dvd players?
axel , January 11, 2012
not working..
0
i tried them in my pc, so s/w players (BS, media & divx player.

Thanks
IP , January 14, 2012
...
axel
Open mmg.exe ang to File > Options. Is "Disable header removal compression for audio and video by default" selected or not? If it is selected, deselect it, load the movie and mux it again.
axel , January 14, 2012
not working
0
it was not selected smilies/sad.gif
ip , January 15, 2012
...
axel
Can you do one more test? Load the mkv file, select the video track and in Extra Options set Compression to none. Do the same for the audio track. Afterwards mux it again.

Let me know if it works.
axel , January 15, 2012
Taking long time
0
Hi,

used this method it used to take 5 mins to add subs, suddenly now its taking 10 - 50 minutes... did i change something ?
Ndee , January 16, 2012
...
0
Thank you so much for this topic
Is mkvtoolnix are for hardsub mkv file? I've done muxing .srt to mkv files.. Its works perfectly in pc, but when i played the movie on my lcd sony bravia via usb with hdd, there is no subtitle..
Fyi, there is no subtitle button in my remote, i already tried to push all the button in my remote and still no subtitle.. Please help...
Thanks in advance smilies/smiley.gif
Gogle , January 27, 2012
...
axel
mkvtoolnix doesn't hardcode subtitles. In fact I don't know any program that can do this for mkv files. I'll take a look and see if I can find something.

For the time being the only solution I can think is to convert your mkv to another format and hardcode subs to it.
axel , January 27, 2012
problem with subtitles
0
Hi, I just finished muxing a .srt subtitle to a mkv file, muxing was completed succesfully but when I played the file @ my br player to my smart tv the subtitles were a little strange, I mean when there is on sentence of subtitle was ok but when there was two sentences of subtitles the first sentence was not centered, it appeared at the left side of the screen, the other sentence under was ok (centered), what to do to fix this?
aficionado , March 02, 2012
problem with subtitles
0
also when i played the file @ my pc with media player classic-home cinema everything was ok, this only happens when i played @ my tv (i used a usb stick - connected to br player)
aficionado , March 02, 2012
Queue more mkv's
0
Hi, I've worked with the tool and it works fine. But when I use it for TV series with like 15 epidodes I would like to have the option to do more than 1 mkv file at the time of at least queue them.

Is this possible??
Erik , March 18, 2012
...
axel
aficionado maybe your TV doesn't support this feature. I don't know what could be wrong

Erik you can add multiple videos and subtitles by pressing the add button again
axel , March 19, 2012
fine
0
i change the name of the subtitles, to the same name of the video and Works perfect !!! thanks
oz , March 21, 2012
Sound Problem
0
Thank you very much my friend for this programe!!!!
I try to put the subtittles to an mkv file.
I follow the instructions you have but the result was that I have a mkv file with subtittles but without sound.
Please be so kind to help me overcome this problem.
Thanking you in advance
Nick
Nick , March 22, 2012
SRT+MP4 to be played in Sony 3D Blue Ray Player
melZ
Sorry for interrupting guys.
Heyy guys I am really expecting someone to reply to this post.Please do help.Im trying from past 1 month to embed (hardcode and soft) for watching MP4 movies (720p & 1080p) in my sony 3D Blue Ray player which supports only mp4 not evn avi,or mkv.I ve tried many many methods,nothing worked well,either quality drops or the the converting wont cmplete due to unexpected errors.I have tried a lot of softwares like,FORMAT FACTORY(works well with avi files,which are playable in my dvd player,when i try mp4 it reaches till 98% or so and some error is shown),XILLISOFT(Quality dropped)then tried all MUXing methods too,TOTAL VIDEO CONVERTER(HUGE FILE IT BECOMES,like 8.70GB ). pLease guys hope someone will help me out smilies/smiley.gif Thanks!
melZ , April 12, 2012
...
axel
Hi Nick, I am sorry for not replying sooner. When you import the mkv file can you check if you can see an audio file under Tracks, chapters and tags?

Hi melZ, I'll have a look at this during the weekend and I'll see if I can come up with a guide. smilies/smiley.gif
axel , April 17, 2012
MKV movie won't play after add subtitles
amy
Hello

I hope u can help me..Before this I have download a movie in MKV format and it play fine on sony blu ray player but once I have add the subtitles (SRT File) by using MKVmerge gui,it no longer can be played on blu ray player and only can played on pc..
amy , May 21, 2012
This is why your movie no longer can be played at DVD player
0
all files that have been converted with mkvmerge(adding sub sound etc)has been changed by mkvmerge itself into a mkv files, so if you want this file can be played like before(with dvd or some else) you have convert this movie back into its old file typesmilies/grin.gif
Joshua , June 08, 2012
How to mux audio in mkv
0
I have both .mkv and the audio file downloaded. Can i mux both file according to the way you mux the sub? thanks
Azizul , June 21, 2012
about playing @ external dvds
0
hello everybody i concern my self very lucky i've found this conversation you've been very helpful all of you!! i had the problem with subs not showed up when i burned a dvd and played at my samsund blu-ray.. the solution i configured out myself is to make a DATA disk and not a dvd video! i placed in the same folder my movie-s and the sub-s and it worked!! of they got to have exactly the same name.. and i think almost all of the relatively new media players can read most of sub formats!! greetings to all of ya from Greece!!!!! have a nice summer..
nikos , June 29, 2012
...
0
thankssmilies/grin.gifsmilies/grin.gifsmilies/grin.gifsmilies/grin.gifsmilies/grin.gifsmilies/grin.gif
nobough , July 21, 2012
Thanks so much
0
I'd been using the command line tools and didn't even know that there was a GUI. Thanks!
Daniel , July 24, 2012
Sound problem
0
I already attached the subtitle on the mkv file. But when i played it on the TV there is no sound. Pls. help. Thanks - Hazel
Hazel Ajero , August 02, 2012
Thanks!
0
Great tutorial! I'm fairly new to mkvmerge but this was extremely easy to follow and the resulting file came out perfectly aligned. Thanks for the help! ^_^
Renee , August 08, 2012
where to find srt file
0
bro hw cn i get a srt file to add in a movie.
Nikk , August 19, 2012
3d sub
0
dont worck 3d sub,any1 know another progr ?
glr , September 11, 2012
Font size
0
The font size is too small, any way to change it?
RARAPONG , September 30, 2012
Does it work on Tv
0
Thanks for your effort...
But Does it work on Tv, does the sub shows on Tv?
Roro , October 22, 2012
thanks a lot.....
0
worked fine in my pc and tv...
aravindh , November 02, 2012
Muxing showing errors
0
I followed the steps mentioned.wanted to add a .srt file to .mkv file.But while muxing there is a msg" mkvmerge failed with a return code of 2.There were errors"
Pls help
Santanu , November 21, 2012
Worked fine!
0
Thnaks for the help!
latemrdouglas , November 25, 2012
Doesn't works, pls help me
0
I've followed all the steps given,the programs went well but when i open the movie, the subtitle dont show up. smilies/sad.gif is there any mistake or something. smilies/smiley.gif
amiyn , December 17, 2012
VLC problem
0
The merging was fine, but when I try to skip some parts of the movie the VLC player freezes, when i try to play the original movie with the separate subtitle, it plays fine when skipping ...
Ren , December 22, 2012
it is inactive. how can select the subtitles language?
0
"In General track options under Language select the subtitles language. You may add multiple .srt subtitles and choose which one you want to be the default. Moreover set the output filename."
konstantin , December 29, 2012
excellent but...
0
the remux is made ok but i am doing all steps right choosing the gre (greek, montern 1453-) and the subtitles are like chinese! how can i fix that?
konstantin , December 29, 2012
Re: excellent but...
0
konstantin select the srt file you loaded and after you select the language (Greek, (Modern 1453-)) go to the second tab named "Format Specific Options and change the Charset to "GREEK". That worked for me!

Happy new year to everyone! - Καλή Χρονια σε όλους!
Dinos , December 29, 2012
re re excellent but...
0
ela re file kali xronia katarxin
nomizo oti to ekana alla kaste na to ksanado. tha se enimeroso mexri to vrady!
konstantin , December 29, 2012
pali ta idia
0
pali allabournezika sta ellinika. to vazo ston apokodikopoihti NECO HD MAXIMA o opoios einai koryfaios i tainia se mkv paizei teleia deixnei agglikous ypotitlous ALLA sta ellinika deixei kinezika. den ksero ti na kano.... any ideas?
konstantin , December 29, 2012
Re: Pali ta idia
0
Try to play the muxed mkv file at another media player or a computer if possible to check if it plays correctly.

If yes, there's an issue with your MP. Tried this in my VU+ Uno and my WD TV Live and it works fine
Dinos , December 29, 2012
problem solved!!!
0
dialegeis (Greek, (Modern 1453-)) apla sto "Format Specific Options" kaneis to Charset na einai "UTF8" kai meta ola einai ok!
konstantin , December 30, 2012
telika den itan ayto!!! oute ayto!!!
0
loipon vazontas eksoteriko skliro disko paizoun ola teleia se oti glossa thes oi ypotitloi. pragma pou simainei oti to media player tou apokodikopoihti einai jet. otan vazeis to kingston flashaki usb 32gb e kei den paizei tous ypotitlous. e pos ginetai ayto re paidia!!!


kai stis 2 periptoseis einai i idia tainia. to idio .mkv arxei ome to idio .srt arxeio. (fysika ayta ta 2 exoun to idio onoma). me ton disko exei ypotitlous me to flashaki oxi.

any ideas?
konstantin , December 31, 2012
Try a WD TVLive
0
WD TVLive will play all these files, mkv, srt, mkv with subs added via mkvmerge, and all the usual avi, mp4, mov, mp3, flac, ape. About the only things it won't play are ogg and shn. Plus, you can connect two USB hard drives to it if you want (or flash drives), and store a ton of content. it's pretty easy to use, and less then $100. No, I don't work for WD!
Anne O'Nemus , January 01, 2013
Error: Re-rendering track headers
0
it says: failed with a return code of 2
i have changed the name of the srt file into the same name as the mkv but it's not working.
can you pls tell me what to do? thx smilies/smiley.gif
Carol , February 14, 2013
...
0
Thanks, it helps.
pasu , April 11, 2013
:(
0
"it says: failed with a return code of 2
i have changed the name of the srt file into the same name as the mkv but it's not working.
can you pls tell me what to do? thx"

Same for me. It just doesn't work
;( , May 01, 2013
Thanks bud
0
Really helpful, it does work on my LG LCD/LED TV, thanks...
azaharil anuar , May 26, 2013
3d sub does not work on tv
0
i tried so many ways and all did not work..
i used mkvmerge GUI v4.6
i convert 2d sub to 3d ( using 3DSubtitler program ) and i get 3 files(.sup & .xml & .idx ) when i tried to merge them with 3D film the .idx is not supported ,, i try to put it in attachment and the subtitle still does not show in the center of TV, i also try to merge the normal .srt with 3D film and same problem ... subtitle dose not show in the center

any body can help me plz smilies/cry.gifsmilies/cry.gifsmilies/cry.gifsmilies/cry.gifsmilies/cry.gifsmilies/cry.gifsmilies/cry.gif
amany , June 08, 2013
help me
0
.tank for your topic.muxxed file in pc is good but in tv usb port is badform such as:..3...!?*88
amir , July 08, 2013
Thanks
0
Wow, this is So easy, Thank you so much smilies/grin.gifsmilies/grin.gifsmilies/grin.gif
Muhammad Ali , July 25, 2013
does this programme support .sub files?
0
i put the mkv file, the idx subtitle but it doesn't support .sub file. what can i do?
chris1985 , September 04, 2013
mkvmerge finished with a return code of 1. THere are warnings, or the process was terminated
0
I keep getting this two and I do not know how to solve it. Please help me!
Warning: 'C:Users121403DownloadsItazura.na.Kiss.Love.in.Tokyo.E03.x264.720p-OTeH.srt' track 0: Warning in line 1159: The start timecode is smaller than that of the previous entry. All entries from this file will be sorted by their start time.
Warning: 'C:Users121403DownloadsItazura.na.Kiss.Love.in.Tokyo.E03.x264.720p-OTeH.srt' track 0: Ignoring an entry which starts after it ends (26smilies/cool.gif.
LostGirl , October 05, 2013
thankyou
0
thank you friend....!
velan , October 06, 2013
thankyou
0
thank you friend....!
velan , October 06, 2013
help me please
0
Hello ive merged the mkv with the subs successfully and it works on my pc. However when i try to watch it on TV using an usb device the subtitles arent there its only the video. hmm what should i do ? thx
alex levine , November 08, 2013
...
yimidat
when merging several files do i list them as mkv1 srt1 mkv2 srt2 or all the mkvs then all the srts?
yimidat , November 16, 2013
How can change lengage in hindi
0
hello
i try to merage my english moves to hindi but this not happen and also i cant change lengage in hindi its open defoult
Shashikant , November 19, 2013
...
0
I put the mkv file and the srt file separated on a 16 or 8g flashdrive. Plug in the usb port from the TV. Then, I press tolos on the TV remote control and use subtitles, language and it works perfectly on the TV.
Marco , December 09, 2013
Croating language does not appear after muxing
toblerone
Ok, so i followed this tutorial, it is easy to add the film and subtitles but after the muxing process has finished, when i play the film the language that is added is in english. I don't understand how is adding croating subtitles result in english subtitles. Btw, i tried several times, I selected subtitles and I changed the language options under General track options to hrv (hrvatski) but it still doesn't work. Please help
toblerone , January 10, 2014
NEED HELP GUYS
0
Hello. I am Laxman. Greetings smilies/smiley.gif Hope you are doing well smilies/smiley.gif

I have something which requires your help and might interest you.

I watch some movies with their subtitles but I like them in single file, that is I dont like having a movie file and a separate Subtitle/Srt file. So I use Mkvmerge and merge the movie and the subtitle file in a single Mkv file. The result is remarkable with no quality loss.

Now, I wanna convert this resultant Mkv file to an Mp4 file along with subtitle. This is the main concern. This is where I need your help. Can you please teach me to convert this Mkv file to an Mp4 file along with the SUBTITLE??

P.S - I am a newb in all this so please try to teach me in a simple language that I can understand.

Thank you

Warm regards
lucky2793 , February 17, 2014

Write comment

smaller | bigger
security image
Write the displayed characters

busy

General Video

Login Form

Follow me on...

  • Facebook
  • Twitter
  • Google+: u/0/b/113039112812192417058/
  • Digg
  • Reddit: myguides
  • RSS Feed
  • e-mail

Member Login