[linux-audio-user] how to un-ipod some m4a songs.

From: paul wisehart <listreader@email-addr-hidden>
Date: Tue Apr 11 2006 - 17:21:09 EEST

On Tue, Apr 11, 2006 at 07:49:59AM -0500, Brian Dunn wrote:
>
> #!/bin/bash
> for i in *.m4a; do
> faad -o - "$i" | lame -m s - -o "${i%m4a}mp3"
> done

I don't know the options to faad or lame well enough to
comment directly, but I use these 2 scripts, and they work well.
Maybe something will present itself.

----script-1----

#!/bin/sh

### cvt_faad.sh ###

FAAD=/usr/bin/faad
for M4A in $(ls *.m4a) ; do
    faad $M4A
done

----script-2----

#!/bin/sh

### cvt_faad.sh ###

FAAD=/usr/bin/faad
for WAV in $(ls *.wav) ; do
    MP3=`basename $WAV .wav`
    MP3="${MP3}.mp3"
    
    CMD="lame -h -b 192 ${WAV} ${MP3}"
    echo "${CMD} ..."
    $CMD
done

-- 
paul    \  /
wisehart >/ 
   <//////$>
    |\|\|\
Received on Tue Apr 11 20:15:01 2006

This archive was generated by hypermail 2.1.8 : Tue Apr 11 2006 - 20:15:02 EEST