ffmpeg -i file.webp file.png
But can it convert animated webp’s back into the gifs they’re based off of anyway? That’s what makes me really hate the webp standard. If I save an animated image as webp no video converter will touch it that I’ve found. I just want my gifs and mp4s back :(
You can convert it to frames with imagemagick, then use ffmpeg to turn that into a gif:
magick animated.webp frames.png
ffmpeg -i frames-%d.png animated.gif
EDIT, or with a single imagemagick command:
convert -format gif file.webp file.gif
ffmpeg -i file.webp file.mp4
probably works, ffmpeg is mainly a video program anyway
Not yet supported, unfortunately: https://trac.ffmpeg.org/ticket/4907