m4a2mp3.sh

Convertir via un bash-script des fichiers audios m4a en mp3

#!/bin/sh
# name of this script: m4a2mp3.sh
# m4a to mp3

for i in *.m4a; do
  faad "$i"
  x=`echo "$i"|sed -e 's/.m4a/.wav/'`
  y=`echo "$i"|sed -e 's/.m4a/.mp3/'`
  lame -h -b 192 "$x" "$y"
  rm "$x"
done


#SOURCE: http://linuxpoison.blogspot.ch/2008/02/script-to-convert-m4a-to-mp3.html
  • info/m4a2mp3.txt
  • Dernière modification: 2018/07/18 09:46
  • par radeff