MKV is a container format for holding multiple audio, video, picture, and text data such as subtitle tracks. It is similar to other common containers like MP4 and AVI, although MKV is open in the specification. For video contents, MKV uses a .mkv filename extension, .mka for audios, and .mks for subtitles.
MPC-HC, KMPlayer VLC Media Player MKV File Player MPV
M4B is an audio filename extension for AAC format, which is developed by Apple Inc. It is mainly used on podcast and audiobook files. Typically, M4B files contain audio and other metadata like images, hyperlinks, and chapter markers. M4B files are DRM copy-protected and can be opened on Apple iTunes and QuickTime Player.