How to change audio tempo and pitch individuality using ffmpeg?

You can use the atempo filter in ffmpeg 1.0 and later:

ffmpeg -i input.wav -f:a atempo=1.25 output.wav

atempo only accepts values between 0.5 and 2.0, but you can bypass the limitation by chaining multiple filters:

ffmpeg -i input.wav -f:a atempo=2,atempo=1.5 output.wav

Leave a Comment