Skip to content

Instantly share code, notes, and snippets.

@dominikzogg
Created January 10, 2015 08:55
Show Gist options
  • Save dominikzogg/2e0a3ef9cbe267e94894 to your computer and use it in GitHub Desktop.
Save dominikzogg/2e0a3ef9cbe267e94894 to your computer and use it in GitHub Desktop.
#!/bin/bash
for f in *.mkv ; do ffmpeg -i "$f" -c:v libvpx -b:v 2M -c:a libvorbis "${f%.mkv}.webm" ; done
@dominikzogg
Copy link
Author

1.5M should be enough for original with only med quality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment