1 2 3 4 5 6 7 8
#!/usr/bin/env bash for i in "$@"; do ffmpeg -i "${i}" -f webm \ -c:v libvpx-vp9 \ -crf 32 \ -c:a libopus "${i%.*}.webm" done