Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create iPhone ringtone from any music format using ffmpeg
$ brew install ffmpeg
$ ffmpeg -i <input.*> -ac 1 -ab 128000 -f mp4 -acodec aac -y -ss <beggining_second> -t <length_in_seconds> output.m4r # Length can't be higher than 30 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment