lame

Encoding MP3 and adding VBR or Xing headers (with lame or another method)

I'm writing a program that converts wavs to mp3s, so far, by using lame. It's generating a command line more or less like this: "c:\Program Files (x86)\Lame for Audacity\lame.exe" --preset fast medium in.wav out.mp3 The problem I'm having is that no VBR or Xing headers are written to the MP3. How can I make lame.exe write those header...

What should i prefer...JLayer or LameOnJ?

Hello, I am about to create a mini project in Java related to MP3. These are the 3 things i will be doing in it. 1) Playing a MP3 file (as we do in a VLC media player with all the play,pause,stop functions) 2) Converting a MP3 file to .WAV file and vice versa 3) Compressing a MP3 file from 256kbps to 128 or 64kbps(depends on the user...

How do I capture command-line text that is not sent to stdout?

I am using the LAME command line mp3 encoder in a project. I want to be able to see what version someone is using. if I just execute LAME.exe with no paramaters i get, for example: C:\LAME>LAME.exe LAME 32-bits version 3.98.2 (http://www.mp3dev.org/) usage: blah blah blah blah C:\LAME> if i try redirecting the output to a text file ...

Using LAME encoder in an xcode project

Hello, Tasked with converting wav to mp3 in my mac program, I've downloaded and compiled the LAME encoder. I was wondering how I then use it in my xcode project? Previous 3rd party libraries have been in the form of a framework, but LAME just produces a dylib. Thank you. ...

if i want to play mp3's what is the difference between lame and MCI(VFW32) ?

Hello basic question , i need to play mp3's in my application in windows when goggling i got allot of tutorials about VFW32.lib to play mp3's and i know lame , what is the best option for playing mp3's in c++? ...

How do you run a command line program (like lame or svn) with PHP?

Specifically, I need to automate the encoding of audio files into mp3 with LAME. You don't need to know LAME to answer this, I could be talking about svn or some other program.. I know how to use LAME on the command line to do this, for one file at a time. I would like to do this via a php script however, so I can convert a bunch at o...

EXC_BAD_ACCESS when calling lame_encode_buffer

Hello, I'm using lame encoder to convert a wav to an mp3 in mac osx using objective-c and cocoa. I'm a complete novice when it comes to audio encoding and my C skills aren't great. Regardless I've stumbled along and gotten to the actual encoding stage, which is where i'm stuck. From the code I've studied, it looks like I should be usin...

Where to get pure C++ Lame MP3 encoder - PCM to MP3 example?

So all I need is a simple function that sets it up (eating incoming PCM RATE (for example: rate near to 44100) It's channels (for example: 2) and -bits (for example: 16) and desirable 128 kb\s rate) and another one that takes PCM data and encodes it into pure MP3 frames. I know it looks like a silly homework task but I assure you - it i...

How to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, LAME MP3 encoder for Winxp. php version 5.3.0

Hello All Members I am newbie in php.Can any body tell me how i install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder in Windows XP and php version should be 5.3.0 or Wamp server release July 11 2009/Xamp Server release 2009/12/23. I make search on google and i find tutorial but that tutorial work with previous version of php 5.2.8 . So if so...

MP3 Resampling in Linux

Hello folks. Tonight I am working on my music collection. I would like to resample a large selection of my MP3's to 192Kb/s for my Zune. I know the obvious way to do this is a recursive function using lame to encode MP3 at 192 - but lame doesn't maintain the ID3 tags! Does anyone know of another option that will retain ID3 info? Thank...

Is there any LAME c++ wraper\simplifier (working on Linux Mac and Win from pure code)?

So I want to create simple pcm to mp3 C++ project. I want it to use LAME. I love LAME but It is realy biiig. so I need some kind of OpenSource working from pure code with pure lame code workflow simplifier. So to say I give it File with PCM and DEST file. Call something like LameSimple.ToMP3(file with PCM, File with MP3 , 44100, 16, MP...

Running an exe in C# with commandline parameters, suppressing the dos window

Hi folks I am using lame for transcoding for one of my project. The issue is that when I call Lame from C#, a dos window pops out, Is there any way I can suppress this ? thank you Process converter = Process.Start(lameExePath, "-V2 \"" + waveFile + "\" \"" + mp3File + "\""); converter.WaitForExit(); ...

Trimming bit of the beginning off a recorder waveform

I've got a flash 10.1 app that lets me record microphone input to a wav without a media server, which I am saving to an Amazon S3 bucket. I have another process running on a server which gets wavs from this bucket, converts to mp3 using LAME and puts them into another bucket. This all works fine, but in converting wav > mp3, about 0.1se...

Running lame from php

I am trying to run lame from a php script. I have tried these, but no luck, I don't get anything returned! Any ideas? system('lame', $returnarr); system('lame --help', $returnarr); exec('lame', $returnarr); passthru('lame', $returnarr); even this one returns nothing: exec('which lame', $returnarr); I am on OSX and final deployment...

Packaging LAME.exe with a C# project

Please forgive my noob-ness on this, but how do I package LAME.exe w/ a C# setup project? Currently, I have LAME being called like: //use stringbuilder to create arguments var psinfo = new ProcessStartInfo( @"lame.exe") { Arguments = sb.ToString(), WorkingDirectory = Application.StartupPath, WindowSty...

Adding C++ DLL's to a C# project

I'm trying to use the lame_enc.dll file from LAME in a C# project, but adding the thing seems impossible. I keep getting an error that says that a reference could not be added and to please check if the is accessible, a valid assembly or COM component. I have no C++ experience, though I would like to use the functionality. Right now I'...

Determine MP3 bit depth in Python via Mutagen

Is there a way to determine an MP3 file's encoded bit depth (ie 8, 16, 24, 32) in Python using the Mutagen library? ...

Compressing Voice with MP3

I'm looking to compress some lectures which are in MP3 format. Currently, they're each about 75MB and I'm looking to compress them a lot. Can anyone suggest some good encoding options for LAME to get decent quality and small filesize? I think the files are in stereo, but obviously they could be bounced down to mono if need be. Is there...

How to build mach-0 for different architectures?

I have some dylibs to load from python with ctypes. I can load libbass.dylib without problem, but I can't load the self-compiled libmp3lame.dylib. Here is the error I get. OSError: dlopen(libmp3lame.dylib, 6): no suitable image found. Did find: libmp3lame.dylib: mach-o, but wrong architecture Then, I inspect the file typ...

Covert a A-Law mono .vox file to .wav file in c# .net

Can anyone please help me out... I need to convert a vox file to wav... I have tried the google, codeguru, codeproject etc... vox file encoding is: A-Law mono at 8000 HZ.... any reference, any clue, almost anything goes. Except, c, c++. yea... thats correct can't handle c, c++... regards... PS my working so far... I have tried SO...