Play mkv files or convertor library?

Can anyone point me in the right direction to play mkv movie file or a library to convert to mp4?