Skip to content

Instantly share code, notes, and snippets.

View nonissue's full-sized avatar
💭
¯\_(ツ)_/¯

Andy Williams nonissue

💭
¯\_(ツ)_/¯
View GitHub Profile
@nonissue
nonissue / iPhone_ringtone.sh
Last active November 5, 2018 04:29 — forked from oboje/iPhone_ringtone.sh
Create iPhone ringtone from mp3 using ffmpeg
# Updated so it can handle all files in a directory
# And also, so that it doesn't use the libfaac encoder
for i in *.mp3; do ffmpeg -i "$i" -ac 1 -ab 128000 -f mp4 -c:a aac -y -t 4 "TONE-${i%.*}.m4r"; done