

You can create a simple batch mkv2mp4.bat, if you usually do this, to create an mp4 with the same name as the mkv. If there is an unrecognized "track" ( mkv allows to attach any type of file), it will end with an error.

ffmpeg -i -c copy -map 0 -c:s mov_text Īs you can see, it's all about the -map 0, that tells FFmpeg to add all the tracks, which includes metadata, chapters, attachments, etc. Ah, and if the mkv has chapters the mp4 too. So it will even add the images the matroska may include as attachments (though not another types AFAIK) and convert them to tracks you will not be able to watch but they will be there (you can demux them).

I will provide a simple and general answer that works with any number of audios and srt subtitles and respects the metadata that may include the mkv container.
