# ffmpeg keep subtiles and audio tracks when converting

I have some mkv files, with each containing a few audio tracks and subtitles (multiple languages) and each of these files is a few hours long.

Now I want to convert these files into mp4 format (webm or ogg (or other formats supported by html5 video) are also okay).

My Problem is, that

ffmpeg -i input.mkv output.mp4


removes the audio tracks and the subtitles.

How do I need to change the command, so that the audio tracks and subtitles don’t get removed?

I don’t know much about audio and video editing either.