Questions tagged [lamemp3]

LAME is a recursive acronym for "LAME Ain't an MP3 Encoder"

LAME is a high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL.

17 questions
5
votes
1 answer

Uncaught could not load memory initializer Mp3LameEncoder.min.js.mem

I have been working on a project where I need to record a voice from MIC and upload it to web server. I want this in .mp3 format. For this have gone through this tutorial. It works fine at their end with a demo but when I used the same coding and…
Solved C
  • 103
  • 6
5
votes
1 answer

How to convert wav file to mp3 in memory?

I have an application written using c# on the top of Asp.Net MVC 5 framework. My objective is to make a call to 3rd party service to download a wave file. Then I want to convert this file into mp3. Finally, I want to return the mp3 file as (byte[])…
Junior
  • 11,602
  • 27
  • 106
  • 212
4
votes
1 answer

converting pcm file to mp3 using liblame in android

I am using SimpleLameLibForAndroid to convert a pcm file that created using AudioRecord class in android,to mp3. I read the pcm file and encoded it into mp3 and then I write it in the file. the result mp3 file but is not correct and it has a lot of…
Babak
  • 101
  • 2
  • 14
3
votes
0 answers

mpg123 for Android

I developed an Android app that reads an .mp3-file, does some manipulation on the PCM data and writes the result to another .mp3-file. So far, I have been using JLayer for decoding and LAME (with NDK) for mp3-encoding. Everything works fine - the…
Martin
  • 361
  • 2
  • 8
2
votes
1 answer

What is the furthest an MP3 reservoir can be from a frame referencing it?

The compressed data of an MP3 frame can be smaller than the space available in a frame. When that happens, we call the space available a reservoir. When a future frame is too large and can't fit in the space available in one frame, it can use a…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
1
vote
1 answer

Upload audio blob after conversion from wav to mp3

function init() { var cfg = {}; audio = new Recorder(cfg); } function toggle( btn ){ // audio && audio.record(); if(audio instanceof Recorder){ var btnLabel = btn.firstChild.nodeValue; if( btnLabel === 'Record' ){ …
1
vote
0 answers

How to use preset_mode from lame.h?

I want to use presets from lame.h but don't know which function to use with preset_mode constants? Constants: /*presets*/ typedef enum preset_mode_e { /*values from 8 to 320 should be reserved for abr bitrates*/ /*for abr I'd suggest to…
serg.dudk
  • 65
  • 7
1
vote
0 answers

AWS Lambda - ffmpeg erroneously outputs distorted/clipped mp3

How do I get an mp3 output without any distortion using ffmpeg? I am utilizing ffmpeg on AWS Lambda linux using the static build provided by https://www.johnvansickle.com/ffmpeg/ (x86_64 build). After running the following command, the mp3 output…
Eric Amshukov
  • 223
  • 3
  • 9
1
vote
1 answer

Enabling libmp3lame for FFMPEG on elastic beanstalk

I am trying to enable libmp3lame with FFMPEG in elastic beanstalk (Amazon Redhat Linux machine). I am able to successfully install FFMPEG in /ffmpeg.config with the following script: # .ebextensions/ffmpeg.config packages: yum: autoconf: [] …
1
vote
1 answer

Default WAV description when all specs are "0"

I'm learning how to read WAV files in C++, and extract data according to the header. I have a few WAV files lying around. By looking at the header of all of them, I see that they all follow the rules of wave files. However, files recordings produced…
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189
1
vote
1 answer

How to change the bitrate of audio encoding in Gstreamer in the PLAYING state?

I want to convert a FLAC file to a MP3 (and Vorbis, in a second time) file. These MP3/Vorbis streams are then transmitted, raw, to a second device that decodes them. Depending on the quality of the transmission, I want to be able to change the…
JohnW
  • 505
  • 3
  • 14
0
votes
0 answers

Are the ID3v2.4 frame flags really completely different from ID3v2.3?

In the file "id3v2.3.0.txt", section 3.3.1, it reads: The flags field is defined as follows. %abc00000 %ijk00000 … whereas in the document "id3v2.4.0-structure.html", section Frame Header Tags, it reads: The flags field is defined as…
AxD
  • 2,714
  • 3
  • 31
  • 53
0
votes
1 answer

Is there a way to ensure mp3 duration accuracy with variable bit rate using FFMPEG?

In our application, we are processing audio files using ffmpeg. Specifically, we use the NodeJS library fluent-ffmpeg, (npm link). Our audio files are generated from various text to speech providers. We recently noticed that when we converted audio…
Japser36
  • 194
  • 2
  • 8
0
votes
0 answers

FFMPEG adds extra contents to the beginning of the file, when converting OGG audio to MP3

I use the following ffmpeg -i to convert ogg music files to mp3. I, however, realized that the resulting mp3 files on some ogg files are slightly longer, and includes the repetition of the first half a second of the original…
MikeL
  • 2,369
  • 2
  • 24
  • 38
0
votes
1 answer

Problem Converting WAV file with more than 2 channels to MP3

I am developing a C# application that records streaming audio to MP3. I’m new to this but from what I’ve seen so far, the easiest way to do this is record to WAV using NAudio and then create an MP3 version using either LameMP3FileWriter or…
mharran
  • 149
  • 3
  • 15
1
2