this post was submitted on 11 Sep 2023
10 points (100.0% liked)

Lemmy Support

4652 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Whenever I make a post with a link to a gif as the URL, the post on clients like Sync, Liftoff, and Photon all actually show the .gif file in the post so it will play correctly. Whenever I view the post on lemmy-ui (the basic UI) though, sometimes it has some .webm file that was created on the original instance, and to actually get the gif to play you have to click on that or click on the link to the original website. How do I get the behavior on other clients to be the same for lemmy-ui, so the gifs will actually play? it

Example:

Photon Working

Lemmy UI Not Working

Lemmy UI Working

Edit: I don't think it's size, since this gif is smaller in size than this one

Also, here are my .env variables:

PICTRS__MEDIA__VIDEO_CODEC=vp9

PICTRS__MEDIA__GIF__MAX_WIDTH=512

PICTRS__MEDIA__GIF__MAX_HEIGHT=512

PICTRS__MEDIA__GIF__MAX_AREA=262144

PICTRS__MEDIA__GIF__MAX_FRAME_COUNT=500

I increased the values from default to see if that would fix it but no luck

you are viewing a single comment's thread
view the rest of the comments
[–] WhoRoger@lemmy.world 1 points 1 year ago

I'm not against gif in general as a format, nor for the specific use case I mentioned. (Even tho afaik webp or others can do animations and transparency too.)

But you know that when people say "gif" they really mean "short video", and don't know the difference. And so when they are making a short video and saving it, they see "gif" in export options and choose that, because they think that's what it is.

A while ago I was debating with someone who was looking for an optimal way to encode gifs - as actual gif the format - of gameplay videos. Like, several minutes of HD gameplay, and they were using gif for that.

Similar problem is with PNG which people use for just about anything, like screenshots of Instagram posts.

If using more modern, better formats means killing old formats but also making the whole internet faster and me needing less storage space or not needing to go through conversion process every time, and maybe even eventually eliminating the ridiculously overcompressed or 100x recompressed or 8-bit dithered crap that are supposedly images and "gifs" these days, then I'm definitely for it.