APPLICATION is block type 2. It gives one application a place for its own data: a 32-bit application ID, which the application registers, and then that application’s bytes, as many as the block’s length leaves. Other software skips the block.
Registered application IDs
IANA keeps the registry of FLAC application metadata block IDs, on a first come, first served basis. The IDs are four bytes, usually printable ASCII, stored as a big-endian number.
| Value | ID | Application |
|---|---|---|
41544348 | ATCH | FlacFile |
42534F4C | BSOL | beSolo |
42554753 | BUGS | Bugs Player |
43756573 | Cues | GoldWave cue points |
44495343 | DISC | Red Book CD-DA LBA track layouts, TOC/CUE structures, verification logs, and additional data for audio preservation |
46696361 | Fica | CUE Splitter |
46746F6C | Ftol | flac-tools |
4C414531 | LAE1 | LAE Lossy (LAEY) extension data |
4C414532 | LAE2 | LAE Lossless (LAES) extension data |
4D4F5442 | MOTB | MOTB MetaCzar |
4D505345 | MPSE | MP3 Stream Editor |
4D754D4C | MuML | MusicML: Music Metadata Language |
52494646 | RIFF | Sound Devices RIFF chunk storage |
5346464C | SFFL | Sound Font FLAC |
534F4E59 | SONY | Sony Creative Software |
5351455A | SQEZ | flacsqueeze |
54745776 | TtWv | TwistedWave |
55495453 | UITS | UITS Embedding tools |
61696666 | aiff | FLAC AIFF chunk storage |
696D6167 | imag | flac-image |
6B75756C | kuul | kuulo |
7065656D | peem | Parseable Embedded Extensible Metadata |
71667374 | qfst | QFLAC Studio |
72696666 | riff | FLAC RIFF chunk storage |
74756E65 | tune | TagTuner |
77363420 | w64 | FLAC Wave64 chunk storage (the fourth byte is a space) |
78626174 | xbat | XBAT |
786D6364 | xmcd | xmcd |
Most applications’ data is their own business: the registry names them and links their documentation, if any. Two kinds have a published layout, described below.
Foreign metadata: riff, aiff and w64
The riff, aiff and w64 blocks keep the
chunks of the file the audio came from (WAVE or RF64, AIFF or AIFF-C, Wave64), so that
decoding can rebuild it exactly. Xiph’s
foreign
metadata storage note gives the layout:
- Each block holds one chunk of the original file, and the blocks keep the chunks’ order, which matters for restoring the file.
- The outer chunk (
RIFF,RF64,FORM, or Wave64’sriffGUID) is stored as its header alone: ID and size. - The form type (
WAVE,AIFF,AIFC, or Wave64’swaveGUID) has a block of its own. - The audio chunk (
data,SSND, or Wave64’sdataGUID) is stored as its header alone; the samples are the FLAC frames. Chunks before it came before the audio in the original file, and chunks after it came after. - Every other chunk, such as
fmt,COMMorLIST, is stored whole.
The chunks are as their own formats define them: a 4-byte ID and a 32-bit size,
little-endian in RIFF and big-endian in AIFF, then the data and a pad byte if the size is
odd; in Wave64, a 16-byte GUID and a 64-bit little-endian size that counts the 24-byte
header, with the data padded to a multiple of 8 bytes. A plain WAVE file thus gives four
blocks: the RIFF header (8 bytes after the application ID), WAVE, the whole
fmt chunk, and the data header.
LAE1 and LAE2
LAE2 blocks carry an LAES payload, the
LAE
Lossless extension’s data. The payload is cut into slices of at most
16,777,211 bytes, one per block, and a reader joins the data of every LAE2
block in file order, wherever it sits; writers put them straight after STREAMINFO.
The joined payload starts with a 64-byte little-endian header: the magic
LAE2, version, header size, base rate (44,100 or 48,000 Hz), core bits,
channels, number of masters, core mode (0: the core is a WAV data chunk or
CD tracks; 1: the core is the FLAC frames), core samples per channel, a SHA-256 of the
core, and 8 reserved bytes. The master records, their layers and the closing CRC-32
follow; they are outside FLAC and are described, with every check, on the
LAES payload page, and the viewer decodes them
and plays each master.
LAE1 blocks carry the
LAE
Lossy extension’s payload (section 3.4 of its specification, tag
v5-2026-11-19; the earlier tag v5-2026-10-30 gave no layout). It is joined from
the blocks in the same way as LAE2, starts with the magic LAE1
and ends with a CRC-32; its header, stream records and packs are described on the
LAE Lossy payload page, and the viewer shows them.