Skip to content

Instantly share code, notes, and snippets.

@gonaumov
Created September 24, 2021 10:03
Show Gist options
  • Save gonaumov/bbcf70e8332207a9539f82d2b733f94b to your computer and use it in GitHub Desktop.
Save gonaumov/bbcf70e8332207a9539f82d2b733f94b to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
for file in *.webm; do ffmpeg -i "$file" -vf scale=240:-2 "${file%.*}.mp4"; done && echo "All done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment