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
4
votes
0 answers

LAME api for iOS - Setup

I have seen a very few posts on this issue. Everything is explained in a vague manner. Is there a way to know on the step by step setup of LAME api for iOS (http://lame.sourceforge.net/). If anyone can be patient enough to explain on the set up of…
Siddharthan Asokan
  • 4,321
  • 11
  • 44
  • 80
4
votes
1 answer

Incompatible Implicit Declaration of Built-In Function Warning Using NDK with LAME

I'm trying to follow the tutorial located at the following location http://developer.samsung.com/android/technical-docs/Porting-and-using-LAME-MP3-on-Android-with-JNI The gist of this is that it allows one to use the LAME MP3 encoder with JNI. I…
aLearner
  • 1,051
  • 14
  • 30
3
votes
0 answers

Calling lame_enc.dll from Python using ctypes

Ive been trying to interface with the lame_enc.dll using Python ctypes, and encode wav to mp3. This problem was discussed in 2008 at http://www.dreamincode.net/forums/topic/72083-lame-mp3-encoder-for-python/ with no resolution. I think that I am…
pwray
  • 1,075
  • 1
  • 10
  • 19
3
votes
1 answer

lamejs not working with angular 8 -- Uncaught ReferenceError: Lame is not defined

I added "lamejs": "^1.2.0", in package.json , and then in app.component.ts i added these lines : var lamejs = require("lamejs"); let channels = 1; //1 for mono or 2 for stereo let sampleRate = 44100; //44.1khz (normal mp3 samplerate) let…
khan
  • 137
  • 1
  • 11
3
votes
1 answer

Convert PyAudio microphone input stream to mp3

I am looking for ways to directly encode mp3 files from the microphone without saving to an intermediate wav file. There are tons of examples for saving to a wav file out there and a ton of examples for converting a wav file to mp3. But I have had…
chrismec
  • 123
  • 5
3
votes
1 answer

Is there any way to use NAudio.Lame with Xamarin (Android/iOS) applications?

I'm trying to use NAudio.Lame to convert recorded audio from wav to mp3. I have installed the nugget package(v 1.1.1) with NAudio(1.1.0) but when I try to compile the application it shows this…
Éder Rocha
  • 1,538
  • 11
  • 29
3
votes
1 answer

How to compute the number of extra samples added by LAME or FFMPEG

I am attempting to build a MP3 decoder / parser in Python which supports files encoded by LAME or FFMPEG. My encoding shell script is shown here: #!/bin/bash for i in wav/*.wav; do i=${i##*/}; lame --nores --strictly-enforce-ISO -t --cbr -b…
3
votes
0 answers

npm install lame error windows 10

this is my error when running npm install lame: C:\Users\zmoze\Documents\Vault\Code\ZachsBot>npm install lame npm WARN package.json ZachsBot@0.0.1 No repository field. npm WARN package.json ZachsBot@0.0.1 No README data > lame@1.2.4 install …
BaleineBleue
  • 139
  • 2
  • 12
3
votes
1 answer

Why does node-lame module saves mp3 file with a high pitched/fast playback speed?

I am trying to record audio from the browser and stream it as raw audio (PCM) to my node server where I want to save to it in .mp3 format. I am using node-lame module on my server for creating an mp3 file from the PCM audio stream. The problem here…
3
votes
0 answers

Using LAME.DLL from C#, MSCORLIB exception?

Yes, I have Googled this and found absolutely nothing useful. I want to use LAME.DLL (NOT LAME.EXE) from C# to turn a WAV into an MP3. The two CodeProject examples (MP3compressor and Aumpel) that every screen scraping help forum points to are…
Ryan
  • 61
  • 4
3
votes
1 answer

Encode mono PCM file to MP3 with libmp3lame/liblame/lame

Looking at the API of libmp3lame, all the functions: 1- Either take left and right channels, like this one: int CDECL lame_encode_buffer ( lame_global_flags* gfp, /* global context handle */ const short int buffer_l…
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189
3
votes
1 answer

PHP Lame stream filter

I have a task to make an mp3 player embedded on a page that will play some voice messages stored in database. Some of messages are stored in WAV-format, so they must be converted to mp3. The conversion should be done "on fly". Because of not all…
Sergei Morozov
  • 602
  • 1
  • 7
  • 17
3
votes
1 answer

How to add Lame 3.99.5 to Android Studio using NDK?

I am new in Android NDK. I need to add the Lame library to Android Studio using NDK. I start my research and find out some useful link: Lame MP3 Encoder compile for Android How to link the “lame” mp3 encoder shared object to an Android studio…
Luong Truong
  • 1,953
  • 2
  • 27
  • 46
3
votes
1 answer

How to convert PCM 8kHz 8bit unsigned to mp3 in C

I am a completely noob in topics related to audio handling with programming, but I want to convert PCM audio data to MP3. My audio is in PCM format, the frequency is 8kHz, the bitwidth is 8 and the kind of byte is unsigned, and channel is mono. I am…
Puffy
  • 401
  • 6
  • 13
3
votes
0 answers

mp3 encoder in iOS with arm64

I am using mp3 encoder in my app. I got project from Github reference: - https://github.com/rpplusplus/iOSMp3Recorder This project working fine with armv7.But apple do not accept my app because i have removes arm64 support. This code doesn't work…
Singh
  • 71
  • 6
1 2
3
18 19