Questions tagged [lame]

LAME is a command-line encoder for producing mp3 files.

LAME was created in 1998 and development has continued up until the latest stable release in 2011. LAME is considered to be the best MP3 encoder at mid-high bitrates and at Variable Bitrate (VBR) encoding.

The LAME Project

24 questions
106
votes
11 answers

Converting mp4 to mp3

I have a video I need to convert to mp3 (from the command line - not GUI): video.mp4 I tried: ffmpeg -i -b 192 video.mp4 video.mp3 with no success. I get the following error: WARNING: library configuration mismatch Seems stream 0 codec frame rate…
aki
  • 2,164
22
votes
3 answers

How can I compress an mp3 file?

I used to download a program in windows that used lame to compress audio of mp3 files and made them smaller in size but I don't know how to do this in Ubuntu. Does anybody know anything about this? Please remember that I have just installed ubuntu…
Juancho
  • 221
  • 1
  • 2
  • 4
16
votes
2 answers

Command for increasing the volume of mp3 with lame

I'm using Ubuntu 12.04 (mostly Unity 2D) and I want to use lame in the terminal. I had been using it as an mp3 amplifier, but I forgot the command, all I remember is: lame scale- But it shows: lame:…
Jatttt
  • 2,367
  • 12
  • 33
  • 43
10
votes
2 answers

Lame - How to re-encode all 320kbps mp3 to 192kbps mp3

As per title. I have lots of MP3s in 320kbps format that I need to convert to 192kbps. Currently I'm using lame --mp3input -b 192 which creates a file of the same name but with an extra .mp3 extension. So I end up with foo.mp3.mp3. I need to be able…
5
votes
1 answer

How do I install Lame in the Asunder program?

I was trying to use Asunder but I get an error message saying that I need to have Lame installed in the path. I am just plain confused. How do I accomplish this?
madtaxman
  • 51
  • 1
  • 1
  • 2
4
votes
2 answers

How to write Album Artist ID3 tag using lame?

Lame doesn't have a command line option to record the ID3 metadata of the "Album Artist". How to do it?
neves
  • 1,204
4
votes
2 answers

Lame compress mp3 files recursively

I want to compress my entire music collection (a copy of it, actually) using lame. So naturally, there are folders within folders and possible weird characters in file names. I used the graphical soundconverter as well, but didn't like it as it has…
ankush981
  • 321
4
votes
1 answer

Sound Juicer doesn't respect Lame's codec settings when ripping CDs

Using Sound Juicer I am able to rip CDs very conveniently. I would like to rip them in about 256 kbit/s variable bitrate. To accomplish this I have defined the settings for mp3 in gnome-audio-profiles-properties (from gnome-media-profiles ) as…
Takkat
  • 144,580
3
votes
1 answer

Bash script runs fine, but not in cron

I have a script that's supposed to record a shoutcast stream for an hour, convert it to mp3, and then save it. The script runs correctly when I run it from the terminal, but I can't seem to get it to run in cron (where it should run every hour at…
3
votes
2 answers

converting multiple files with avconv...libmp3lame0 not found

I have about 20 .webm files that I would like to convert to audio in the terminal. I want to do avconv -i *.webm -acodec libmp3lame0 -aq 4 *.mp3 I tried: for i in *.webm; do avconv -i "${i}" -acodec libmp3lame0 -aq 4 "${i%.wemb}.mp3"; done but it…
2
votes
1 answer

I'm using LAME to convert .wav files to .mp3 how I can append the passed arguments in terminal to output .mp3 name?

My LAME command presently is : lame -b 128 -m j -h -V 1 -B 256 -F *.wav file.mp3 What I want would be : in file : file.mp3 out file : file_-b_128_-m_j_-h_-V_1_-B_256_-F.mp3 Also I will be changing the arguments please don't post an answer that only…
Lucifer
  • 65
2
votes
0 answers

MP3 encoding problems caused by gstreamer1.0 lamemp3enc not working (for me) in Ubuntu Xenial 16.04

After a fresh install of 16.04, I am no longer able to convert sound files to MP3. It works neither in Rhythmbox, Sound-Juicer or Soundbridge nor can I use gat-launch-1.0 to create a pipeline manually that contains lamemp3enc. Using gst-inspect-1.0…
2
votes
2 answers

LAME Conversion Without Extension

I have a list audio file paths and extensions in a CSV file that looks like this: Path Extension ~/src/0000 .wav ~/src/0001 .aif ~/src/0002 .wav I need to run LAME on each file converting it to a standard format. The problem is LAME…
1
vote
1 answer

Install lame 3.100 under Xenial Xerus 16.04LTS?

For the first time in 7 years I see that there is a new, major release for the lame mp3 encoder, with lame 3.100 coming out on October 13th 2017. There is an impressive list of bugfixes which I would like to have access to. How can I safely install…
andrew.46
  • 39,359
1
vote
2 answers

Why does lame reduce mp3 size when scaled?

I wanted to increase the volume of an .mp3 file. This is what I did: lame --scale 4 src.mp3 dest.mp3 src.mp3 was 12.5MB whereas dest.mp3 is 4MB. The audio is much louder, but I'm worried if it lost quality.
learner
  • 363
1
2