Choose the source and delivery file separately
Keep a lossless FLAC from the final mix if you need an archive or plan to make more versions. Use AAC when a video delivery profile asks for it, and consider Opus for a small listening copy when you control playback support. If someone requests Ogg, ask which codec the receiving application expects. Ogg is a container that can carry several kinds of audio, including Vorbis and Opus. These choices can coexist in one release folder because each file serves a different listener or piece of software.
Imagine you are taking a three-minute song from a recording session to a distributor, a video editor and a bandmate on a slow connection. The distributor may ask for a lossless master, the editor needs a source that survives another encode and the bandmate needs a convenient preview. Start all three exports from the same approved master. If the bandmate sends a revision note about the second chorus, everyone can then refer to the same performance and timeline.
Read the stream information before comparing formats
A filename ending in .ogg identifies a wrapper but gives limited evidence about what decodes the signal inside. An .opus file commonly stores an Opus stream in an Ogg container. AAC is frequently carried in MP4 audio files with an .m4a extension. An M4A can also contain other audio, including lossless ALAC. Use the media information panel of a player or editor to find the actual codec, channel count, sample rate and duration. Keep these details with the original extension when reporting a playback issue.
| Label on the file or request | What to check inside | Typical reason to choose it |
|---|---|---|
| AAC in M4A or MP4 | AAC profile and support in the receiving editor | A compatible listening copy or the audio track of a video |
| FLAC | Sample rate, channel count and original source | Retain the PCM sample values for future edits |
| Ogg Vorbis | Vorbis codec inside the Ogg container | Supply a player or game pipeline that specifically asks for Vorbis |
| Ogg Opus | Opus headers and Ogg support in the player | Deliver a compact speech or music preview to a compatible device |
Changing the suffix cannot convert the audio. If a browser player opens one Ogg file and rejects the next, compare their internal codecs before declaring the second file broken. An older application may handle Vorbis and have no decoder for Opus, even though its file chooser accepts both files under the same extension. Test with the actual destination before converting a whole archive.
Decide what must survive another edit
FLAC compresses linear PCM losslessly. Given the same decoded sample rate, bit depth and channel order, the decoded samples reproduce that PCM input. AAC, Vorbis and Opus use perceptual coding to fit audio into fewer bits. The reconstructed waveform can differ even when the change is difficult to hear. Keep lossless audio from the recording session if another engineer will edit the sibilants, tune a vocal or make a shorter cut with fresh crossfades.
A FLAC made from a received Opus preview faithfully preserves the decoded preview. It cannot recover details discarded when that preview was encoded. If the original session is missing, keep the received file and document its origin. Decode once to a working format when the editor requires it and avoid saving a new lossy copy after every edit. A file labeled master is only as useful as its source and the work it was approved for.
For a distributor, inspect the actual delivery rules. Spotify for Artists lists FLAC as its preferred delivery format and details its requirements for WAV. The format your listener eventually receives can differ from the format a distributor ingests. For podcast delivery, consult the hosting service and the Apple Podcasts audio requirements for the intended distribution route. A format that works for a private feedback link can still be unsuitable for publication through a particular feed or store.
Estimate transfer size before choosing a bitrate
For a constant or average bitrate, multiply kilobits per second by duration in seconds and divide by eight to obtain approximate decimal kilobytes. At 128 kbps a three-minute audio stream uses roughly 2.88 MB. At 192 kbps it uses about 4.32 MB, and at 256 kbps about 5.76 MB. Packaging, tags and embedded artwork add bytes. A large cover image can outweigh a short spoken message, so inspect the actual file if an attachment exceeds its size limit.
Equal average bitrates give AAC and Opus similar payload sizes for the same duration. They can still sound different on a particular passage. FLAC bitrate varies with the source material, so estimate its size from a representative piece of the actual recording. A sparse mono interview and a dense stereo drum mix at the same duration and sample rate can compress quite differently. If a delivery cap is strict, leave room for headers and artwork before selecting the listening copy's bitrate.
Compare the encoders with your own material
Choose three excerpts that make different demands on an encoder. Include an isolated voice with sustained esses, a drum fill with a sharp attack and a dense chorus with cymbals and stereo ambience. Export each excerpt from the same source with the intended settings. Keep duration and channel layout consistent, match playback level, and have someone shuffle the labels. Listen for a change you can identify repeatedly, such as a soft flutter behind a held note or a softened leading edge on a snare.
For the common Opus vs MP3 or Ogg vs MP3 decision, begin with the device list and the actual bitrate budget. A legacy hardware player that accepts only MP3 settles its own delivery question. A browser application that requires Vorbis in Ogg has already specified both parts of the choice. Where several options play successfully, compare your extracts at the size you can deliver and on the headphones or speakers your listeners use. Keep the lossless reference handy when judging a subtle change.
Check what happens when you turn audio into video
A waveform or spectrum renderer first needs decoded samples. The import codec determines whether the browser can read the source. The output preset determines how sound is packaged alongside the rendered pictures. The audio visualizer can take a locally decodable recording and pair its visuals with AAC in the supported fast MP4 export. A source FLAC remains a separate lossless asset after that export. Inspect the resulting MP4 when the destination calls for a particular codec.
If an Ogg file plays in a desktop player but fails to import, identify its internal codec and try a short representative file in the exact browser you will use. When you already have the original master, exporting a lossless working WAV gives the video editor another route. If only the compressed original survives, a lossless working copy may improve compatibility while preserving just the audio that the decoder reconstructed. Test the first consonant, the first drum transient and the final tail after rendering.
Hand off files with enough information to use them
For the three-minute release, keep a lossless master, a labeled video render and a smaller preview in separate files. Include the approved mix name in each filename and add the intended destination to the copy whose settings are constrained. Reopen the preview on the bandmate's device and the MP4 in the editor. Check channel placement and duration as well as whether playback starts. A folded mono mix or an old shortened edit can decode perfectly and still be the wrong deliverable.
When the receiving application specifically asks for Ogg, record the requested stream codec in the handoff note. When a distributor requests native-resolution lossless audio, retain the delivered file and the session bounce used to produce it. Those small details let the next editor trace the source and reproduce the listening version without guessing which of several similarly named files supplied its audio.
A useful handoff test is to trade roles with the recipient. Open only the files they will receive, choose the one intended for their job and describe what you can verify from it. From a small preview you can verify the melody, the edit and whether the words are clear. From a lossless source and its documented origin you can make a new encode with known provenance. From the finished MP4 you can verify that the picture changes with the intended drum hit. If the filename or delivery note leaves any of those jobs ambiguous, fix the labeling while the session is still open.
Sources & Primary References
- RFC 6716 defining the Opus audio codec
- RFC 7845 describing Opus encapsulation in Ogg
- RFC 5334 describing Ogg media types and codec identification
- RFC 9639 defining the Free Lossless Audio Codec
- MDN guide to common audio codecs and browser compatibility
- Spotify for Artists on audio files for distribution
- Apple Podcasts for Creators audio requirements