Skip to content

Instantly share code, notes, and snippets.

@zisra
Created August 6, 2024 20:34
Show Gist options
  • Save zisra/5648071e1a5e506d87b69d599f2b097d to your computer and use it in GitHub Desktop.
Save zisra/5648071e1a5e506d87b69d599f2b097d to your computer and use it in GitHub Desktop.
for f in *.webm; do ffmpeg -i "$f" -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" "${f%.webm}.mp4"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment