Created
January 29, 2023 17:51
-
-
Save niazangels/252bbae1c3fdcdeffe8d4d2fbfb24e00 to your computer and use it in GitHub Desktop.
Compress videos with ffmpeg
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
ffresize(){ | |
for f in *.mp4 ; do ffmpeg -i "$f" -vf scale=854:480 "$f-480p.mp4" ; done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment