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

Play mp3 with Qt4 from network without Phonon

In my project is undesirable use Phonon. It was therefore decided to use QAudioOutput and decoder Lame. The data obtained from the network through QNetworkReply and try to decode blocks of 4096 bytes, but I get an error. I understand that my actions…
DrEvil35
  • 127
  • 1
  • 8
0
votes
0 answers

Arithmetic operation resulted in an overflow using NAudio

While I am trying to convert mp3 to pcm format using DirectX Media Objects(using DmoMp3FrameDecompressor method), I am getting an error "arithmetic operation resulted in an overflow" in NAudio. Since there is no support for ACM on 64 bit windows…
sainath sagar
  • 499
  • 2
  • 10
  • 28
0
votes
1 answer

wav to mp3 using media foundation NAudio 1.7

........ using (var reader = new MediaFoundationReader("\\track.wav")) { MediaFoundationEncoder.EncodeToMp3(reader, "\\outputfile.mp3", 192000); } ........... Here, in this code when I am trying to convert wav file to mp3 it is throwing…
sainath sagar
  • 499
  • 2
  • 10
  • 28
0
votes
2 answers

wma audio stream to mp3 stream using NAudio c#

My task is to convert wma audio stream to mp3 stream using NAudio and Lame. The below code is working fine with file name but I want it to be done with memory stream. I search in NAudio there is no method for reading wma audio stream. Is it possible…
sainath sagar
  • 499
  • 2
  • 10
  • 28
0
votes
1 answer

Android AudioRecord MP3 encoding AudioFormat.CHANNEL_IN_STEREO

I seem to be stuck with this problem, I am trying to get https://github.com/yhirano/SimpleLameLibForAndroid to work on channelConfig AudioFormat.CHANNEL_IN_STEREO mode. Below code works perfectly if i call it with channelConfig =…
nLL
  • 5,662
  • 11
  • 52
  • 87
0
votes
1 answer

Set volume to mp3 stream using NAudio

Here in this code, I am using NAudio and Lame to convert wav file to mp3 stream and I am getting mp3 stream output without any issues. But apart from this I also want to set volume to the final mp3 stream. Any help is greatly appreciated. …
sainath sagar
  • 499
  • 2
  • 10
  • 28
0
votes
2 answers

NAudio streaming to mp3 file throught yeti lame wrapper

I have the following code to record audio in and out using System; using System.Diagnostics; using System.IO; using NAudio.Wave; using Yeti.MMedia.Mp3; namespace SoundRecording { public class SoundManager { private WaveInEvent…
HardLuck
  • 1,497
  • 1
  • 22
  • 43
0
votes
1 answer

Convert audio Linear pcm to mp3 ( using LAME ) Low ,Medium,High audio Quality setting

I am encoding a LinearPCM to MP3 in iOS.I'm trying to encode the raw PCM data from microphone to MP3 using AudioToolbox framework and Lame.And although everything seems to run fine if i record an audio it is converted to mp3 with the help of lame…
Ravindhiran
  • 5,304
  • 9
  • 50
  • 82
0
votes
0 answers

Challenge with id3tag_set_albumart of LAME

Am presently trying to convert a wave file to mp3 using LAME (which I have succeeded in doing). I also tried writing the id3tag to the mp3 which had been a success up to the point of id3tag_set_albumart. Going through the parse.c in the frontend…
MOHW
  • 737
  • 1
  • 11
  • 23
0
votes
1 answer

Mixed wave stream to mp3 using Lame

....... ....... var mixer = new WaveMixerStream32(); mixer.AutoStop = true; var messageOffset = background.TotalTime; var messageOffsetted = new WaveOffsetStream(message, TimeSpan.FromSeconds(10), …
sainath sagar
  • 499
  • 2
  • 10
  • 28
0
votes
1 answer

What are these errors in BlackBerry 10 Mometics while trying to build LAME?

I'm trying to build with the LAME files but I'm getting these errors on the machine.h file What's going on?
Dave
  • 477
  • 2
  • 5
  • 18
0
votes
2 answers

How to call lame executable from Android?

I downloaded LAME for Windows. It have two files, one is lame_enc.dll and another is lame.exe. I want to convert an MP3 file from 320kbs to 128kbs. In Windows I use command line: C:\Lame\lame.exe --preset cbr 128 "320.mp3" "128.mp3" - it works good.…
0
votes
1 answer

Reading PCM samples in LAME - need explanation of source code

Subsequent to my question posted here, further investigation into LAME with gdb revealed that at any given time, only 576 samples are read from the input pcm file. However, these samples are used to populate a 2304 1D or 2*1152 2D array. It is this…
Sriram
  • 10,298
  • 21
  • 83
  • 136
0
votes
2 answers

WAV to MP3 - Java lib example

is there any example on how to use LameOnJ, Pure Java Mp3 Encoder etc. to encode WAV format to MP3 in java? Example code, tutorial anything would be great! I'm fully confused in libraries right now; tried Tritonus lib but it gave me: Error:…
Zaur Guliyev
  • 4,254
  • 7
  • 28
  • 44
0
votes
0 answers

Recording audio that is playing on computer via terminal

I am trying to record audio outputted from whatever i am listening to on my computer and save that to my desktop. I am following this tutorial http://jordilin.wordpress.com/2006/07/28/howto-recording-audio-from-the-command-line/ I have lame…
user1503606
  • 3,872
  • 13
  • 44
  • 78
1 2 3
18
19