Skip to content
Blog

FFmpeg with MP3 Encoding on Debian etch

19 November 2008 | INGATE Team

The default FFmpeg installation on Debian etch does not support MP3 encoding, as the LAME library is not included in the official repositories due to licensing reasons. Here is a guide for manual compilation.

Prerequisites

First, install the required build dependencies for FFmpeg and LAME.

Compiling LAME

Download the LAME source code from the official website and compile it. LAME is the de facto standard encoder for MP3 files.

Compiling FFmpeg with LAME

Compile FFmpeg with the --enable-libmp3lame option to enable MP3 encoding support.

Testing

After installation, you can test MP3 support:

ffmpeg -i input.wav -codec:a libmp3lame -b:a 128k output.mp3

Note

Please be aware of the licensing terms: LAME is licensed under the LGPL, FFmpeg under the GPL. For commercial use, please review the respective license conditions.

If you have questions about multimedia configuration on your server, contact info@ingate.de.

Technology Partners & Memberships

Dell PartnerDirect
Equinix
EMC Home of Data
Juniper Networks
LiveConfig
Microsoft Cloud Solution Provider
Microsoft SPLA Partner
RIPE NCC Member