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
1 answer

Transfer-encoding: chunked and MP3/Lame

I have a PHP webservice that returns an mp3 HTTP response. It works, but when I turn on Chrome's network throttling in DevTools, it returns only part of the response: $stream_start1 = Psr7\stream_for(fopen('./sounds/ping.mp3', 'r')); …
xdhmoore
  • 8,935
  • 11
  • 47
  • 90
0
votes
0 answers

Build Lame on new macOS to be compatible with older macOS

I wish to use Lame to mp3 encode audio on macOS from El Capitan (10.11) forward. My development machine runs Catalina (10.15). On macOS Catalina, I built libmp3lame.a v3.100 using the following: ./configure --disable-decoder…
fractor
  • 1,534
  • 2
  • 15
  • 30
0
votes
0 answers

Vscode extension not running after importing lame

I am trying to make a vscode extension which requires lame but every time I try to test the extension with lame imported it gives the error: Activating extension 'undefined_publisher.extension' failed: The module…
Gus
  • 151
  • 2
  • 15
0
votes
1 answer

When creating a Xing or Info tag in an MP3, may I use any MP3 header or does it have to match other frames?

I have a set of bare MP3 files. Bare as in I removed all tags (no ID3, no Xing, no Info) from those files. Just before sending one of these files to the client, I want to add an Info tag. All of my files are CBR so we will use an Info tag (no…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
0
votes
0 answers

decode mp3 from streaming URL

I am trying to decode mp3 from icecast server but i am getting hip: bitstream problem, resyncing skipping 164 bytes... error. I am decoding using lame decoder. hip_t hipVal; hipVal = hip_decode_init(); while(1) { Readdatafromnet(ringBuf,…
Preenu P
  • 21
  • 5
0
votes
0 answers

Why is ALSA playing too fast?

I am decoding an mp3 file using lame . MP3 is being played through ALSA but the audio is playing too fast. I am writing code in C language. I tried changing the size of frames given to snd_pcm_writei but still, it doesn't work. if((err =…
Preenu P
  • 21
  • 5
0
votes
0 answers

Send Icecast live audio stream using NAudio BufferedWaveProvider

I want to send read bytes from NAudio BufferedWaveProvider to Icecast server. I have already done, but I´m facing problems with audio chunks and silence. The sound is not being send continuously. I´ve tried the following: void init_broadcast(){ …
Wilson Faustino
  • 157
  • 1
  • 7
0
votes
1 answer

What does "hip: Can't rewind stream by 74 bits", outputted by mpglib, really means?

I'm getting a couple of error messages while using the mpglib to decode MP3 data using the libmp3lame library environment. error(#1): hip: Can't rewind stream by 74 bits! error(#2): hip: bitstream problem, resyncing skipping 10 bytes... Note:…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
0
votes
1 answer

How to manipulate bytes with C# NAudio?

I am currently able to: record data from audio input, generate wav file with that data on the disk, play the wav from the disk. What I want to accomplish: take the raw bytes read through NAudio, convert the wav, specific bytes to mp3, play the mp3…
Marko
  • 407
  • 1
  • 7
  • 19
0
votes
1 answer

How to install npm lame raspberry pi 0

I'm trying to install npm lame on a raspberry pi 0. I've googled everything but keep getting this error: Not really sure what else to do. pi@raspberrypi:~/twotone $ sudo npm install lame > lame@1.2.4 install…
Bill
  • 5,478
  • 17
  • 62
  • 95
0
votes
1 answer

Coverting raw PCM file to MP3 with LAME returns distorted audio

I have raw PCM files generated from a base64 string. Here is the link to the API response that returns in.. I then create a PCM file from this string, after which I convert it to MP3 using the LAME library. Here is the code that deals with the…
Glenncito
  • 902
  • 1
  • 10
  • 23
0
votes
2 answers

how to catch command prompt process finish in C# and do something after that?

I am working with voice records. I need to use an .exe file for convert Wav to .mp3 file. Everything is fine I can execute this exe but I need to do something after when process end with my output .mp3 file. I know my output directory but i cant…
Mustafa Alan
  • 386
  • 3
  • 17
0
votes
1 answer

redhat - compile ffmpeg - how to link with liblame/x264 when they're installed locally

I've managed to install ffmpeg, a basic build using ./configure --disable-debug --disable-network --disable-ffserver --disable-ffplay --prefix=/export/home/userid/bin/ffmpeg Now I've installed liblame and x264 to /export/home/userid/bin and tried…
Raoul
  • 3,849
  • 3
  • 24
  • 30
0
votes
0 answers

Convert Wav to Mp3 - ASP.NET

I have a web application that returns a byte [] from a wav file in the browser, however I need to convert these audio files to .mp3, I tried to use the Naudio library for this and I could not. I try to use this code: public static byte[]…
0
votes
1 answer

LAME -- decoding and encoding audio file

I used lame for decoding from mp3 file to raw pcm file or encoding into mp3 from from raw pcm. The question is When I use one test.0.pcm file, doing encoding and decoding over and over again(generating 0.mp3, 1.mp3,2.mp3, ... and test.1.pcm,…
Feng
  • 67
  • 1
  • 9