From: Oded Arbel (oded-linux_at_nonexisting.hamakor.org.il)
Date: Sat 21 Jan 2006 - 01:27:27 IST
On Friday, 20 בJanuary 2006 17:48, Yedidyah Bar-David wrote:
> On Fri, Jan 20, 2006 at 03:43:49PM +0200, Oded Arbel wrote:
> > Hi list.
> > I recently bought a usbdrive/mp3 player which has the option of
> > recording. It records sound to WAV files encoded using IMA_ADPCM
> > 8KHz, which play nicely on my computer (Mandriva 2006) w/o any
> > problem, using all the software I could find.
>
> What is all this software you could find? Care to name examples?
KDE multimedia (arts and everything that uses it), sox,
gstreamer.
XMMS which I checked after I've read your email doesn't play these
files, OTOH.
> > Now I want to convert them to MP3 so they will take less space (and
> > I could put them back on the device and have some more room for
> > music) -
>
> I am pretty sure this encoding is well-compressed, unlike many other
> wav files you have seen, and therefore you won't gain anything by
> this unless you also intend to lower the quality considerably.
The quality is already low, but the bit rate is pretty high compared to
an equivalent quality MP3 - its currently at about 1MB pre minute,
which is what I expect from a 44.1KHz medium quality (128KBit/sec)
stereo MP3 track, but its an 8KHz mono which shouldn't be more then
24KBit/sec (and probably 8 will do). Using Oded Shimon's method lame
encodes the files to 8kbps (automatically selected) which compresses to
aout 25% of the original IMA_ADPCM size.
> You might want to try using one of the "all the software you could
> find" that has an option to save to a file somehow (wav or otherwise)
> and convert this output.
None that I tried (except sox) had an option to output to file (I know
gstreamer should have MP3 encoding capabilities, but I couldn't figure
out how to enable it). I tried XMMS which I know has a convenient wav
output driver, but it wouldn't play the files.
> If none has, but you happen to realize e.g.
> that a common factor to all is that they use libsndfile (sox
> doesn't), you might want to try one of its example programs (I never
> did), e.g. in the debian package sndfile-programs.
Writing new software is out of scope for me on this issue, as I'm sure
it is possible to do it with the tools I have available - and
apparently it is, as Oded Shimon's suggestion worked for me.
Thanks for the help and suggestions - it got me to try more stuff that i
didn't think about initially.
-- Oded ::.. Sorry, no quote today. ================================To unsubscribe, send mail to linux-il-request_at_linux.org.il with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Sat 21 Jan 2006 - 01:54:00 IST