-
-
Save seltzered/29f72fe182f5e26502acd6a0a89b64a2 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-fdk-aac # Needs ffmpeg with faac encoder | |
ffmpeg -i <input.mp3> -ac 1 -ab 128000 -f mp4 -acodec libfdk_aac -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