Created
February 18, 2018 11:55
-
-
Save jvanja/c1e81366eeac7ad41413302173b9bae5 to your computer and use it in GitHub Desktop.
Convert all MP4s in current directory to WEBM using FFMPEG
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/bash | |
find "$PWD" -name '*.mp4' -exec sh -c 'ffmpeg -i "$0" -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis "${0%%.mp4}.webm"' {} \; | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment