Created
April 26, 2024 06:31
-
-
Save dkam/78695d2272ed3f835f984148b0e7cff4 to your computer and use it in GitHub Desktop.
Create iOS ringtone from mp3
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
ffmpeg -i input.mp3 -c:a aac -b:a 192k -vn output.m4a && mv output.m4a output.m4r | |
# -i input.mp4: Specifies the input video file (replace with your input file path). | |
# -vn: Tells FFmpeg to ignore the video stream. | |
# -c:a aac: Sets the audio codec to AAC. | |
# -b:a 192k: Sets the audio bitrate to 192 kbps (adjust as needed). | |
# output.m4a: Specifies the output M4A file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment