how to un-ipod some m4a songs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 >/ 
   <//////$>
    |\|\|\


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux