@111000@reddthat.comM to Memes @ Reddthat@reddthat.com • 2 years agoWhat is .webp exactlyreddthat.comimagemessage-square122fedilinkarrow-up1436arrow-down10
arrow-up1436arrow-down1imageWhat is .webp exactlyreddthat.com@111000@reddthat.comM to Memes @ Reddthat@reddthat.com • 2 years agomessage-square122fedilink
minus-squareAbsentBirdlinkfedilink9•edit-22 years agoYou 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
minus-squareshastaxclinkfedilink2•2 years agoWeird that it can’t get the format from that .gif extension
minus-squareAbsentBirdlinkfedilink3•edit-22 years agoYeah, 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.
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.