# What is an MP1 File?

An MP1 file contains audio encoded with MPEG Audio Layer I, the simplest of the three perceptual coding layers defined for MPEG-1 and MPEG-2 audio. It needs higher bitrates than Layer II or Layer III to reach comparable quality.

<span aria-hidden="true" id="how-it-works"></span>

## How MP1 Files work

MP1 stores MPEG Audio Layer I frames. The encoder splits the signal into 32 equal-width frequency subbands and, guided by a psychoacoustic model, gives each subband a bit allocation and scale factor for a group of 12 samples, so one frame represents 384 samples per channel. Every frame starts with a header that carries a sync pattern and identifies the layer, bitrate, and sampling rate, and Layer I frames are self-contained, with no pointer back into earlier frames. Layers II and III improve compression at the cost of encoder and decoder complexity, which is why they displaced Layer I for distribution. A notable deployment was the Philips Digital Compact Cassette, which used Layer I at 192 kbit/s per channel.

<span aria-hidden="true" id="key-facts"></span>

## Key facts

1. A Layer I frame covers 384 samples per channel (12 from each of 32 subbands), against 1152 for Layer II and for MPEG-1 Layer III. Duration and seek arithmetic written for MP3 frame lengths therefore gives the wrong result on Layer I audio.
2. Layer I targets high bitrates: it is best suited to more than 128 kbit/s per channel, and MPEG-1’s predefined total-stream bitrates reach 448 kbit/s for Layer I, compared with 384 for Layer II and 320 for Layer III. A “free” bitrate mode allows other fixed rates outside these tables.
3. A two-bit field in each frame header selects the layer, and the three layers are separate coding schemes. FFmpeg registers distinct `mp1`, `mp2`, and `mp3` decoders, so a product that advertises MP3 playback has not thereby shown Layer I support; verify it explicitly.
4. MPEG audio has no magic number. RFC 3003 registers `audio/mpeg` for all three layers with the extensions `.mp1`, `.mp2`, and `.mp3`, so neither the suffix nor the media type proves the layer. Detection means locating the sync pattern and validating a run of consecutive frame headers, because sync-like bit patterns also occur inside audio data.

<span aria-hidden="true" id="when-it-matters"></span>

## When MP1 Files matter

Retain MP1 decoding when an ingestion system must process legacy MPEG media or audio archives, and keep the original files. Where target players lack Layer I support, convert for delivery: a lossy target such as AAC or MP3 adds a second generation of loss, while a lossless target such as FLAC preserves the decoded audio without further loss.

<span aria-hidden="true" id="transloadit"></span>

## How Transloadit helps with MP1 Files

Transloadit’s audio codec table lists MP1 (MPEG audio layer 1) as readable but not writable on the `ffmpeg_stack` versions it covers (v5, v6, and v7). On those stacks, its FFmpeg-based Robots can decode Layer I audio, and `/audio/encode` can convert it to another codec, but they do not produce MP1 output.

* [Audio codecs by FFmpeg stack→](/docs/supported-formats/audio-codecs.md)
* [Audio encoding Robot→](/docs/robots/audio-encode.md)

[Explore Transloadit’s file formats & compression capabilities](/docs/supported-formats.md)

<span aria-hidden="true" id="references"></span>

## Sources

* [Davis Pan, “A Tutorial on MPEG/Audio Compression”, IEEE Multimedia, 1995](https://icg.isy.liu.se/en/courses/TSBK38/material/mpegaud.pdf)
* [RFC 3003: The audio/mpeg Media Type](https://www.rfc-editor.org/rfc/rfc3003.txt)
* [RFC 5219: A More Loss-Tolerant RTP Payload Format for MP3 Audio (layer independence)](https://www.rfc-editor.org/rfc/rfc5219.txt)
* [FFmpeg n8.0: MPEG audio frame header decoding (frame sizes per layer)](https://github.com/FFmpeg/FFmpeg/blob/n8.0/libavcodec/mpegaudiodecheader.c)
* [Library of Congress: MP3 (MPEG Layer III Audio Encoding), on Layers I, II and III](https://www.loc.gov/preservation/digital/formats/fdd/fdd000012.shtml)
* [Xiph.Org: What is FLAC? (Free Lossless Audio Codec)](https://xiph.org/flac/)

[← MOV File](/glossary/mov-file.md)[MP2 File →](/glossary/mp2-file.md)

More in file formats & compression

* [M4P File](/glossary/m4p-file.md)
* [M4S Format](/glossary/m4s-format.md)
* [MOV File](/glossary/mov-file.md)
* [MP2 File](/glossary/mp2-file.md)
* [MPD File](/glossary/mpd-file.md)
* [MPEG-TS](/glossary/mpeg-ts.md)

[All 505 terms](/glossary.md)

## Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

[Try Transloadit for free](/c/signup/)
