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

From: Brian Dunn <job17and9@email-addr-hidden>
Date: Tue Apr 11 2006 - 17:28:01 EEST

paul wisehart wrote:

>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
>
>
>
>
ok, thanks Paul! your scripts don't yeild hissy files.
I added the -h and -b 192 option to lame one at a time, and the both,
but stll get hissy output from my script.
i wonder if this can be blamed on the use of a pipe? that's beyond me.
I always thought pipes ment cleverness and where as to linux as apple
pie is to the USA. shall i loose faith in ye ole pipe?
Received on Tue Apr 11 20:15:02 2006

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