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.
FLAC (Free Lossless Audio Codec) is a free lossless digital audio format developed by Xiph.Org. A compressed FLAC file can be reduced by between 50-70% of the original size and decompress back to the original sound data. This file format supports metadata like ID3 tags, cover art, and album title.