Skip to content

Instantly share code, notes, and snippets.

@Ickerday
Forked from oboje/iPhone_ringtone.sh
Last active January 13, 2020 20:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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