Skip to content

Instantly share code, notes, and snippets.

@F1LT3R
Created June 29, 2023 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save F1LT3R/5b8ec4480fb4165015b8d4619f9e3864 to your computer and use it in GitHub Desktop.
Save F1LT3R/5b8ec4480fb4165015b8d4619f9e3864 to your computer and use it in GitHub Desktop.
Batch extract MP3 audio from a directory of MP4 videos in a single terminal command with ffmpeg.
for i in *.mp4; do ffmpeg -i "$i" "${i%.*}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment