Skip to content

Instantly share code, notes, and snippets.

@dewski
Created March 6, 2012 06:46
Show Gist options
  • Save dewski/1984393 to your computer and use it in GitHub Desktop.
Save dewski/1984393 to your computer and use it in GitHub Desktop.
Convert m4a to mp3
for i in *.m4a; do
y=`echo "$i"|sed -e 's/.m4a/.mp3/'`
ffmpeg -i "$i" -acodec libmp3lame -ab 192 -ac 2 "$y"
done
ffmpeg -i "Song.m4a" -acodec libmp3lame -ab 192 -ac 2 "Song.mp3"
@Kahack999
Copy link

wow it's working

@Kahack999
Copy link

thanks you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment