Skip to content

Instantly share code, notes, and snippets.

@krystalcampioni
Created January 30, 2025 18:17
Show Gist options
  • Save krystalcampioni/da533798f16f889789d7d31e96079a9b to your computer and use it in GitHub Desktop.
Save krystalcampioni/da533798f16f889789d7d31e96079a9b to your computer and use it in GitHub Desktop.
for i in *.mp4; do ffmpeg -i "$i" -c:v libvpx-vp9 -b:v 2M -c:a libopus -b:a 128k "${i%.*}.webm"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment