this post was submitted on 10 Jun 2023
79 points (97.6% liked)

Memes

45585 readers
2094 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
top 23 comments
sorted by: hot top controversial new old
[–] Katana314 15 points 1 year ago (1 children)

So, a bit of pedantry that often doesn’t matter but may be useful to be aware of:

We don’t actually want anyone using “GIFs” anymore. It’s a very inferior format that doesn’t load well on phones. It’s a handy term that can refer to silent looping clips - but most of the time even when they’re in use, they’re done as muted video links. Some sites call these GIFVs or whatever else.

So if you have an mp4 video that you think would be funny muted and looping, don’t try to convert it to GIF, just see where you can upload and embed it. Granted, it sounds like Lemmy still has issues on the embedding bit.

[–] [email protected] 1 points 1 year ago

When most ppl say "gif" they mean "mp4" nowadays. Even Telegram just converts all gifs to muted mp4s

[–] [email protected] 12 points 1 year ago (1 children)

After a little of investigating it seems that Lemmy currently unintentionally blocks video files from loading from different sites.
That means that only GIFs (internally handled as mp4 I think) from the same site will load correctly right now.

A fix for this has apparently been implemented 4 days ago, so it just depends on when the fix is officially released (currently in beta for version 0.18) and when your instance updates.

Until then, you'll just have to open the comments or posts on their original site.

[–] NewBrainWhoThis 4 points 1 year ago

Interesting. Thanks for the clarification!

[–] [email protected] 12 points 1 year ago (3 children)

I think you might have better luck uploading them in webp format.

example

[–] [email protected] 6 points 1 year ago (1 children)

I uploaded a gif to lemmy, it seems to pass it to pict-rs and convert it.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)

Yeah, I think the conversion is where it gets messed up. It seems like webp images bypass this conversion step. It is a relatively new format though, so it won't work in old browsers.

Disclaimer - I am not fully up to date on the state of the project:

Pict-rs has to balance a couple of concerns. It's primary purpose is de-duplication, so when the same meme gets uploaded 1000 times, it doesn't get stored 1000 times. Another important purpose is the ability to apply effects like blurs, which are used to mask NSFW content. Blurring a gif with a 255 color limit is kind of infeasible, so they get converted to a more suitable format first (is mp4 more suitable though 🤷). Pict-rs was originally designed around static images, and kind of grew in scope with time. There are probably some edge-cases we're hitting.

[–] [email protected] 2 points 1 year ago (1 children)

Do you see the MP4 playing? I uploaded a plain gif, didn't know it was converted until he posted the screenshot with the error.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

I do not. "No video with supported format and MIME type found." On Firefox 102.11.0esr, Gentoo 64 bit.

If I right-click, inspect element, and paste the URL into a new tab, it does work though. 🤔

[–] [email protected] 1 points 1 year ago

While setting up pict-rs on my cluster I noticed a pict-rs environment variable to convert all uploaded pictures to the png format. That may also be activated. I guess that makes de-duplication way easier.

[–] [email protected] 6 points 1 year ago (2 children)

Doesn’t work for me on the mlem app unfortunately

[–] [email protected] 6 points 1 year ago

Doesn't work on jerboa either

[–] [email protected] 2 points 1 year ago

mlem is very barebones at the moment, I actually switch between the website and the app on mobile.

[–] NewBrainWhoThis 2 points 1 year ago

Ok, I can see this one. But so fare I only ever see GIFs in the comments but not in posts

[–] [email protected] 4 points 1 year ago (1 children)

Same, kinda missing all the videos and gifs from that other place

[–] NewBrainWhoThis 3 points 1 year ago

Yes! Videos and Gifs are essential

[–] [email protected] 4 points 1 year ago (2 children)
[–] NewBrainWhoThis 5 points 1 year ago (1 children)

All I see is this: (Firefox, fresh install)

[–] [email protected] 4 points 1 year ago (2 children)

Interestingly enough, right-clicking to open the image in a new tab seems to work 🤔 (Firefox 114)

[–] NewBrainWhoThis 3 points 1 year ago (1 children)

Yes ... very interesting indeed 🤔

[–] [email protected] 2 points 1 year ago

Also on Firefox and see the same thing. Odd.

[–] [email protected] 1 points 1 year ago

It looks like videos are loaded directly from the original instance instead of being proxied through your home instance. Firefox doesn't like that by default.

[–] [email protected] 2 points 1 year ago

Can't see anything in Jerboa except a rectangle with 'obj' inside of it.

load more comments
view more: next ›