MP3 Encoder & Decoder SDK¶
AVBlocks provides a cross-platform MP3 encoder SDK and MP3 decoder SDK for C++, .NET (C#, VB, F#) and Python on Windows, macOS and Linux.
MP3 (MPEG-1 / MPEG-2 Audio Layer 3) is the most widely supported audio format ever made. AVBlocks lets you encode, decode and transcode MP3 through the same simple API you use for every other format — no external codecs or command-line tools.
MP3 encoding¶
Encode raw PCM to MP3.
Control bitrate, sample rate, channel mode and quality.
Produce standalone MP3 files or pair MP3 audio with video.
MP3 decoding¶
Decode MP3 to raw PCM.
Read MP3 files or extract MP3 audio tracks from media containers.
Feed decoded audio into your own processing or playback pipeline.
Typical uses¶
Transcode WAV or FLAC capture to MP3 for distribution.
Convert MP3 libraries to AAC or Opus for streaming.
Decode MP3 for analysis, waveform display or editing.
Re-encode MP3 at a different bitrate to save space.
Batch-normalize a music or podcast archive.
Get started¶
Part of the Audio SDK and Transcoding SDK. See also the AAC SDK and Opus SDK.