Questions tagged [lame]

LAME is a high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL. The name LAME is a recursive acronym for "LAME Ain't an MP3 Encoder". Use this tag for questions on LAME encoder. Also add mp3 tag.

LAME is a high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL. The name LAME is a recursive acronym for "LAME Ain't an MP3 Encoder". Use this tag for questions on LAME encoder. Also add tag.

More information at

  1. Lame project page - https://lame.sourceforge.io/
  2. Lame wikipedia page - https://en.wikipedia.org/wiki/LAME
281 questions
0
votes
0 answers

lame-3.100.tar.gz has no lame.exe?

guys!I have downloaded lame-3.100.tar.gz from the site of lame,and I want to convert one song which format is ape to mp3 by Foobar2000.But there's no lame.exe when I have unarchivered the document.Does anybody know solutions?
Yang.Xu
  • 9
  • 2
0
votes
1 answer

fs.createReadStream('b.mp3') reduce latency

I'm playing around with events triggering sounds (500 msec long), therefore I use the lame library. var lame = require('lame'); var fs = require('fs'); var Speaker = require('speaker'); while(listening) { if(eventIsFired) { …
Basti
  • 606
  • 1
  • 12
  • 22
0
votes
1 answer

How to set channels and sample rate when converting .wav into mp3 using NAudio/Lame?

I am trying to convert wav file into mp3 using following code. using (var wavRdr = new WaveFileReader(item)) using (var mp3Writer = new LameMP3FileWriter(outputPath.Replace(".wav", ".mp3"), wavRdr.WaveFormat, _bitRate, tag)) …
Salman Lone
  • 1,526
  • 2
  • 22
  • 29
0
votes
1 answer

How to convert wav to mp3 for samplerate 16000?

I'm trying to make conversion from wav file to mp3 using Samplerate 16000. After converting the quality of the audio is not good and its speed seems like an increased. Where as it worked well if the audio conversion sample rate set to 8000. I have…
Sachin Kumaram
  • 900
  • 1
  • 10
  • 27
0
votes
0 answers

Lame conversion works in CMD but not in PHP

exec("lame audio.mp3 audio.wav") Similar questions didn't helped. This is the command that should be executed via PHP. The audio.mp3 file presents in the directory and no permission issues. Lame encoder is present at: C:\Program Files (x86)\Lame.…
Mr Cathode
  • 73
  • 14
0
votes
1 answer

mplayer/mencoder fails encoding on a RHEL5 machine

I'm using an application called ClipShare to post videos. However, encoding seems to fail. Here's what I get from the logs: /usr/local/bin/mencoder /clipshare/video/39.wmv -o /clipshare/flvideo/39x.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc…
ACal
  • 11
  • 5
0
votes
1 answer

Bash - file path can not be read for LAME encoder

How do I properly escape the path to come out of find to a new command argument? #!/bin/bash for f in $(find . -type f -name '*.flac') do if flac -cd "$f" | lame -bh 320 - "${f%.*}".mp3; then rm -f "$f" …
dh762
  • 2,259
  • 4
  • 25
  • 44
0
votes
3 answers

Python - youtube-dl.utils.DownloadError: ERROR: audio conversion failed: file: mp3 invalid argument

youtube-dl.utils.DownloadError: ERROR: audio conversion failed: file: mp3 invalid argument The above error appears with following parameters, running youtube-dl on Python 3.6 on Windows 7, FFmpeg and libmp3lame installed. ydl_opts = { …
Cristina
  • 1
  • 1
  • 2
0
votes
2 answers

Improve NAudio Mp3 Audio Quality

I’m using NAudio and Lame Audio to Convert Wav to Mp3, I’m newbie too for this Audio Conversion code. Thanks to Mark I’m using his Audio File Inspector to get the details Here is the details Input - Wave Format details Opening…
srieen
  • 59
  • 1
  • 8
0
votes
1 answer

how to use Lame library in android to convert .Pcm file to Mp3

I am using Lame library to convert pcm file to mp3 in android. using this link I compiled it and every thing is ok. but I don't know how to use this library to convert .Pcm file to .Mp3 in android studio. any sample code or any hint would be…
unos baghaii
  • 2,539
  • 4
  • 25
  • 42
0
votes
1 answer

SOX LAME and php fire done signal?

Hi I am using SOX in the following manner with php: $thesong = 67; $theString = "1.wav 2.wav 2.wav 1.wav"; exec("./sox $theString $thesong.wav"); It seems to be be working very good, Then I do the following: exec("./lame $thesong.wav…
james
  • 359
  • 1
  • 3
  • 4
0
votes
1 answer

Can I feed lame a blob and have it convert 'on the fly?'

I have a situation where a wav blob will be posted to my django project and I will have to convert it to an mp3. I have the process down, but it seems a little verbose and I would like to cut it down a bit but IDK how to go about doing it. wav_path…
Joff
  • 11,247
  • 16
  • 60
  • 103
0
votes
1 answer

skipping the converting step

So i have a script in my php file that takes a .wav file and converts it to a .mp3 exec( "lame ".SOMELOCATION."/".$file.".wav ".LOCATION."/{$Sub}/".$file.".mp3 "); I now need to take the file from the url and save it to the location listed…
Matt Elhotiby
  • 43,028
  • 85
  • 218
  • 321
0
votes
1 answer

LAME execution error code: 255 while using phplame on ubuntu server

I am attempting to convert a .wav to .mp3 using Lame and the php wrapper phplame. When I run the script below I recieve the following: string(151) "LAME execution error! command: `/usr/bin/lame --preset standard 'lametest.wav' 'lametest.mp3'`,…
Jeff
  • 1,018
  • 1
  • 15
  • 33
0
votes
1 answer

How do I convert an AAC audio mp4 to mp3 using gstreamer

I want to take the AAC audio track from a mp4 container and encode it as a constant rate mp3 to play on some of my older audio equipment that can't play mp4s or variable bit rate mp3's. I can't seem to get the pipeline right, it always comes out…
Josiah DeWitt
  • 1,594
  • 13
  • 15