Help - Search - Members - Calendar
Full Version: Bladeenc and Lame question about converting WAV to MP3
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
Develogy
Ok I am building a system that takes a wav attachment out of an email, then it is supposed to convert it to mp3 so that it can be played with a Flash based MP3 player. The average length of the WAV files is between 15 seconds, and 60 seconds. So far the getting the wav files out of the emails is working fine, and they can be played with any player I have. However when trying to use either blade encoder, or LAME, the created mp3 file is nothing more than an 1/8 of a second of static. I have tried every setting I could find on both, to get them to convert it correctly. I am wondering if anyone has heard of this before, and could provide suggestions to getting it to work, or just point me in the right direction.
for reference here is the output from BladeEnc
QUOTE

BladeEnc 0.94.1 © Tord Jansson Homepage: http://bladeenc.mp3.no
===============================================================================
BladeEnc is free software, distributed under the Lesser General Public License.
See the file COPYING, BladeEnc's homepage or www.fsf.org for more details.

Files to encode: 1

Encoding: inaudio/20061011050219_2.wav
Input: 44.1 kHz, 16 bit, stereo.
Output: 128 kBit, stereo.

Encoded runlength (current file): 00:00:00 Encoded runlength (current file): 00:00:00 Completed. Encoding time: 00:00:00 (infX)

All operations completed. Total encoding time: 00:00:00


Thanks
Mike
john33
Can you post a small sample wave file to look at/play with? Otherwise it's a little difficult to help, unless someone's seen something similar before. smile.gif
Develogy
I might be blind but I dont see a way to attach a file, so here is a link to one, please excuse the content, one of the other guys was playing around with the system, but is a perfect example of the file sizes and the output of the system already in place. http://www.visualvue.com/20061011050219_2.wav

Just a heads up if anyone has another idea for the conversion I am full yopen to suggestions, however the method must be Linux command line based as the entire system is run by PHP and Perl.

Thanks
Mike
kjoonlee
What format is it in? It doesn't seem to be the usual 8bit/16bit LPCM.

Yikes, it's already MP3. Rename it to .mp3.

File Name : aaa.mp3
File Path : C:\Documents and Settings\foo\바탕 화면\aaa.mp3
Subsong Index : 0
File Size : 20 376 bytes
Last Modified : 2006-10-11 17:32:00
Duration : 0:06.702 (53615 samples)
Sample Rate : 8000 Hz
Channels : 1
Bitrate : 24 kbps
Codec : MP3
Codec Profile : MP3 CBR
Encoding : lossy
<MP3_STEREO_MODE> : mono
john33
Like the man said:

bitrate = 24
codec = MP3
channels = 1
samplerate = 8000
mp3_stereo_mode = mono
----------
53615 samples @ 8000Hz
File size: 20 376 bytes

That's the foobar detail when the file is simply renamed to xxx.mp3.
kennedyb4
Whatever happens you should avoid Blade if possible. It is one of the worst mp3 encoders and particularly offensive at low bitrates.

SSRC and Gui will solve most sample rate and bit depth problems for you and is a free solution as well.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.