• LostXOR
        link
        fedilink
        79 months ago

        Pretty sure ffmpeg is just black magic at this point.

    • PopShark
      link
      fedilink
      49 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
        link
        fedilink
        9
        edit-2
        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

        • shastaxc
          link
          fedilink
          29 months ago

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

          • AbsentBird
            link
            fedilink
            3
            edit-2
            9 months ago

            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.

      • callyral [he/they]
        link
        fedilink
        English
        39 months ago

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