Created
March 17, 2016 11:25
-
-
Save oboje/4a972475f006bae75cc2 to your computer and use it in GitHub Desktop.
Create iPhone ringtone from mp3 using ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew reinstall ffmpeg --with-faac # Needs ffmpeg with faac encoder | |
ffmpeg -i <input.mp3> -ac 1 -ab 128000 -f mp4 -acodec libfaac -y -ss <beggining_second> -t <length_in_seconds> ringtone.m4r # Length can't be higher than 40 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment