276
submitted 9 months ago by 111000@reddthat.com to c/memes@reddthat.com
you are viewing a single comment's thread
view the rest of the comments
[-] callyral@pawb.social 9 points 9 months ago

ffmpeg -i file.webp file.png

[-] MashedTech@lemmy.world 1 points 9 months ago
[-] LostXOR@kbin.social 1 points 9 months ago

Pretty sure ffmpeg is just black magic at this point.

[-] PopShark@lemmy.world 0 points 9 months ago

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 :(

[-] absentbird@lemm.ee 1 points 9 months ago* (last edited 9 months ago)

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

this post was submitted on 19 Dec 2023
276 points (99.6% liked)

Memes @ Reddthat

917 readers
1 users here now

The Memes community. Where Memes matter the most.

We abide by Reddthat's Instance Rules & the Lemmy Code of Conduct. By interacting here you agree to these terms.

Rules

founded 1 year ago
MODERATORS