Created
March 15, 2022 18:48
-
-
Save dhayab/60527172749f86ab33fc5fff261d4088 to your computer and use it in GitHub Desktop.
Convert all gif in current directory to Telegram video stickers (webm)
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
for FILE in *.gif; do | |
docker run -it --rm -v $(pwd):$(pwd) -w $(pwd) jrottenberg/ffmpeg:4.1 -i $FILE -c vp9 -b:v 0 -crf 40 -vf scale=512:-1 ${FILE/gif/webm} | |
; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment