Created
April 10, 2025 13:16
-
-
Save interactiveRob/b5d385a55528bd636f4d55b4114a35cd to your computer and use it in GitHub Desktop.
Batch FFMPEG compress all files in folder mp4 to webm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in ./*mp4; do ffmpeg -i "$f" -c:v libvpx -crf 8 -b:v 1.5M -c:a libvorbis "compressed/$f.webm"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment