Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-14-2005, 10:07 AM   #1
Registered: Jan 2005
Location: Brabant, the Netherlands
Distribution: Gentoo 2004.x (2.6.10 hardened)
Posts: 91

Rep: Reputation: 15
Lame 3.96.1 killed when converting wav to mp3

Hi folks,

I recently got some wav files and now I'm trying to convert them using lame 3.96.1, package provided by Gentoo.

So, I have these .wav file. If I play it using xmms and ask for info, it shows me the plugin used is Wave Player 1.2.10, so I assume it's a valid wav file, and it plays fine.

Now, I want lame to convert it to mp3.
So, when I do a:

# lame -h --verbose audiodump.wav out.mp3

(as root, just to be sure), lame gets killed (?) and exits immediately, whith the last 2 lines of output being:

Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
0/9149 ( 0%)| 0:00/ 0:00| 0:00/ 0:00| 0.0000x| 0:00 Killed

In the rest of the verbose output, nothing seems wrong.

When I use strace -e trace=file, the last is appended with:

+++ killed by Sigkill +++

Anyone an idea?

Some specs:
I'm root,
I use Gentoo 2004.3 mainly but updated some things,
I use hardened kernel 2.6.7-r15
I used gcc 3.3.4 20040623 (Gentoo Hardened Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
to compile,
To test the wav, I used xmms 1.2.10,
I tried it also as an unprivileged user,
I read the lame man-page, but didn't see the solution there
I also tried converting the wav to pcm and then converting it to mp3 which gave the same problem,
the whole output of (as root):

# strace -e open=file lame -h --verbose audiodump.wav out.mp3

is:execve("/usr/bin/lame", ["lame", "-h", "--verbose", "audiodump.wav", "out.mp3"], [/* 40 vars */]) = 0
open("/etc/", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=55428, ...}) = 0
open("/usr/lib/", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=372624, ...}) = 0
open("/lib/", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=354736, ...}) = 0
open("/lib/", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=159080, ...}) = 0
open("/lib/", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=1216264, ...}) = 0
open("/dev/urandom", O_RDONLY) = 3
open("audiodump.wav", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=42149420, ...}) = 0
open("out.mp3", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
access("/root/.terminfo/E/Eterm", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/terminfo/E/Eterm", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/terminfo/E/Eterm", R_OK) = 0
open("/usr/share/terminfo/E/Eterm", O_RDONLY) = 5
LAME version 3.96.1 (
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE
Using polyphase lowpass filter, transition band: 17249 Hz - 17782 Hz
Encoding audiodump.wav to out.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=2


scaling: 0.95
ch0 (left) scaling: 0
ch1 (right) scaling: 0
filter type: 0
quantization: xr^3/4
huffman search: best (outside loop)
experimental Y=0

stream format:

MPEG-1 Layer 3
2 channel - joint stereo
padding: off
constant bitrate - CBR
using LAME Tag


using psychoacoustic model: 1
psychoacoustic model: NSPsytune
tonality estimation limit: 8871.700195 Hz (not relevant)
using short blocks: channel coupled
subblock gain: 1
adjust masking: 0 dB
adjust masking short: 0 dB
quantization comparison: 9
^ comparison short blocks: 9
noise shaping: 2
^ amplification: 1
^ stopping: 1
ATH: using
^ type: 4
^ shape: 5 (only for type 4)
^ level adjustement: 0
^ adjust type: 0
^ adjust sensitivity power: 0
^ adapt threshold type: 2
experimental psy tunings by Naoki Shibata
adjust masking bass=-6 dB, alto=0 dB, treble=0 dB, sfb21=0 dB
using temporal masking effect: yes
interchannel masking ratio: 0.0002

fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
0/9149 ( 0%)| 0:00/ 0:00| 0:00/ 0:00| 0.0000x| 0:00 +++ killed by SIGKILL +++

Does anyone have an idea?

Thanks in advance!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wav to mp3 using wavr and lame igimaster Linux - Software 7 11-11-2005 11:22 AM
Converting WAV to MP3 ? dolphans1 Mandriva 8 08-03-2004 03:52 AM
Converting mp3 to wav J.W. Linux - Software 2 03-10-2004 01:41 AM
Converting 8-bit wav to mp3 with Lame? lsakhvoruk Linux - Software 0 10-09-2002 05:12 PM
Converting mp3 to wav. ??? rayflynn Linux - General 2 12-11-2001 05:07 AM

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration