Created
November 30, 2019 03:00
-
-
Save ChristopherA/fd874f9dc18e2fba8165fce2e6bcc2d6 to your computer and use it in GitHub Desktop.
Convert all mp4 video in current directory to mp3 audio using ffmpeg #audio #video #convert #mp3 #mp4
This file contains 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
#!/bin/sh | |
# Convert all mp4 video in current directory to mp3 audio using ffmpeg | |
for f in *.mp4; do ffmpeg -i "$f" -acodec libmp3lame -ab 192k "${f%.mp4}".mp3; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment