Convert MKV to MP4
From Peter Pap's Technowiki
This will change the container without any re-encoding of the the actual video and audio, so no loss of quality:
ffmpeg -i input.mkv -vcodec copy -acodec copy -sameq output.mp4