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

Re: [OT] MP3: Compressioni



Vito wrote:
> int wrote:
> [snip] 
> nada nn funziona, ma a voi funziona? a me appena lo lancio da
> quell'errore :(
> 

Infatti.. ho visto un'altro errore..
Questo dovrebbe andare.. ;O)

---8<----8<----8<-----8<-------8<--------8<--------
find mp3_dir -iname '*.mp3' | while read file
do
      ID_AUDIO_BITRATE=$(echo quit | mplayer -slave -identify \
      -ao null -vo null -nosound -novideo $file 2>/dev/null | \
       grep ID_AUDIO_BITRATE | awk -F "=" '{print $2}')
      [ $ID_AUDIO_BITRATE -ge 128000 ] && cd $(dirname $file) && \
      lame -m s -b 128 $(basename $file)
done
---8<----8<----8<-----8<-------8<--------8<--------

-- 
Saluti By MCM.

<< Unix is the most user friendly system I know, the point is that it is
really selective about who is indeed its friend. >>



Reply to: