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 | |
set -e | |
# IMPORTANT! First install ffmpeg with encoders enabled, i.e. like this: | |
# brew install ffmpeg --with-libvpx --with-libvorbis --with-theora | |
# Will not re-encode files, if output file exists. | |
# Quality settings are configured in encoders' command line parameters below, sorry about that. | |
if [ -z "$1" ]; then |