Questions tagged [lame]

LAME is a free software codec used to encode/compress audio into the lossy MP3 file format. The name LAME is a recursive acronym for "LAME Ain't an MP3 Encoder". Use this tag for questions about LAME encoder, using LAME with FFmpeg, etc. Also add the mp3 tag. Questions about programming using LAME are off topic and should be asked on stackoverflow.com.

Filter by
Sorted by
Tagged with
27 votes
1 answer
3k views

Why are my MP3 files the same size, even when I change the bitrate with ffmpeg?

I converted an audio stream into 3 different settings using essentially the same format. They ended up being exactly the same size. Why is this? ffmpeg -i "Likoonl-Q1-All.mp4" -c:v copy -c:a ...
Arlen Beiler's user avatar
  • 1,640
16 votes
6 answers
75k views

How to install libmp3lame for ffmpeg

I already have ffMpeg running on my test server. I would want to convert all possible audio files to mp3. I get the error 'codec not found'. here's what i typed: /var/www/i/uploads$ sudo /usr/...
Hrishikesh Choudhari's user avatar
7 votes
5 answers
7k views

How to convert WAV to MP3 without adding silence at the beginning in LAME?

Here's what I need to do: convert a 30.0 sec WAV to a 30.0 MP3. I've tried doing this using LAME however no matter what I try LAME always adds a short moment of silence to the output mp3. Using LAME ...
Niklas's user avatar
  • 71
6 votes
6 answers
20k views

How do I enable LAME support for ffmpeg?

This isn't a duplicate. I am Debian 6 Squeeze and installed ffmpeg using apt-get. I didn't compile it from source. Later I installed lame from http://www.rarewares.org/. But when I try to use ffmpeg -...
Kumar's user avatar
  • 266
6 votes
2 answers
5k views

Most efficient way to convert a large ALAC library to MP3

I have a large library of CDs ripped to alac which I use as my main music library. I'd like to convert a copy of this library to vbr mp3 for portable devices, however I don't want to have to do this ...
Leda's user avatar
  • 431
4 votes
4 answers
7k views

Convert mp3 from mono to stereo using Lame

An application requires that the mp3 files it receives are encoded with 2 channels (stereo), but the original files have only 1 channel (mono). We use Lame for conversion, but i fail to make it clone ...
ANisus's user avatar
  • 253
4 votes
1 answer
6k views

Dump/load metadata with FFmpeg (WMA to MP3)

I need to convert WMA metadata into MP3 ID3 tags. FFmpeg should be able to dump them into a file and load them back to another using implemented mappers. I cannot find syntax of usage though: http://...
Jan Suvak's user avatar
3 votes
1 answer
3k views

Do audio bitrate, audio channel and audio sampling frequency settings matter in FFmpeg when piping RAW output to another process?

I am using FFmpeg version 3.2.2 and LAME 3.99.5 on macOS Sierra (10.12.2) and I have this command that pipes FFmpeg output (from a FLAC file) to LAME for encoding into an MP3: ffmpeg -y -v quiet -...
Giacomo1968's user avatar
  • 55.6k
3 votes
3 answers
791 views

Mac- or Unix-compatible utility to compute and compare LAME MusicCRC in MP3s?

The LAME encoder stores a CRC16 checksum of the audio stream in the header of every MP3 it encodes. The 'actual' audio checksum can then be computed and compared to the original value at a later date ...
kine's user avatar
  • 1,829
2 votes
3 answers
2k views

(Lossless) conversion of stereo mp3 with one silent channel to mono

I have a couple of mp3s that are stereo but one of the channels is silent, quite annoying to listen to, especially in earphones. I can't get new recordings (the tracks are bootlegs with unknown origin)...
d-b's user avatar
  • 814
2 votes
4 answers
2k views

How to enhance 22.05 kHz speech audio material for listening purposes to 44.1 kHz?

I have found a really interesting radio novel on the web, and I would like to attract attention of one of my acquaintances to it. Unfortunately the audio material has poor quality, only 22.05 kHz and ...
Konstantin's user avatar
2 votes
3 answers
2k views

Converting mp3 to ogg, suggestions? [closed]

I'm thinking about converting my mp3 based music library to ogg, due to ogg being a free and open standard format (I guess there are other reasons too). As far as I know there's a chance of losing ...
watain's user avatar
  • 671
2 votes
1 answer
1k views

How can I trim a fraction of a second off of the beginning of an already encoded MP3 file without transcoding the MP3 again?

I am using macOS 10.3.6 (High Sierra) and while ago I had a 4 CD box set of some music, ripped the tracks to MP3 and simply stored the files on my system. I had to manually tag and add metadata to ...
Giacomo1968's user avatar
  • 55.6k
2 votes
1 answer
4k views

LAME: Switch sample rate of file without reencoding?

Is it possible to resample an MP3 file to a different rate (44.1) without doing a reencode? I have a few MP3 files that are at 48 and I need to switch 'em to 44.1, and I don't want to have to reencode ...
Naftuli Kay's user avatar
  • 9,621
2 votes
0 answers
659 views

Automatically convert WAV files into MP3 files on Mac

Someone already had similar question but he wanted to convert FLAC into MP3. In my case I want to convert WAV into MP3 and the solution in the other question doesn't help me. Workflow would be the ...
nqw1's user avatar
  • 235
1 vote
2 answers
2k views

How to mix MP3's using LAME

