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:
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
Nah, that makes sense. I’m now trying to use webps instead of gifs, but Lemmy-UI makes some of em randomly crackly (no other UI/app that I’ve found does this), but of course it isn’t consistent and it’s only when using them in posts, not in comments
This animation bugs out even when I just view it in plain browser or in jerboa, looks like a compression problem. Is that a converted gif? The artifacting looks consistent with gif compression rather than webp, so probably the software you’re using to convert it is reading it wrong. Try some of the online converters, maybe this https://cloudconvert.com/gif-to-webp (it’s what I use to convert gifs to mp4)
Do you mean the image above bugs out? That one is always weird, but that’s because it’s the image my instance keeps generating and putting instead of what I ACTUALLY want and put in the URL field, which is this one:
It’s something to do with how Lemmy deals with images and putting up a copy of it instead of just showing the original image or something, I’m not smart enough to fully figure it out
Weird. Did you try through catbox.moe? That’s what I use to post images. I don’t have experience with animated stuff though, sorry.
Yeah, it’s something with Lemmy-UI I’m pretty sure
Thanks though