So I had a clip I wanted to upload to a lemmy comment:

  • Tried it as an (avc) mp4… Failed.
  • OK, too big? I shrink it to 2MB, then 1MB. Failed.
  • VP9 Webm maybe? 2MB, 1MB, failed. AV1? Failed.
  • OK, fine, no video. Lets try an animated AVIF. Failed. It seems lemmy doesn’t even take static AVIF images
  • WebP animation then… Failed. Animated PNG, failed.

End result, I have to burden the server with a massive, crappy looking GIF after trying a dozen formats. With all due respect, this is worse than some aging service like Reddit that doesn’t support new media formats.

For reference, I’m using the web interface. Is this just a format restriction of lemmy.world, or an underlying software support issue?

    • brucethemooseOP
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      21 days ago

      Test:

      EDIT: Seems to work! Didn’t realize I could embed videos like that, there’s no shortcut in the browser UI.

      • I_Fart_Glitter
        link
        fedilink
        arrow-up
        2
        ·
        21 days ago

        I’m on Mlem (Mobile) through lemmy.world and you post looks like this:

        Everyone else’s in this thread looks fine though.

            • brucethemooseOP
              link
              fedilink
              arrow-up
              2
              ·
              20 days ago

              I figured. Works for me on desktop linux too.

              AV1 support is just one more of those things Apple has been dense about.

    • jabathekek@sopuli.xyz
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      21 days ago

      Doesn’t work for me:

      No video with supported formate and MIME type found.

      code "validate-file-size"

      msg "Resonse body larger than size limit"

      *on sopuli.xyz

      It works on my lemmy.ca account tho, but only after I enable java scripts for the video embeds.

    • brucethemooseOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      21 days ago

      Yeah, I guess a link is fine, but can I embed them somehow?

      EDIT: Embedding seems to work.

      • Snot Flickerman@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        21 days ago

        You generally can embed them the same way as you would a gif with the ![](url) format

        That’s how I just embedded this mp4. ![](https://files.catbox.moe/ppcrz0.mp4) Works fine on desktop/web, is a bit broken for phone apps, depending on the app.

        • brucethemooseOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          21 days ago

          Still, maybe Lemmy.world (and other instances?) should allow uploading of videos that are about the size of images. Maybe a limit of 768KB?

          • Snot Flickerman@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            21 days ago

            You should probably talk to the devs, as I’m pretty sure this is just how Lemmy works. It’s not very format-friendly, on any instance. But then I think they want to center text as more important than images/video.

            Also, storage space is expensive, so I think they’re trying to minimize impact to admins who have a bunch of throwaway media uploaded to their servers to be viewed once and then never again.

            • brucethemooseOP
              link
              fedilink
              arrow-up
              2
              ·
              21 days ago

              Github issue then? M, okay.

              That’s a great thing about Lemmy I suppose, there’s somewhere to go to discuss features that isn’t a black hole, lol.

  • Ludrol@szmer.info
    link
    fedilink
    arrow-up
    2
    ·
    20 days ago

    I had no problems uploading animated webp so this is propably Lemmy.world limitation

    • brucethemooseOP
      link
      fedilink
      arrow-up
      1
      ·
      20 days ago

      Interesting. That’s what I was afraid of.

      I guess I need to make a Lemmy.world support thread for that?

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    21 days ago

    I’ve only seen the .gif file format functions when embedded on Lemmy, but I also only really use an app to browse. And uploading one can be a PITA because there is a file size limit on most instances that is pretty small. Linking to them off-site and then just adding an exclamation point (!) at the front of the link will embed it. Like so:

    ![](http://example.link.image/)