I have N MP3 files (N files for example). I need to superimpose, or mix them into one. Is there a special LAME function for performing such an operation?
Rais's user avatar
  • 161
1 vote
3 answers
11k views

How does iTunes 128 kbps AAC compares with LAME MP3 (-V 2, or -preset fast standard)?

I've been ripping my CD's to MP3 using LAME, with -preset fast standar (or -V 2), since audio listening tests find that LAME with these settings is transparent and as good as top quality Ogg Vorbis or ...
lpacheco's user avatar
  • 687
1 vote
2 answers
2k views

LAME library in Audacity

Does anybody know which version of LAME library works with Audacity program? I would like to export sound into MP3. I downloaded latest Audacity (29.6.2012) and latest LAME lib (28.2.2012), but ...
Ivan Kuckir's user avatar
1 vote
2 answers
2k views

Encode mp3 from Finder in OS X

I'd like to convert a WAV or AIFF to MP3 with a right click in Finder. Not seeing any actions in automator I could use. I don't want to add it to iTunes to do it (and also duplicate it). I ...
Sam's user avatar
  • 477
1 vote
1 answer
454 views

Do the same lame settings (--alt-preset standard) have differrent names?

I've always used windows, and therefore EAC to rip my CDs, but since I've started using Ubuntu more often, I decided to try to rip some albums there. I ended up using k3b (since I found it in the ...
erikric's user avatar
  • 353
1 vote
1 answer
130 views

Encoding to VBR adds "-b 32" flag automatically

Using LAME 3.99. I'm encoding files using lame.exe -m j -V 0 -q 0 <file>. When I open the encoded file in MediaInfo, the Encoding settings field shows -m j -V 0 -q 0 -lowpass 22.1 --vbr-new -b ...
Hind-D's user avatar
  • 436
1 vote
1 answer
3k views

ffmpeg install with libmp3lame fails on Mojave and high Sierra

I have tried installing ffmpeg using brew install ffmpeg --enable-libmp3lame as well as brew install ffmpeg --with-libmp3lame and both versions fail. The error I receive is Error: invalid option: --...
user1043193's user avatar
1 vote
1 answer
563 views

How to tell lame to write VBR header to stream?

I want to use lame to encode mp3 files, but instead of writing it directly to a file I want to pipe it into another program that will eventually write it out somewhere. The problem is that if lame ...
petersohn's user avatar
  • 2,672
1 vote
1 answer
5k views

ffmpeg audio using lame

I have installed ffmpeg from source with --enable-libmp3lame. Now when I run ffmpeg with: sudo ffserver -f ffserver.conf & ffmpeg -s 320x240 -f video4linux2 -i /dev/video0 http://localhost:7070/...
routeburn's user avatar
  • 111
1 vote
0 answers
32 views

How to explain discrepancies between the way LAME and FFmpeg encode with low CBR MP3 files?

I am trying to find the matching FFmpeg options that would produce the equal result when using lame. We are using CBR mostly so the transition seems to be straightforward. LAME: -b XXX --cbr -m j -q 2 ...
pv_'s user avatar
  • 11
1 vote
1 answer
2k views

How do I add libmp3lame to sox?

When I want to use sox with an mp3 I get: C:\>C:\Progs\sox\sox.exe C:\Progs\tree.mp3 -C 60.2 C:\Progs\owl.mp3 tempo 1.0 C:\Progs\sox\sox.exe FAIL util: Unable to load LAME encoder library (...
Christian's user avatar
  • 2,264
0 votes
1 answer
458 views

How to stream audio and capture at the same time

I would like to save the mp3 that is being stream to the local file for archival purposes. I'm using the following line in my bash script to stream audio from a USB audio device to my icecast server....
Aaron's user avatar
  • 101
0 votes
2 answers
2k views

Convert wav file to mp3

I have a wave file with encoded using the following. (Taken from VLC Media information) Codec: PCM S16 LE (araw) Channels: Stereo Sample rate: 44100 Hz Bits per sample: 16 The file is 30 MB I want ...
dev5's user avatar
  • 197
0 votes
1 answer
156 views

Significance of characters used in lame's mp3 encoding histogram

When lame.exe is encoding a .wav file to an .mp3 file in VBR mode, it maintains a character mode histogram showing the relative usage of the various bitrate packets. Study of documentation here and ...
dgnuff's user avatar
  • 423
0 votes
1 answer
692 views

LAME decode gives up early on long MP3 files?

I am using Lame.exe 3.99.5 64-bit for Windows to decode some podcasts. One podcast has particularly long epsiodes such as this one, at 4.5 hours. When I download and decode its MP3, I get a WAV file ...
Patrick Szalapski's user avatar
0 votes
1 answer
719 views

Windows Media Player will not play files compressed with winLame using LAME encoding

We have a client who cannot listen to audio files we are compressing with winLame using the LAME mp3 encoding. Anyone have any idea what is happening here?
Joshua Fricke's user avatar
0 votes
2 answers
704 views

Dealing with conflicts on linux installs

I am trying to run a linux install. I have added a rpm repo. and i am running yum install normalize But i am getting the following error Transaction Check Error: file /usr/lib64/...
user1503606's user avatar
-1 votes
3 answers
442 views

lameAMC wont install (for dxtory)

when i do exactly as the instructions do it opens a 'copy error' window saying Setup cannot copy the file LameACM.acm Ensure that the location specified below is correct, or change it and insert '...
james's user avatar
  • 1