Skip to content

Instantly share code, notes, and snippets.

@ThomasLeister
Created July 24, 2014 08:24
Show Gist options
  • Save ThomasLeister/0d5e0b0423af5664b375 to your computer and use it in GitHub Desktop.
Save ThomasLeister/0d5e0b0423af5664b375 to your computer and use it in GitHub Desktop.
Converts MP4 video files to MP3 audio files via ffmpeg
#!/bin/sh
for f in *.mp4;
do
echo "Processing $f"
ffmpeg -i "$f" "output/${f%}.mp3"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment