LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Lame 3.96.1 killed when converting wav to mp3 (https://www.linuxquestions.org/questions/linux-software-2/lame-3-96-1-killed-when-converting-wav-to-mp3-277721/)

sludink 01-14-2005 10:07 AM

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/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=55428, ...}) = 0
open("/usr/lib/libmp3lame.so.0", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=372624, ...}) = 0
open("/lib/libncurses.so.5", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=354736, ...}) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=159080, ...}) = 0
open("/lib/libc.so.6", 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 (http://lame.sourceforge.net/)
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

misc:

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
...

psychoacoustic:

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!


All times are GMT -5. The time now is 10:19 AM.