Path to this page:
./
audio/lame,
Fast, high quality MP3 encoder
Branch: CURRENT,
Version: 4.0nb1,
Package name: lame-4.0nb1,
Maintainer: pkgsrc-usersFollowing the great history of GNU naming, LAME originally stood for
LAME Ain't an Mp3 Encoder. LAME started life as a GPL'd patch against
the dist10 ISO demonstration source, and thus was incapable of
producing an mp3 stream or even being compiled by itself. But in May
2000, the last remnants of the ISO source code were replaced, and now
LAME is the source code for a fully GPL'd MP3 encoder, with speed and
quality to rival all commercial competitors.
LAME is an educational tool to be used for learning about MP3
encoding. The goal of the LAME project is to use the open source model
to improve the psycho acoustics, noise shaping and speed of
MP3. Another goal of the LAME project is to use these improvements for
the basis of a patent free audio compression codec for the GNU
project.
Required to build:[
pkgtools/cwrappers]
Package options: unicode
Master sites:
Filesize: 1461.729 KB
Version history: (Expand)
- (2026-07-13) Updated to version: lame-4.0nb1
- (2026-07-12) Updated to version: lame-4.0
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
CVS history: (Expand)
| 2026-07-15 09:09:51 by Adam Ciarcinski | Files touched by this commit (8) |
Log message:
lame: fix build + cleanup
|
| 2026-07-13 18:47:59 by Dr. Thomas Orgis | Files touched by this commit (3) |
Log message:
lame: drop patches/patch-libmp3lame_lame.c, obsoleted upstream
I got direct communication from upstream that the underlying issue is
handled in a more robust manner elsewhere already. Dropping the old
patch.
|
| 2026-07-13 06:36:42 by Thomas Klausner | Files touched by this commit (846) |
Log message:
*: recursive bump for libmpg123 dependency in lame
|
| 2026-07-13 06:24:53 by Thomas Klausner | Files touched by this commit (1) |
Log message:
lame: mpg123 is visibible to dependencies, include its bl3.mk
|
| 2026-07-13 06:20:49 by Thomas Klausner | Files touched by this commit (1) |
Log message:
lame: fix build with gcc 14+
|
2026-07-12 14:54:39 by Dr. Thomas Orgis | Files touched by this commit (7) |  |
Log message:
lame: update to 4.0
This drops one patch and adds usage of pkg-config and libmpg123. Also
unicode option is now recommened. You really want unicode handling
for metadata these days.
Changes:
LAME 4.0 July 11 2026
Security scores assume LAME runs under a non-privileged account. For
frontend-only entries, scores also assume the command line is sanitized
or restricted before reaching LAME; integrators who pass unsanitized
or fully scripted command-line input directly may see higher practical
severity than stated.
Security
Fixed a stack buffer overflow in the Blade-style encoder
DLL (lame_enc.dll): beInitStream() copied a caller-supplied
configuration structure using an unchecked, caller-controlled
size, so an oversized or compiler-mismatched size could overwrite
the stack. The size is now bounds-checked and the packed structure
layout is consistent across MSVC and GCC/MinGW builds. [CVSS 8.4,
Blade DLL]. Fix by Alexander Leidinger.
Fixed an integer underflow in the AIFF header parser
(parse_aiff_header()): a crafted file with a FORM chunk size
below 4 wrapped the unsigned chunk-size counter to a huge value,
sending the chunk-scanning loop into an effectively unbounded spin
(a hang) on a tiny malicious input. The size is now validated
before it is decremented. [CVSS 5.5, AIFF frontend]. Fix by
Alexander Leidinger.
Alexander Leidinger
Bump the major version to 4.0 (minor reset to 0). The LAME tag
embedded in every encoded MP3 has a fixed 9-byte field for the
encoder version string; since 3.100 the 3-digit minor version
left no room for the trailing alpha/beta/release marker character,
which was silently dropped.
Fix building with recent GCC and Clang, which rejected the
UTF-8 ID3 tag functions as an incompatible pointer type. Also
fixes the corrupted genre written by --id3v2-utf8 --tg. Patch
submitted by Rudi Heitbaum, patch ticket [ #102 ]; thanks to
lazka for reporting, bug ticket [ #523 ].
Export the UTF-8 ID3 tag functions id3tag_set_textinfo_utf8
and id3tag_set_comment_utf8 from the shared library, and fix a
possible crash on out-of-memory in the ID3v2 user-defined tag
setters, bug ticket [ #518 ].
LAME 3.101 July 09 2026
Robert Hegemann
Patch submitted by KO Myung-Hun, patch ticket [ #80 ] OS/2 patches
Patch submitted by Elio Blanca, patch ticket [ #82 ] Take
advantage of terminal width on printing file names
Bug fix for item [ #496 ] A critical bug in init_xrpow_core_sse
Bug fix for item [ #500 ] Buffer overflow in encoder
Bug fix for item [ #501 ] Encoder: Assertion 'eov->bitrate_index
<= cfg->vbr_max_bitrate_index' failed during ABR encoding
Bug fix for item [ #444 ] msacmdrv.h (structure packing alignment)
Alexander Leidinger
Add faster CRC routine. The speed improvement is very small for
typical use cases, but may be valuable if a lot of independent
encodes are running and/or for a very long time. Patch by Robert
Kausch of the fre:ac project.
Fix configure script glob-ranges matching of compiler
versions. This may result in faster code if no compiler
optimization flags are specified during the configure step. This
is part of patch ticket [ #491 ] lame 3.100 slower than 3.99.5
Disable Takehiros IEEE753 hack by default. On modern CPUs
(anything more recent from AMD than hammer/k8; Intel: Core2,
i3/5/7/9 and similar -- no idea about recent Atom/Pentium) it
is a speed pessimization. Add a configure option for it so that
it can be enabled on old CPUs.
Update to more recent autotools based scripts, this may or may
not fix issues during the configure stage for less popular or
more recent OS or architectures.
Use external libmpg123 instead of internal mpglib for
mpeg decoding (unix-like systems which use the autotools
("configure; make; make install") build system). There are years
of improvements in libmpg123 which we do not have in mpglib. Patch
by Thomas Orgis of the mpg123 project.
Update the Visual Studio project files to Visual Studio
2019. Patch by Michel Fink.
Remove the macosx XCode project files, nobody stepped up to
update them for the libmpg123 changes.
Add ID3v2.4 support (UTF-8 ID3 tags). Patch by "kris".
Add pkg-config support. Patch by Nicolas Boulenguez(Debian).
Add IPv6 support for mp3rtp. This includes an incompatible
change to the command line arguments for existing use cases /
scripts. Patch by Surabhi.
|
| 2025-04-21 18:21:41 by Thomas Klausner | Files touched by this commit (17) |
Log message:
*: Interix support
|
| 2025-02-12 07:45:45 by Ryo ONODERA | Files touched by this commit (850) |
Log message:
*: Recursive revbump from audio/flac-1.5.0
|