Created
June 29, 2023 03:05
-
-
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.
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
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