Convert videos or gifs in to Animated WebP
i’m going to post my 2 commands i use to turn videos or gifs in to animated webp just in case it helps any one.. some times you want to post animated looping stuff on platforms that don’t support looping videos, but gifs are huge, ancient, and limited in colors..
for videos i use this: ffmpeg -i ‘input.mp4’ -vcodec libwebp -lossless 1 -loop 0 -preset default -vsync passthrough -f webp – ‘output.webp’ (the -loop 0 part makes it loop infinity times)
and to convert gifs to animated webp: gif2webp -mt -metadata none -min_size -m 6 -q 100 ‘input.gif’ -o ‘output.webp’
both of these methods should be lossless..
EDIT: okay i tried my video convert command on your video but it seems to make it kind of blurry on some of the frames, so maybe ffmpeg is a bit buggy on webp or some thing..
but i had the gif version of that same image from long time ago that i converted to webp though (which i will now post).. (your video there was probably originally a gif)