* mp3 encoder for alpha
1998-04-06 1:03 mp3 player " Keith Baker
@ 1998-04-06 2:07 ` Alvin Starr
1998-04-06 2:38 ` Andreas Johansson
0 siblings, 1 reply; 8+ messages in thread
From: Alvin Starr @ 1998-04-06 2:07 UTC (permalink / raw)
To: axp-list
Does anybody know of an mp3 encoder for linux-alpha?
Alvin Starr || voice: (416)493-3325
Interlink Connectivity || fax: (416)493-7974
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mp3 encoder for alpha
1998-04-06 2:07 ` mp3 encoder " Alvin Starr
@ 1998-04-06 2:38 ` Andreas Johansson
1998-04-11 11:25 ` Olaf Grundey
0 siblings, 1 reply; 8+ messages in thread
From: Andreas Johansson @ 1998-04-06 2:38 UTC (permalink / raw)
To: axp-list
On Sun, 5 Apr 1998, Alvin Starr wrote:
> Does anybody know of an mp3 encoder for linux-alpha?
Well, I have been optimizing the reference code a little (the original is
about 4.5 times slower than my current version on my 164SX). My 164SX
encodes mp3:s 2.5 times faster than a PPro 200 with the same source and it
takes ~40 seconds to encode 30 seconds of music with my machine.
It encodes the file file.wav to file.mp3 with these switches:
encode -l 3 -p 2 -m s -b 128 file.wav file.mp3
Unfortunately there is no support for joint-stereo in layer 3, so you'll
have to settle for stereo-mode.
BTW: If anyone knows how to do joint-stereo in layer 3, I'm interrested..
Ok, it's at my ftp:
ftp://wopr.campus.luth.se/pub/encoder.tgz
/Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mp3 encoder for alpha
1998-04-06 2:38 ` Andreas Johansson
@ 1998-04-11 11:25 ` Olaf Grundey
1998-04-16 13:46 ` Andreas Johansson
0 siblings, 1 reply; 8+ messages in thread
From: Olaf Grundey @ 1998-04-11 11:25 UTC (permalink / raw)
To: Andreas Johansson; +Cc: axp-list
Andreas Johansson wrote:
>
> Well, I have been optimizing the reference code a little (the original is
> about 4.5 times slower than my current version on my 164SX).
Wow ! Good work !
> Ok, it's at my ftp:
>
> ftp://wopr.campus.luth.se/pub/encoder.tgz
I think you should add pow_nint.c to c_sources in the makefile.
Olaf
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mp3 encoder for alpha
@ 1998-04-13 16:49 dragisha
1998-04-13 19:25 ` Hirsim{ki Mika
1998-04-16 13:40 ` Andreas Johansson
0 siblings, 2 replies; 8+ messages in thread
From: dragisha @ 1998-04-13 16:49 UTC (permalink / raw)
To: axp-list
ajo@wopr.campus.luth.se (Andreas Johansson) wrote:
: On Sun, 5 Apr 1998, Alvin Starr wrote:
: > Does anybody know of an mp3 encoder for linux-alpha?
: Well, I have been optimizing the reference code a little (the original is
: about 4.5 times slower than my current version on my 164SX). My 164SX
: encodes mp3:s 2.5 times faster than a PPro 200 with the same source and it
: takes ~40 seconds to encode 30 seconds of music with my machine.
: It encodes the file file.wav to file.mp3 with these switches:
: encode -l 3 -p 2 -m s -b 128 file.wav file.mp3
I am getting segfaults with
./encode -l 3 -p 2 -m s -b 128 ~/frodo/encoder/pero.wav
last lines of strace are as follows:
open("tables/huffcode", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0440, st_size=32993, ...}) = 0
mmap(0, 4831808920, PROT_WRITE|PROT_EXEC|0x1b0, 0 /* MAP_??? */, 2, 0) =
0x1555556e000
read(6, "################################"..., 8192) = 8192
read(6, " 001100\n 1 3 7 0010011\n"..., 8192) = 8192
read(6, " 9 001011100\n 6 6 9 0010"..., 8192) = 8192
read(6, "00\n11 12 14 00001011000010\n"..., 8192) = 8192
read(6, "4 1111\n 1 4 1110\n 2 4 "..., 8192) = 225
close(6) = 0
munmap(0x1555556e000, 8192) = 0
--- SIGFPE (Floating point exception) ---
+++ killed by SIGFPE +++
motherboard/cpu is 164LX with 600MHz CPU.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mp3 encoder for alpha
1998-04-13 16:49 mp3 encoder for alpha dragisha
@ 1998-04-13 19:25 ` Hirsim{ki Mika
1998-04-16 13:40 ` Andreas Johansson
1 sibling, 0 replies; 8+ messages in thread
From: Hirsim{ki Mika @ 1998-04-13 19:25 UTC (permalink / raw)
To: axp-list; +Cc: axp-list
> I am getting segfaults with
> ./encode -l 3 -p 2 -m s -b 128 ~/frodo/encoder/pero.wav
> [...] motherboard/cpu is 164LX with 600MHz CPU.
Does it choke on every wav you feed to it? I've been encoding
mpgs succesfully with it on a 164LX/533MHz alpha for some time
now. In order to compile it (with egcs), I had to add pow_nint
and pow_approx to the makefile, but that's the only change I
made.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mp3 encoder for alpha
1998-04-13 16:49 mp3 encoder for alpha dragisha
1998-04-13 19:25 ` Hirsim{ki Mika
@ 1998-04-16 13:40 ` Andreas Johansson
1 sibling, 0 replies; 8+ messages in thread
From: Andreas Johansson @ 1998-04-16 13:40 UTC (permalink / raw)
To: axp-list
On 13 Apr 1998 dragisha@frodo.ho.com wrote:
> I am getting segfaults with
>
> ./encode -l 3 -p 2 -m s -b 128 ~/frodo/encoder/pero.wav
>
> last lines of strace are as follows:
>
> open("tables/huffcode", O_RDONLY) = 6
> fstat(6, {st_mode=S_IFREG|0440, st_size=32993, ...}) = 0
> mmap(0, 4831808920, PROT_WRITE|PROT_EXEC|0x1b0, 0 /* MAP_??? */, 2, 0) =
> 0x1555556e000
> read(6, "################################"..., 8192) = 8192
> read(6, " 001100\n 1 3 7 0010011\n"..., 8192) = 8192
> read(6, " 9 001011100\n 6 6 9 0010"..., 8192) = 8192
> read(6, "00\n11 12 14 00001011000010\n"..., 8192) = 8192
> read(6, "4 1111\n 1 4 1110\n 2 4 "..., 8192) = 225
> close(6) = 0
> munmap(0x1555556e000, 8192) = 0
> --- SIGFPE (Floating point exception) ---
> +++ killed by SIGFPE +++
>
> motherboard/cpu is 164LX with 600MHz CPU.
I'm guessing this is in my power table setup function. But it would be
best if recompile with -g and no optimization, and run it again in gdb.
Also watch out for warnings while compiling, if you have some header file
problem regarding any function that uses floating point you almost always
get SIGFPE since the compiler then assumes function arguments are
integers.
If you can't find the problem I can assist you in searching for your
problem (when I have some spare time).
/Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mp3 encoder for alpha
1998-04-11 11:25 ` Olaf Grundey
@ 1998-04-16 13:46 ` Andreas Johansson
1998-04-19 20:31 ` Joakim Roubert
0 siblings, 1 reply; 8+ messages in thread
From: Andreas Johansson @ 1998-04-16 13:46 UTC (permalink / raw)
To: olaf.grundey; +Cc: axp-list
On Sat, 11 Apr 1998, Olaf Grundey wrote:
> Andreas Johansson wrote:
> >
> > Well, I have been optimizing the reference code a little (the original is
> > about 4.5 times slower than my current version on my 164SX).
>
> Wow ! Good work !
>
> > Ok, it's at my ftp:
> >
> > ftp://wopr.campus.luth.se/pub/encoder.tgz
>
> I think you should add pow_nint.c to c_sources in the makefile.
You're right, I've added this fix to the above archive.
/Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mp3 encoder for alpha
1998-04-16 13:46 ` Andreas Johansson
@ 1998-04-19 20:31 ` Joakim Roubert
0 siblings, 0 replies; 8+ messages in thread
From: Joakim Roubert @ 1998-04-19 20:31 UTC (permalink / raw)
To: Andreas Johansson; +Cc: olaf.grundey, axp-list
On Thu, 16 Apr 1998, Andreas Johansson wrote:
> > > Well, I have been optimizing the reference code a little (the original is
> > > about 4.5 times slower than my current version on my 164SX).
> > Wow ! Good work !
> > I think you should add pow_nint.c to c_sources in the makefile.
> You're right, I've added this fix to the above archive.
Hmm.. I had some probs with that one... It compiles nicely and so on, but
when I run it:
octavia:~/q$ ~/src/encoder/encode -l3 -p2 -b128 ishockeyfrisyr.wav
Encoding configuration:
Algorithm=MPEG-1
Layer=III mode=stereo extn=0 psy model=2
samp frq=44.1 kHz total bitrate=128 kbps
de-emph=0 c/right=0 orig=0 errprot=off
input file: 'ishockeyfrisyr.wav' output file: 'ishockeyfrisyr.wav.mpg'
slots/frame = 417
frac SpF=0.000, tot bitrate=128 kbps, s freq=44.1 kHz
absthr[][] sampling frequency index: 1
zsh: floating point exception /home/jokke/src/encoder/encode -l3 -p2
-b128 ishockeyfrisyr.wav
octavia:~/q$
What can I do about this?
/Jokke tmw.
---
* Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
Jag använder ett 64-bitars operativsystem. Gör du? :nigirO *
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1998-04-19 20:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-13 16:49 mp3 encoder for alpha dragisha
1998-04-13 19:25 ` Hirsim{ki Mika
1998-04-16 13:40 ` Andreas Johansson
-- strict thread matches above, loose matches on Subject: below --
1998-04-06 1:03 mp3 player " Keith Baker
1998-04-06 2:07 ` mp3 encoder " Alvin Starr
1998-04-06 2:38 ` Andreas Johansson
1998-04-11 11:25 ` Olaf Grundey
1998-04-16 13:46 ` Andreas Johansson
1998-04-19 20:31 ` Joakim Roubert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox