Skip to content

Instantly share code, notes, and snippets.

@frankrausch
Last active April 21, 2024 07:06
Show Gist options
  • Save frankrausch/f871b573060b4d0cf34a7d86077e433f to your computer and use it in GitHub Desktop.
Save frankrausch/f871b573060b4d0cf34a7d86077e433f to your computer and use it in GitHub Desktop.
Slow down or speed up all MP3 files in a folder with FFmpeg.
#/bin/sh
speed="0.7"
mkdir "speed-${speed}x"
for f in *.mp3
do ffmpeg -i "$f" -filter:a "atempo=${speed}" "./speed-${speed}x/$f"
done
@ac1982
Copy link

ac1982 commented May 28, 2021

so cool, thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment