You are viewing a single thread.
View all comments
35 points

ffmpeg -i file.webp file.png

permalink
report
reply
5 points

It works?!

permalink
report
parent
reply
8 points

Pretty sure ffmpeg is just black magic at this point.

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
9 points
*

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

permalink
report
parent
reply
2 points

Weird that it can’t get the format from that .gif extension

permalink
report
parent
reply
3 points

ffmpeg -i file.webp file.mp4 probably works, ffmpeg is mainly a video program anyway

permalink
report
parent
reply
3 points

Not yet supported, unfortunately: https://trac.ffmpeg.org/ticket/4907

permalink
report
parent
reply

Memes @ Reddthat

!memes@reddthat.com

Create post

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

  • No NSFW content
  • No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia. Code of Conduct.
  • Be respectful, especially when disagreeing. Everyone should feel welcome here.
  • No porn.
  • No Ads / Spamming.

Community stats

  • 351

    Monthly active users

  • 194

    Posts

  • 3K

    Comments