Mkv and Mp4 have the same files inside a different container , so converting from one to another does not make sense.
If you are comfortable with writing your own code , have a look at this - http://askubuntu.com/questions/396883/how-to-simply-convert-video-files-i-e-mkv-to-mp4
I should point...