this post was submitted on 19 Dec 2023
430 points (99.8% liked)
Memes @ Reddthat
1007 readers
3 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
- 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.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
ffmpeg -i file.webp file.png
It works?!
Pretty sure
ffmpeg
is just black magic at this point.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
Weird that it can't get the format from that .gif extension
Yeah, I was looking into that. They use the webp muxer for generating files, but not for decoding. I'm not sure exactly why. That seems to be the reason ffmpeg can generate animated webp, but not read it.
ffmpeg -i file.webp file.mp4
probably works, ffmpeg is mainly a video program anywayNot yet supported, unfortunately: https://trac.ffmpeg.org/ticket/4907
What does priority wish mean?