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.

32 questions
27
votes
1 answer

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 libmp3lame -q:a 1 -b:a 192k "Q1-All-192k.mp4" ffmpeg -i…
Arlen Beiler
  • 1,568
  • 3
  • 18
  • 26
14
votes
6 answers

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/local/bin/ffmpeg -i a.mp3 -f mp3 con.mp3 FFmpeg version…
7
votes
5 answers

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 my 30.0 sec WAV becomes a 30.1 sec MP3. That's…
Niklas
  • 71
  • 1
  • 2
6
votes
2 answers

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 on my laptop, as there is approximately 650Gb of…
Leda
  • 421
  • 1
  • 6
  • 11
5
votes
6 answers

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 -i some.flv -acodec lame -ab 128k my.mp3 I see…
Kumar
  • 256
  • 1
  • 4
  • 14
4
votes
4 answers

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 the mono channel and create a fake…
ANisus
  • 253
  • 3
  • 9
4
votes
1 answer

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://ffmpeg.org/ffmpeg.html#Metadata I cannot convert…
Jan Suvak
  • 41
  • 1
  • 2
3
votes
3 answers

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 to verify whether the audio has been damaged…
kine
  • 1,809
  • 1
  • 17
  • 16
3
votes
1 answer

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 -nostdin -i test.flac -b:a 320k -ac 2 -ar 44100 -f…
Giacomo1968
  • 53,069
  • 19
  • 162
  • 212
2
votes
3 answers

(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) so I the second best option I guess would be to…
d-b
  • 636
  • 1
  • 6
  • 24
2
votes
0 answers

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 following: I drop WAV files into folder A, they are…
nqw1
  • 235
  • 1
  • 3
  • 6
2
votes
1 answer

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 my files to do so, as I'll lose quality. The…
Naftuli Kay
  • 9,481
  • 19
  • 56
  • 88
2
votes
3 answers

Converting mp3 to ogg, suggestions?

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 some sound quality when converting mp3 to ogg and…
watain
  • 641
  • 1
  • 6
  • 15
2
votes
4 answers

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 1 channel, mono. However it doesn't contains…
Konstantin
  • 653
  • 2
  • 12
  • 22
2
votes
1 answer

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 each of the 100+ tracks (don’t ask) and I got rid of…
Giacomo1968
  • 53,069
  • 19
  • 162
  • 212
1
2 3