[MP3 ENCODER] Digital downsampling of mp3s?

2000-08-22 Thread Stephen Kennedy


Hello 'lamers',

Like many people on this list (I imagine) I have a fairly substantial
collection
of good quality (-v --preset studio) MP3s encoded with lame. I'd love to be
able to be able to make them smaller to squash more musiconto my portable
MP3 player.

Is it possible to have lame digitally resample an mp3 on a frame-by-frame
basis? Although granted, the quality wouldn't be as good as a 'slow'
encoding,
I'd imagine this could be extremely fast!

Stephen.

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )



RE: [MP3 ENCODER] Digital downsampling of mp3s?

2000-08-22 Thread Mathew Hendry

 From: Stephen Kennedy [mailto:[EMAIL PROTECTED]]
 
 Is it possible to have lame digitally resample an mp3 on a 
 frame-by-frame
 basis? Although granted, the quality wouldn't be as good as a 'slow'
 encoding,
 I'd imagine this could be extremely fast!

Hmmm, I doubt it. The psychoacoustic model needs the original signal in (at
least) FFT form. I don't think MDCT - FFT can be done directly, so you'd
need to go MDCT - time domain - FFT, i.e. full decode followed by FFT. You
probably wouldn't gain any speed at all. I suppose you could disable the
psymodel, but at low bitrates that's a recipe for terrible quality...

-- Mat.
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )



Re: [MP3 ENCODER] Digital downsampling of mp3s?

2000-08-22 Thread Jaroslav Lukesh

| Like many people on this list (I imagine) I have a fairly substantial
| collection
| of good quality (-v --preset studio) MP3s encoded with lame. I'd love to
be
| able to be able to make them smaller to squash more musiconto my portable
| MP3 player.
| 
| Is it possible to have lame digitally resample an mp3 on a frame-by-frame
| basis? Although granted, the quality wouldn't be as good as a 'slow'
| encoding,
| I'd imagine this could be extremely fast!

no way here :-(

It should be maybe possible in wavelet transform, but not in discrete
cosinus. You should wait for wavelet encoder and decoder...

Or you should use ;-))

lame --decode x.mp3 - | mp3enc31 -sti -of x.small.mp3 -esr 22050 -qual 9
-bw 11025 -br 64000

(ech... commercialcrippleware, 30 sec limit - but you can cut wav and glue
mp3s :-)) (with very small tick each 30s)... BTW, Im not try this "cutting"
under linux, should kill -HUP pid after each (say) 28sec help?

will sounds much better than

lame -h -m j -b 64 --voice --noshort --resample 22.05 --lowpass 11.025
--lowpass-width 0 --mp3input x.mp3 x.small.mp3

Note that --voice options sounds better with bitrates = 64k. You can test
options like --cwlimit (default is cca 8, yoiu can test it from 0 to
11.025).

Regards

 Jaroslav Lukesh, K-net
--
   http://www.k-net.cz
  Multimedia, Networking, Communications
  Windows terminals, NC
 computer hardware and software
--
 note: (Bill) Gates to Hell!

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )



Re: [MP3 ENCODER] Digital downsampling of mp3s?

2000-08-22 Thread Robert Hegemann

Jaroslav Lukesh schrieb am Die, 22 Aug 2000:
 lame -h -m j -b 64 --voice --noshort --resample 22.05 --lowpass 11.025
 --lowpass-width 0 --mp3input x.mp3 x.small.mp3

 
why not   lame --preset fm -h -k x.mp3 x.small.mp3   ???

but I would not use -k there.


 Note that --voice options sounds better with bitrates = 64k. 

mainly because the short block detection isn't tuned for LSFs.


Ciao Robert



--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )