

I'm not sure what program to use for that (converting your newly-extracted. MP4s don't support SRT subtitles you'll have to convert them to dvdsub () (which is supported by ffmpeg) and mux them in that way. So it looks like you'll have to use a different program.Īlso, I'm pretty sure that. When I use 'ffmpeg -codecs | grep subtitle', it seems to be saying that it doesn't support SRT subtitles. I don't actually know if that works in ffmpeg. Here () is an easy way of getting all those codecs in ffmpeg, without having to compile it yourself (unless you really want to). This one is giving me an error about libfaac, yet I guess that is because I have the ffmpeg from the repos.

PS: I have to admit that I did not come across such detailed and comprehensible explanation in the net about such kind of conversion.

Any idea would be more than welcome, because your proposals accelerate tremendously the conversion procedure. With ffmpeg I tried scodec (copy) without success.Īs far as the vlc is concerned, subtitles do not seem to like being copied. Yet, with both of them, I cannot retain the subtitles of the original mkv file. I tried both your proposals, which were really very comprehensible and very fast in order to be executed. Thank you very much for your helpful responses. Of course, this takes actual time as ffmpeg needs to re-encode the streams (unlike with the copy function). Would give you high-quality audio (audio bitrate of 192k - more than is necessary for most uses) and pretty good video (-vpre sets the video 'profile': other settings include 'hq' and 'max'. For example:įfmpeg -i input.mkv -acodec libfaac -ab 192k -vcodec libx264 -vpre normal output.mp4 MP4, then you should use the libx264 encoder for h.264 video and the libfaac encoder for AAC audio. If that doesn't work, and you want to encode to. This takes only slightly more time than a cp operation, so I would recommend you try it out on some of your files. MP4s), then the 'copy' option in ffmpeg would be useful:įfmpeg -i input.mkv -acodec copy -vcodec copy output.mp4 MKVs are all similar, and all contain H.264 video and AAC/MP3 audio (or the other stuff that is compatible with. but yeah, the downside of ffmpeg is the need to know the right options. Use MediaInfo program to check the properties properly.īut video codec should be set to "Keep original" too.Ĭlaus7, I was actually responding to ron999.
#Mkvtools convert to mp4 mp4
Yet while opening the properties of the file (it seems) that it is indeed (I suppose) a mp4 file. The time that is going to take, is almost the same as the time length of the video itself. Subtitles (checked), right bar (empty), Overlay subtitles on the video (checked) -provided the original mkv file had subtitles. Ii) you will find a tools button on the right, hit it!Īudio codec: Audio (checked), Keep original audio track (checked), Codec (MPEG 4 Audio (ACC)), Bitrate (128 kb/s), Channels (2), Sample Rate (48000) home/your_user_name_here/Desktop/name_of_output_file.mp4 Now something that worked flawlessly, yet it takes some time in order to be accomplished.Īnd there under tab File add the mkv file you would like to convertĪnd Click in the lowest part of this window the option Convert/Save.Į.g.
#Mkvtools convert to mp4 how to
I do not know how to do it in less than that time. Just some I have to admit that for an almost half GB file, 10 seconds max is not a big deal. This is considerable faster than 'converting' the file. Then, you can extract the tracks, and create a new mp4 container very easily. I've seem that most of mkv files have h264 video, and either AAC, AC3 or MP3 audio. In my experience, most of the time you don't need to 'transcode' mkv -> mp4. I'm using 4.0.x and if I state it correctly, at the time of writing, 5.4 is the latest. Also, I suppose that it can be accomplished with mkvmerge, provided that the right options are given or the right version (maybe a newer one) is used. The GIMP does the same I tried ffmpeg, yet I do not know the right combination of options. I don't know about this software, but ffmpeg reads the extension on the end of the output file in order to determine what container format to use. The first time I tried this kind of thing I thought exactly the same, yet while opening the properties of the file (it seems) that it is indeed (I suppose) a mp4 file. Surely you will only create another matroska file - but with an mp4 I totally agree. I will try to answer/comment on all of them and add some new things:
