Convertir m4a (AAC) en mp3

Solution #1

[code]#!/bin/bash

dump m4a to mp3

requires faad + lame

for i in *.m4a
do
faad -o - “$i” | lame -h -b 192 - “${i%m4a}mp3”
done[/code]

Solution #2

[code]#!/bin/bash

dump m4a to mp3

requires ffmpeg

for i in *.m4a
do
ffmpeg -i “$i” -acodec mp3 -ac 2 -ab 192 “${i%m4a}mp3”
done[/code]

enjoy 8)