Formats and Tags
What Encspect 0.4.0 reads. Each container is read at its own level, and each stream by its frames.
Audio formats
- MPEG audio
- MP1, MP2 and MP3, with VBR headers, mp3PRO, MP3 Surround and the MPEG-2 multichannel extension. Decoded for measurement (Layers I to III). The extension’s separate bitstream is not read, so such a stream decodes its two base channels; the data of mp3PRO and MP3 Surround is counted, not read.
- AAC
- In MP4, ADTS and ADIF, including HE-AAC, HE-AAC v2 and xHE-AAC. Not decoded yet (planned for 0.5).
- Vorbis, Opus, Speex
- In Ogg; Vorbis also in Matroska, and Opus also in MP4 and Matroska. All three are decoded for measurement. Opus mapping family 3 and unknown families are not decoded, and lost frames are not concealed. A Vorbis setup header that states a very large codebook is not decoded.
- Musepack
- SV4 to SV8. Decoded and measured; the SV4 to SV6 streams that libmpcdec 1.2.6 refuses (a constant bitrate, intensity stereo, blocks of frames) are read at header level and not decoded.
- AC-3 and E-AC-3
- Raw and in MP4, with the object audio that Dolby Atmos adds. Both decoded for measurement. Frames at the reduced sample rates (
bsid9 and 10) are read at header level only, and no dynamic range control or downmix is applied. - DTS
- Core, XCh, X96, XXCH, XBR, LBR and XLL, the DTS-HD extension substreams and DTS:X, raw and in MP4, and DTS-HD files (.dtshd). The core is decoded for measurement, except channel arrangements 10 to 15 and user defined ones. The extensions are read, not decoded.
- Windows Media Audio
- Versions 1 and 2, Professional, Lossless and Voice, in ASF. Not decoded yet (planned for 0.5).
- FLAC
- Native, in Ogg, in MP4 and in Matroska. Decoded, verifying the audio's MD5, and measured.
- WavPack
- Lossless, hybrid and DSD, with correction files, and the legacy files of WavPack 1 to 3. Decoded, verifying the CRCs and the MD5, and measured. DSD is decoded to its 1-bit samples for the checks but not measured.
- Monkey's Audio
- All versions parsed; versions 3.80 to 3.99 and 4.11 decoded, verifying every frame's checksum.
- TTA
- Audio format 1 is verified by its CRC-32s and decoded for measurement. Format 2, a stream stored with a password, is refused.
- Apple Lossless
- Frame by frame in MP4, M4A and Matroska. Decoded for measurement; the format stores no checksum.
- Dolby TrueHD and MLP
- Raw .thd and .mlp files, and the tracks of MP4 and Matroska. Decoded, verifying the lossless checks of the audio.
- TAK
- Every frame is read: the count, the header and data CRC-24s and the bitrate. Codecs 2 and 4 at 8, 16 and 24 bits are decoded for measurement, verifying the stream’s MD5 where it has one. Codec 0 (TAK 1.0), the experimental and lossyWAV codecs 1 and 3, other bit depths and more than six channels are not decoded.
- OptimFROG
- Header level: its blocks with checksums, the stored WAV header and the encoder settings, with the correction file of a pair. Not decoded.
- PCM in WAV and AIFF
- PCM, floating-point, A-law and mu-law samples, decoded for measurement. Other codings, such as Microsoft and IMA ADPCM and GSM 6.10, are named by their format tag and read at header level.
Containers
- MP4 and QuickTime
- M4A, M4B, 3GP and QuickTime files. Protected FLAC and Dolby TrueHD tracks are named, not analyzed.
- Matroska and WebM
- Audio tracks handed to the codec parsers: AAC, AC-3, E-AC-3, DTS, Vorbis, Opus, FLAC, WavPack, Dolby TrueHD, MLP, Apple Lossless, TTA, PCM and MPEG audio, and through A_MS/ACM the codecs that WAV and ASF use. Video at container level.
- Ogg
- With Vorbis, Opus, Speex and FLAC.
- ASF
- WMA, WMV and ASF files, with MP3 and AC-3 audio handed to their parsers. Other codings that have parsers elsewhere (PCM, A-law, mu-law, DTS, MPEG Layer I and II) are named, not analyzed, and routing them is planned for 0.5; E-AC-3 in ASF is not routed.
- WAV and Wave64
- RIFF, RIFX, RF64, BW64 and Wave64, with all their chunks. MPEG audio, AC-3, E-AC-3 and DTS inside are read by their parsers, also as IEC 61937 bursts, which hold AAC as well.
- AIFF
- AIFF and AIFF-C, with all their chunks.
Streams that a container encrypts or locks are reported with their scheme and DRM systems. Nothing is decrypted.
Tags
Tag formats that can sit in many kinds of file have parsers of their own. They are found by position and structure, never by a signature alone, because short signatures collide with each other and with audio data. A tag that breaks its specification stays in the report, with findings.
- ID3v1 and ID3v2
- At the start or end of a file, and inside containers that hold them.
- APEv1 and APEv2
- At the end of a file, or at the start for APEv2.
- Lyrics3 v1 and v2
- Before an ID3v1 tag, where its specification places it.
- Vorbis comments
- In Ogg, FLAC and the other formats that hold them.
- Container metadata
- Read by the container's own parser and shown as the file's tags: ASF and WMA metadata, the MP4 item list, Matroska's Tags, RIFF INFO in WAV, and the text chunks of AIFF.
More
Each format has a page of its own in the documentation, with what is read, what is reported and what is not covered: formats and tags on GitHub.