Created
June 24, 2025 18:26
-
-
Save georgemandis/4fd62bf5027b7a058f913d5dc32c2040 to your computer and use it in GitHub Desktop.
Speed -up audio with ffmpeg
This file contains hidden or 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
| #!/bin/bash | |
| # Default to 2x speed | |
| speed=${2:-2.0} | |
| # Write to a different output with the speed in the filename | |
| ffmpeg -i "$1" -filter:a "atempo=$speed" -ac 1 -b:a 64k "$1-$speed"x.mp3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment