M4R is a filename extension for AAC format, which is developed by Apple Inc. It is typically used to save custom iPhone ringtones from Apple iTunes. M4R can only be created from iTunes purchased songs and is usually DRM protected. It can open on iTunes, VLC Media Player, Apple QuickTime Player, and more.
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.