Created
December 5, 2023 15:17
-
-
Save x86demon/ef12530e947311b4398ed2ab3fa71892 to your computer and use it in GitHub Desktop.
Compress all videos in folder
This file contains 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
#!/bin/sh | |
for i in *.mp4; do ffmpeg -i "$i" -vcodec libx265 -crf 28 "compressed/$i";done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment