Created
June 27, 2018 21:35
-
-
Save gdm/5dbab13a28cb985d69780157667532b7 to your computer and use it in GitHub Desktop.
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 FILE in *.webm; do | |
| echo -e "Processing video '\e[32m$FILE\e[0m'"; | |
| ffmpeg -i "${FILE}" -vn -ab 128k -ar 44100 -y "${FILE%.webm}.mp3"; | |
| done; | |
| # find . -type f -iname "*.webm" -exec bash -c 'FILE="$1"; ffmpeg -i "${FILE}" -vn -ab 128k -ar 44100 -y "${FILE%.webm}.mp3";' _ '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment