8 hours ago8 hr 6 minutes ago, maddog107 said:That is even stranger, linux made for webp? What distribution are you using? Our server is RHEL based, but I have a ubuntu laptop. Can you be more specific on what exactly do you normally do? Like what is the workflow? What app(s) are you using that doesnt open webp?https://developers.google.com/speed/webp/downloadI'm starting to think most of my issues are related to running old versions of tools and such. I remember stuff not working with WEBP years ago and simply never tried them again since. These come to mind:1) The old exiftool (version before October 2022) did not fully support WEBP.2) ffmpeg does not fully support WEBPs. Currently still struggles with decoding animated WEBPs, it seems.3) I've used custom scripts to manipulate pictures directly, and they've always assumed JPEG or PNG. I'm sure there are alternatives.4) Obviously my beloved jpegtran does not work on WEBPs...5) Obviously my beloved OptiPNG and PNGCRUSH do not work on WEBPs...But don't worry about me. I can continue to use JPEGs and PNGs locally.
7 hours ago7 hr 6 hours ago, maddog107 said:Yes, our bandwidth bill is thousands a month, we have enabled some flags on our CDN provider to serve WEBP like the rest of the modern web.Who is the server provider/CDN, perhaps we can offer some technical advice.As for webp, converting on the fly over a CDN etc. should be ok, as the source material is preserved. Converting to webp on the source would be losing the original material/quality, which would not allow the conversion to happen in the future, without losing quality :)
6 hours ago6 hr 51 minutes ago, ntuser1 said:Who is the server provider/CDN, perhaps we can offer some technical advice.I believe it's Cloudflare.
6 hours ago6 hr 2 hours ago, zorzabosti said:I'm starting to think most of my issues are related to running old versions of tools and such. I remember stuff not working with WEBP years ago and simply never tried them again since. These come to mind:1) The old exiftool (version before October 2022) did not fully support WEBP.2) ffmpeg does not fully support WEBPs. Currently still struggles with decoding animated WEBPs, it seems.3) I've used custom scripts to manipulate pictures directly, and they've always assumed JPEG or PNG. I'm sure there are alternatives.4) Obviously my beloved jpegtran does not work on WEBPs...5) Obviously my beloved OptiPNG and PNGCRUSH do not work on WEBPs...But don't worry about me. I can continue to use JPEGs and PNGs locally.2 hours ago, zorzabosti said:2) ffmpeg does not fully support WEBPs. Currently still struggles with decoding animated WEBPs, it seems.it should work just fine. Something like ffmpeg -i input.gif -c:v libwebp -loop 0 -q:v 82 output.webp Key flags: - -c:v libwebp — uses the libwebp encoder (supports animation) - -loop 0 — loop forever (like the original GIF) - -q:v — quality (0-100) That is what we are using for the conversion. You should just update your tools to the latest and everythign should work normally except it woudl now support webp.
6 hours ago6 hr 10 minutes ago, maddog107 said:it should work just fine. Something like ffmpeg -i input.gif -c:v libwebp -loop 0 -q:v 82 output.webp Yeah, the latest version of ffmpeg can do most of the WEBP stuff. It's the decoding WEBP animations (WEBP to other formats) that's not yet fully implemented (I think this ticket is still valid). I suppose one could use other tools to convert, then use ffmpeg. So ultimately it's no big problem. And it will only get better. I'll get around to updating... eventually.
5 hours ago5 hr 6 hours ago, Matt! said:I checked a bunch of posts, and it seems to mostly affect the larger files. Could there be some kind of size threshold where, once a file gets large enough, the compression/conversion step gets skipped or fails? Something around 10 MBish, maybe?Damn you good, I should hire you The issue was due to chunked uploads, so even though you are allowed to upload 256mb, nginx and IPB chunk the upload size into multiple little parts if its over 10mb and that path wasnt being used to convert to webp.
5 hours ago5 hr 5 minutes ago, maddog107 said:Damn you good, I should hire you The issue was due to chunked uploads, so even though you are allowed to upload 256mb, nginx and IPB chunk the upload size into multiple little parts if its over 10mb and that path wasnt being used to convert to webp.You can't affr.. You're welcome! Appreciate it Edited 3 hours ago3 hr by Matt!
3 hours ago3 hr @maddog107 I think I might've found a most silly (and surprisingly easy) exploit for clever members to get around the WEBP conversion of their image uploads. The original image is hosted on Bellazon and inside the post, with ipsLightbox zoom in and all. I've sent you a DM with the details 🥷
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.