Created
December 27, 2018 06:11
-
-
Save geolimber/667c8c4aeec540c3c708ef0cd7f82d17 to your computer and use it in GitHub Desktop.
Finds all *.webm files in current folder and subfolders and converts it to mp3 using 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
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