|
Demiurge
|
2024-04-06 12:23:03
|
which is possible by defining a macro during compile
|
|
2024-04-06 12:25:05
|
Unfortunately, I don't think the complicated build system is sophisticated enough at present to build a v6 and v8 version of the library at the same time.
|
|
2024-04-06 12:26:31
|
I'll take a closer look at it later, I guess. If you need any help or suggestions writing a PKGBUILD I'm happy to help out.
|
|
|
Quackdoc
|
2024-04-06 12:28:03
|
I just hacked away on the libjxl one until I got this
|
|
2024-04-06 12:28:49
|
commenting out the below should replace libjpeg sufficently enough
```
install -Dm644 "${srcdir}/build/tools/cjpegli" -t "${pkgdir}/usr/bin"
install -Dm644 "${srcdir}/build/tools/djpegli" -t "${pkgdir}/usr/bin"
```
|
|
|
Demiurge
|
2024-04-06 12:56:06
|
I made a few improvements to the libjxl pkgbuild. speeding it up by using system libraries and fetching less stuff in the thirdparty folder.
|
|
2024-04-06 12:57:44
|
I think libjpeg could be added to the same pkgbuild as it's own split package with it's own package function. Just like libjxl-doc package.
|
|
2024-04-06 12:58:19
|
Anyways, I think I really cleaned up the libjxl pkgbuild a lot.
|
|
2024-04-06 12:58:42
|
I will add libjpeg as a split package on a later date.
|
|
2024-04-06 12:59:25
|
I haven't shared the changes I made with anyone yet, however.
|
|
2024-04-06 01:05:01
|
There's a lot of bureaucracy it looks like, to submit any patches or suggestions to the official packages, despite how poorly written most of the official pkgbuilds are
|
|
2024-04-06 01:06:01
|
the aur simply does not have a package like that right now
|
|
2024-04-06 01:06:35
|
by default I think the API level is set to 62
|
|
2024-04-06 01:06:41
|
in the current build system
|
|
2024-04-06 01:06:59
|
but this can be changed by redefining a macro during the build process
|
|
2024-04-06 01:07:17
|
it looks like it actually does support api level 80
|
|
2024-04-06 01:07:55
|
based on my examination of the code.
|
|
2024-04-06 01:08:10
|
but, I am not an expert on the libjpeg API so there might be some unfinished parts
|
|
2024-04-06 01:08:20
|
or some compatibility problems I mean
|
|
2024-04-06 01:08:56
|
I would not be able to recognize that, if there was
|
|
2024-04-06 01:09:20
|
not without studying the api more first
|
|
|
sklwmp
|
2024-04-07 02:44:05
|
You can configure jpegli to output version 8, I do that on Arch so i can inject it into programs
|
|
2024-04-07 02:44:16
|
although I don't have my pc atm to find the command
|
|
2024-04-07 02:44:50
|
it was just a CMake config iirc
|
|
|
Demiurge
|
2024-04-07 04:51:04
|
yeah, it would be nice if there was a libjpeg package
|
|
|
_wb_
|
2024-04-09 12:14:32
|
https://digitalfrontier.com/articles/jpeg-xl-avif-google-apple-safari-chrome-battle
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-04-09 03:57:53
|
<:PepeSad:815718285877444619>
|
|
|
Quackdoc
|
2024-04-09 04:21:17
|
[painpekora](https://cdn.discordapp.com/emojis/1074490715872170034.webp?size=48&quality=lossless&name=painpekora)
|
|
|
jonnyawsom3
|
2024-04-11 12:08:34
|
Jyrki already tweeted about it, but this blog post is honestly baffling....
https://hackaday.com/2024/04/07/jpegli-googles-better-jpeg-and-possible-death-knell-for-webp/
|
|
2024-04-11 12:10:43
|
"based on AVIF"
"a successor to JXL"
|
|
2024-04-11 12:10:59
|
<:NotLikeThis:805132742819053610>
|
|
|
damian101
|
|
yoochan
|
|
Jyrki already tweeted about it, but this blog post is honestly baffling....
https://hackaday.com/2024/04/07/jpegli-googles-better-jpeg-and-possible-death-knell-for-webp/
|
|
2024-04-11 12:15:09
|
alléluia ! I found a nice comment : https://hackaday.com/2024/04/07/jpegli-googles-better-jpeg-and-possible-death-knell-for-webp/#comment-6748157
|
|
|
|
afed
|
|
yoochan
|
2024-04-11 12:21:58
|
the rebutal which follows is fast, short and sharp 😄
|
|
2024-04-11 12:23:15
|
the only advantage of QOI seems to be that script kiddies can understand the format in less than 1 hour
|
|
|
Fox Wizard
|
|
Jyrki already tweeted about it, but this blog post is honestly baffling....
https://hackaday.com/2024/04/07/jpegli-googles-better-jpeg-and-possible-death-knell-for-webp/
|
|
2024-04-11 12:26:27
|
This article is so bad that it wouldn't even surprise me if it's AI generated lmfao
|
|
|
sklwmp
|
2024-04-11 12:26:32
|
> a new encoder and decoder library that promises to be highly compatible with JPEG.
it literally outputs JPEG files
> Jpegli uses heuristics developed for JPEG XL, making it more of a JPEG XL successor (or improvement).
> Jpegli incorporates advancements from AVIF
how do you end up contradicting yourself within 5 sentences
|
|
|
Fox Wizard
|
2024-04-11 12:26:56
|
"Based on the benchmarks from 2012 by [Blobfolio] between JPEG XL, AVIF and WebP" <:kekw:808717074305122316>
|
|
|
sklwmp
|
2024-04-11 12:27:26
|
oh ffs not Blobfolio again
|
|
|
yoochan
|
|
Fox Wizard
"Based on the benchmarks from 2012 by [Blobfolio] between JPEG XL, AVIF and WebP" <:kekw:808717074305122316>
|
|
2024-04-11 12:28:46
|
the link shows 2021, must be a typo here
|
|
|
Fox Wizard
|
2024-04-11 12:29:21
|
Few sentences and not even noticing a typo like that is very disappointing
|
|
|
Quackdoc
|
|
Jyrki already tweeted about it, but this blog post is honestly baffling....
https://hackaday.com/2024/04/07/jpegli-googles-better-jpeg-and-possible-death-knell-for-webp/
|
|
2024-04-11 12:29:35
|
There are times like these that become really difficult to restrain my 2000's 2010's inner linus
|
|
|
Fox Wizard
|
2024-04-11 12:29:39
|
And linking to an old article is also disappointing <:KekDog:884736660376535040>
|
|
|
jonnyawsom3
|
|
yoochan
the only advantage of QOI seems to be that script kiddies can understand the format in less than 1 hour
|
|
2024-04-11 12:30:21
|
My friend made a PNG decoder years ago thinking 'it can't be that hard'
Now they just say no when I ask about JXL xD
Although... They did make the DCT encoder in a screenspace Unity Shader the past week too.... (Yes it runs slow, but not as slow as you'd expect)
|
|
|
w
|
2024-04-11 12:35:31
|
articles under that name could all be ai generated
|
|
|
HCrikki
|
2024-04-11 12:48:27
|
researching subjects is dead... nowadays writers just rewrite each others' wrong first impressions until you end up with ridiculous generational loss after the 6th homework rewrite
|
|
2024-04-11 12:51:41
|
no wonder though, news tend to be selfcontained and theres usually no points of contact for more information of any kind. no contact this email for more information, check for more on this central website, or need help integrating this in your software? contact this specific hotline - commercial support available too!
|
|
|
|
afed
|
2024-04-11 12:52:40
|
ai models are trained on ai generated content <:Stonks:806137886726553651>
|
|
|
w
|
2024-04-11 12:54:14
|
spread misinformation <:Stonks:806137886726553651>
|
|
|
HCrikki
|
2024-04-11 12:54:14
|
earliest coverage of jxl should ideally be seeded through partner media. this way early birds get rewarded for insideship and direct ecosystem's further commentary
|
|
|
w
|
2024-04-11 12:54:15
|
<https://hackaday.com/author/mayaposch/>
|
|
2024-04-11 12:54:27
|
wow hackaday is just garbage
|
|
|
spider-mario
|
|
HCrikki
researching subjects is dead... nowadays writers just rewrite each others' wrong first impressions until you end up with ridiculous generational loss after the 6th homework rewrite
|
|
2024-04-11 12:58:31
|
so like a game of telephone?
|
|
2024-04-11 12:59:30
|
fun, mostly unrelated (?) fact: a 2020 study found that in such a setup, autistic-only and non-autistic-only chains were similarly accurate, but mixed chains not as much: https://journals.sagepub.com/doi/10.1177/1362361320919286
|
|
2024-04-11 01:00:11
|
> These results challenge the diagnostic criterion that autistic people lack the skills to interact successfully. Rather, autistic people effectively share information with each other. Information transfer selectively degrades more quickly in mixed pairs, in parallel with a reduction in rapport.
|
|
|
jonnyawsom3
|
|
spider-mario
> These results challenge the diagnostic criterion that autistic people lack the skills to interact successfully. Rather, autistic people effectively share information with each other. Information transfer selectively degrades more quickly in mixed pairs, in parallel with a reduction in rapport.
|
|
2024-04-11 01:37:42
|
OS interoperability not natively supported
|
|
|
Demiurge
|
2024-04-12 09:23:48
|
Who is blobfolio?
|
|
|
Fox Wizard
|
|
Demiurge
Who is blobfolio?
|
|
2024-04-12 09:34:19
|
They write dumb stuff like this <:KekDog:884736660376535040> https://blobfolio.com/2021/jpeg-xl/
|
|
|
Demiurge
|
2024-04-12 09:34:44
|
Oh lmao
|
|
|
VcSaJen
|
2024-04-12 01:39:02
|
That was on the first page of Google for a while
|
|
|
|
Posi832
|
2024-04-12 02:27:29
|
Their FLAC article is nice tho
|
|
|
Demiurge
|
2024-04-13 12:20:01
|
What do they say about flac? No practical use whatsoever?
|
|
|
Lock
|
2024-04-13 12:38:32
|
i sure do love storing raw pcm files on my disk with no compression and no metadata
|
|
|
spider-mario
|
2024-04-13 07:41:27
|
there's an argument to be made for WavPack
|
|
|
Demiurge
|
2024-04-13 10:03:07
|
Wavpak is cool but flac is faster...
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-04-13 10:03:33
|
and wider support
|
|
|
Demiurge
|
2024-04-13 10:03:39
|
Yep
|
|
2024-04-13 10:03:58
|
It's not bad though
|
|
2024-04-13 10:04:09
|
It's cool
|
|
|
Fox Wizard
|
|
TheBigBadBoy - 𝙸𝚛
and wider support
|
|
2024-04-13 11:35:37
|
Says mr variable blocksize <:trolldoge:1200049081880432660>
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-04-13 11:35:57
|
true <:kekw:808717074305122316>
|
|
2024-04-13 11:42:52
|
I mean
it's in the spec, why don't everyone supports it? <:KekDog:805390049033191445>
|
|
|
Fox Wizard
|
2024-04-13 11:52:04
|
Because they're allergic to max efficiency flac? <:KekDog:884736660376535040>
|
|
|
Demiurge
|
2024-04-13 01:17:40
|
Yeah, that's why it's good for other formats to exist even if it's not immediately obvious right away why you would use it
|
|
2024-04-13 01:18:45
|
It's a very nice codec even if flac is usually what you want instead
|
|
2024-04-13 01:20:20
|
Or, you know, you can just convert it to 24 bit int, and lose nothing of value.
|
|
2024-04-13 01:20:57
|
As long as you are careful to avoid clipping
|
|
2024-04-13 01:21:30
|
Or any other mistakes during conversion
|
|
|
spider-mario
|
2024-04-13 03:25:20
|
iirc, WavPack also supports more channels
|
|
|
Demiurge
|
2024-04-13 03:48:12
|
Really? I understand flac supports a lot of channels
|
|
|
spider-mario
|
2024-04-13 04:47:06
|
flac supports up to 8 channels
|
|
2024-04-13 04:47:10
|
wavpack, up to 255
|
|
2024-04-13 04:48:10
|
(a need for more than 8 channels might sound outlandish, but: https://github.com/google/tabuli )
|
|
|
Demiurge
|
2024-04-13 04:54:02
|
I didn't realize only 8...
|
|
2024-04-13 04:54:14
|
Yikes
|
|
|
|
afed
|
2024-04-13 04:55:04
|
and 32-bit fp
flac just 32-bit int and only in the most recent version
|
|
|
Demiurge
|
2024-04-13 04:58:39
|
Only 8 channels but you can always use a container format like matroska or ogg and use several separate flac streams
|
|
2024-04-13 04:58:53
|
But that isn't the same thing exactly
|
|
2024-04-13 05:21:42
|
Sounds like a severely limited format. But >99% of the time it's probably what you want
|
|
|
|
afed
|
|
afed
ai models are trained on ai generated content <:Stonks:806137886726553651>
|
|
2024-04-15 03:07:18
|
https://www.tomsguide.com/ai/ai-image-video/adobe-firefly-used-thousands-of-midjourney-images-in-training-its-ethical-ai-model
|
|
|
Meow
|
2024-04-22 04:02:28
|
https://beebom.com/what-is-jpegli-explained/
|
|
2024-04-22 04:03:36
|
What Does Jpegli Mean for the Web?
Nothing. The web, for the most part, has adopted WebPs.
|
|
2024-04-22 04:04:30
|
So, will the web start using Jpegli soon? No, because it has already adopted WebPs for the most part.
|
|
2024-04-22 04:05:00
|
🤨
|
|
2024-04-22 04:07:44
|
Those artwork websites I know even don't accept WebP
|
|
|
190n
|
2024-04-22 04:11:35
|
isn't jpegli better than webp
|
|
2024-04-22 04:11:54
|
maybe only with xyb
|
|
|
Meow
|
|
190n
isn't jpegli better than webp
|
|
2024-04-22 04:22:18
|
Lossy WebP
|
|
2024-04-22 04:24:11
|
And it can beat WebP without XYB
|
|
2024-04-22 04:26:39
|
With XYB it is just worse than JXL at mid to high quality https://giannirosato.com/blog/post/jpegli-xyb/
|
|
|
Demiurge
|
2024-04-24 09:06:12
|
Nobody uses webp
|
|
2024-04-24 09:06:36
|
It's literally considered cursed by most people I have seen
|
|
2024-04-24 09:06:57
|
Don't go near webp users or you might get what they have too
|
|
|
Quackdoc
|
|
Oleksii Matiash
|
|
Demiurge
Nobody uses webp
|
|
2024-04-24 09:32:46
|
Android uses 😔
|
|
|
yoochan
|
2024-04-24 09:39:17
|
many websites use webp !
|
|
|
Meow
|
|
Demiurge
It's literally considered cursed by most people I have seen
|
|
2024-04-24 10:00:20
|
The most popular term for WebP is generally "how to convert WebP to JPEG/PNG"
|
|
|
spider-mario
|
|
yoochan
many websites use webp !
|
|
2024-04-24 10:02:02
|
`dozens!!.gif`
|
|
|
Meow
|
2024-04-24 10:31:57
|
Some local news websites use WebP too
|
|
|
lonjil
|
2024-04-24 10:38:24
|
Discord uses webp
|
|
|
LMP88959
|
|
HCrikki
|
2024-04-24 12:19:02
|
like avif its almost exclusively a final delivery format served by CDNs - doomed to be completely abandoned in favour of the Next Big Thing unless you go with a futureproof workflow or keep your bloated originals forever
|
|
|
jonnyawsom3
|
2024-04-24 12:39:39
|
I have one friend who seems to exclusively get AVIF in google images, every single time they try to copy paste into discord I hear "What the hell is that!?" swiftly followed by deleting the message and saying nevermind
|
|
|
HCrikki
|
2024-04-24 12:47:02
|
issue is really google webmasters tools, lighthouse and equivalent basically ordering webmasters to use those formats instead of incentivizing lower filesizes for images. if those were honest or at least vendor neutral the recommendations would not stress webmasters so frequently they turn their websites into apps and tell google search to shove it
|
|
|
_wb_
|
2024-04-24 12:49:06
|
yes some of the tools are really annoying, I remember them saying we're doing it wrong because we serve jpegs that can be 4:4:4 or 4:2:0 depending on what the image needs, and the google tool says you have to use 4:2:0 or you're bad at image optimization
|
|
2024-04-24 12:51:22
|
which would be fine if it would be just a harmless tool giving bad advice, but webdevs take such tools quite seriously for a good reason when they come from Google: what the tools say could very well affect SEO, and SEO is critical
|
|
|
Demiurge
|
2024-04-24 05:41:57
|
Web pee
|
|
|
Meow
|
2024-04-24 06:18:34
|
I've seen Nintendo providing .jp2
|
|
|
Haggets
|
|
Meow
https://beebom.com/what-is-jpegli-explained/
|
|
2024-05-01 07:04:36
|
https://youtube.com/shorts/MoaVS1gp8MQ?si=HsfqjCdOoS6g2vA0
|
|
2024-05-01 07:04:40
|
Painful
|
|
2024-05-01 07:04:51
|
<:you:1216046797211045998>
|
|
2024-05-01 07:05:02
|
Why can't google just adopt jxl like Apple
|
|
|
username
|
2024-05-01 07:06:09
|
some of the comments are even more painful
|
|
|
Haggets
|
2024-05-01 07:07:15
|
Only reasonable person
|
|
2024-05-01 07:08:02
|
I'm so glad Apple is much bigger than Google, because it means Google will eventually be forced to adopt it
|
|
2024-05-01 07:08:12
|
As much as I'm not a fan of Apple
|
|
2024-05-01 07:09:19
|
These comments are so nice
|
|
|
username
|
2024-05-01 07:10:43
|
I can very much see a reality where Google still does not adopt JPEG XL into chromium, I think Mozilla/Firefox will play a very big factor into things but sadly Mozilla doesn't care
|
|
|
Haggets
|
2024-05-01 07:13:30
|
Yeah it still stings so much they didn't even give it a chance
|
|
2024-05-01 07:14:05
|
Chrome they must have had their reason, as flawed, terrible, unpopular and unreasonable it may be. I guess they really just want to keep webp or whatever
|
|
2024-05-01 07:14:25
|
But Firefox has no excuse, it's so sad to see
|
|
|
username
|
2024-05-01 07:15:00
|
wait do you know the full story of what happened with Chrome?
|
|
|
Haggets
|
|
username
|
|
Haggets
Nope
|
|
2024-05-01 07:25:42
|
It's a bit much to type out but uhh basically:
Chrome got fully featured complete support for JPEG XL but disabled by default, then a bunch of companies and other individuals both inside and outside the web space such as Adobe, Facebook, Intel, Shopify, and a few others come out on the issue page saying they want Chrome to enable support by default with some of them even saying that AVIF did not fit or work for their needs, then after that Chrome announced it was removing support for JPEG XL with a vague list of reasons that didn't make sense, then many people including some of the original companies wanting JPEG XL support came out and where confused about the removal, then after multiple months of nothing but silence from Chrome they decided to respond to the backlash with data and tests from "the AVIF team" saying it was the reason for the removal despite the data not seeming to have existed until the backlash and the data while not technically false was constructed and organized in such a way to try and make AVIF seem better then JPEG XL as a whole.
|
|
2024-05-01 07:28:05
|
it seems to be almost entirely an issue of power with those having the final say being active participants in supporting or developing AVIF
|
|
|
HCrikki
|
2024-05-01 07:30:08
|
chrome has ways for website to forcefully activate specific flags (so *websites* rather than *users* test features that are normally disabled by default - origin trials iinm) but this wasnt done for jxl thus feedback from real sites did not even exist.
origin trials are available for firefox and edge too
|
|
2024-05-01 07:40:03
|
https://developer.chrome.com/origintrials/#/trials/active
|
|
|
Meow
|
|
Haggets
These comments are so nice
|
|
2024-05-01 03:47:21
|
Isn't FLIF replaced by FUIF replaced by JPEG XL?
|
|
|
username
|
2024-05-01 03:48:12
|
correct
|
|
|
Redo11
|
|
Haggets
These comments are so nice
|
|
2024-05-01 05:00:11
|
avif works, flif is superseeded by jpeg xl, where is QOI?
|
|
|
Meow
|
2024-05-01 05:01:46
|
They don't know it's quite ok
|
|
|
LMP88959
|
2024-05-01 05:03:27
|
QOI is fast but barely efficient
|
|
2024-05-01 05:03:55
|
it's essentially a filter on data to make it more compressible in byte oriented codecs
|
|
2024-05-01 05:04:30
|
so the speed almost gets negated by the fact that you need a second compression step to get decent lossless rates
|
|
|
Meow
|
2024-05-01 05:07:00
|
It's also fun that QOI can be compressed externally pretty well
|
|
2024-05-01 05:08:13
|
Behind JPEG XL and WebP but better than PNG, AVIF, HEIC...
|
|
|
Redo11
|
2024-05-01 05:12:21
|
i can see QOI for data sets, so you can read and analyze them faster
|
|
|
Quackdoc
|
2024-05-01 05:49:58
|
QOI has insane speed:compression it's good enough that I was legitimately considering it as a lossless intermediate, but in the end went with EXR for a myraid of reasons, still looking forwards to JXL
|
|
|
yoochan
|
|
LMP88959
QOI is fast but barely efficient
|
|
2024-05-01 05:56:40
|
QOI is simple, not fast, for equivalent compression levels jpegXL is faster 😄
|
|
|
Quackdoc
|
2024-05-01 05:58:48
|
is it? I've only experienced that when using `faster_decoding=3` which blows up the size a good chunk
|
|
|
yoochan
|
2024-05-01 06:12:58
|
according to this : https://cloudinary.com/blog/jpeg-xl-and-the-pareto-front cjxl -d0 -e1 compresses twice better for a slightly higher speed for non photos
|
|
2024-05-01 06:13:47
|
for photographic images it states : Not shown on the chart is QOI, which clocked in at 154 Mpx/s to achieve 17 bpp, which may be “quite OK” but is quite far from Pareto-optimal, considering the lowest effort setting of libjxl compresses down to 11.5 bpp at 427 Mpx/s (so it is 2.7 times as fast and the result is 32.5% smaller).
|
|
2024-05-01 06:14:35
|
I guess cjxl makes a better use of threads
|
|
|
Quackdoc
|
2024-05-01 06:25:30
|
disregarding encode speed since I don't really care about that, the size difference of a music video ripped from youtube is
```ps
➜ Videos l | rg -i seq
.rw-r--r-- 557M quack 1 May 14:20 unison-seq-jxl.nut
.rw-r--r-- 1.2G quack 1 May 14:19 unison-seq-qoi.nut
``` which is a big win for jxl but the time difference```ps
➜ Videos time ffmpeg -hide_banner -loglevel error -i unison-seq-qoi.nut -f null /dev/null
ffmpeg -hide_banner -loglevel error -i unison-seq-qoi.nut -f null /dev/null 15.63s user 0.64s system 866% cpu 1.878 total
➜ Videos time ffmpeg -hide_banner -loglevel error -i unison-seq-jxl.nut -f null /dev/null
ffmpeg -hide_banner -loglevel error -i unison-seq-jxl.nut -f null /dev/null 117.78s user 9.42s system 815% cpu 15.605 total
```and inside mpv```ps
➜ Videos time mpv --profile=bench unison-seq-jxl.nut
...
mpv --profile=bench unison-seq-jxl.nut 119.70s user 8.80s system 759% cpu 16.921 total
➜ Videos time mpv --profile=bench unison-seq-qoi.nut
...
mpv --profile=bench unison-seq-qoi.nut 15.40s user 2.15s system 359% cpu 4.881 total
```
|
|
|
yoochan
according to this : https://cloudinary.com/blog/jpeg-xl-and-the-pareto-front cjxl -d0 -e1 compresses twice better for a slightly higher speed for non photos
|
|
2024-05-01 06:25:46
|
which is a massive difference, especially when you bring that into an NLE
|
|
2024-05-01 06:27:30
|
ill encode the faster_decoding one now, it's a bit more annoying since ffmpeg doesnt support custom options
|
|
|
Tirr
|
2024-05-01 06:29:36
|
you mean the decoding speed, right? libjxl e1 is a rare case that encoding is *way* faster than decoding
|
|
|
Quackdoc
|
2024-05-01 06:32:25
|
encode speed is still slower then qoi, qoi is extremely fast encoding, this is encoding in ffmpeg
```ps
➜ Videos time ffmpeg -hide_banner -loglevel error -i unison.mkv -t 00:00:20 -c:v libjxl -distance 0 -effort 1 -f null /dev/null
ffmpeg -hide_banner -loglevel error -i unison.mkv -t 00:00:20 -c:v libjxl 0 151.74s user 134.17s system 505% cpu 56.584 total
➜ Videos time ffmpeg -hide_banner -loglevel error -i unison.mkv -t 00:00:20 -c:v qoi -f null /dev/null
ffmpeg -hide_banner -loglevel error -i unison.mkv -t 00:00:20 -c:v qoi -f nul 15.06s user 0.46s system 864% cpu 1.795 total
```
|
|
|
Tirr
|
2024-05-01 06:32:29
|
like:
```console
$ cjxl -d 0 -e 1 ~/jxl/3_orig.png test.jxl
JPEG XL encoder v0.10.2 4da4b9a2 [AVX2,SSE4,SSE2]
Encoding [Modular, lossless, effort: 1]
Compressed to 28629.2 kB (9.670 bpp).
5787 x 4093, 702.137 MP/s [702.14, 702.14], , 1 reps, 12 threads.
$ djxl --disable_output test.jxl
JPEG XL decoder v0.10.2 4da4b9a2 [AVX2,SSE4,SSE2]
Decoded to pixels.
5787 x 4093, 197.895 MP/s [197.89, 197.89], , 1 reps, 12 threads.
```
|
|
|
Quackdoc
|
2024-05-01 06:37:36
|
results for faster_decoding=3 it is a lot faster then without it (it scales way better which I didn't show here for simultaneous decodes) but it's still not near qoi
```ps
➜ Videos time mpv --profile=bench unison-seq-jxl-fd.nut
...
mpv --profile=bench unison-seq-jxl-fd.nut 65.15s user 12.69s system 543% cpu 14.331 total
➜ Videos time ffmpeg -hide_banner -loglevel error -i unison-seq-jxl-fd.nut -f null /dev/null
ffmpeg -hide_banner -loglevel error -i unison-seq-jxl-fd.nut -f null /dev/nul 64.05s user 5.19s system 749% cpu 9.241 total
```
|
|
2024-05-01 06:48:20
|
huh I just checked the size and faster_decoding is smaller lol
```ps
.rw-r--r-- 554M quack 1 May 14:35 unison-seq-jxl-fd.nut
.rw-r--r-- 557M quack 1 May 14:20 unison-seq-jxl.nut
.rw-r--r-- 1.2G quack 1 May 14:19 unison-seq-qoi.nut
```
|
|
|
yoochan
|
|
Quackdoc
which is a massive difference, especially when you bring that into an NLE
|
|
2024-05-01 06:56:47
|
I was speaking of -e 1 encoding... can you set the effort with ffmpeg ?
|
|
|
Quackdoc
|
2024-05-01 06:57:21
|
it was encoded using `ffmpeg -i unison.mkv -t 00:00:40 -c:v libjxl -distance 0 -effort 1 unison-seq-jxl.nut`
|
|
|
yoochan
|
2024-05-01 06:58:13
|
my bad, I don't know why it's slow with ffmpeg... can't use threads ?
|
|
|
Quackdoc
|
2024-05-01 07:00:28
|
ffmpeg libjxl will use all threads availible
|
|
|
yoochan
my bad, I don't know why it's slow with ffmpeg... can't use threads ?
|
|
2024-05-01 07:09:05
|
it's not slow "with ffmpeg" it's just plain slower, this is a for loop which is going to be slower, but you can see this still takes quite a while with djxl
```ps
➜ jxl-seq /usr/bin/time -p bash -c "for i in *.jxl; do djxl $i --disable_output 2&>1; done > /dev/null"
real 32.13
user 103.41
sys 65.22
```
|
|
2024-05-01 07:09:43
|
962 frames/images
|
|
2024-05-01 07:10:35
|
ah it's 900 frames/images I had a blank file and the first line of `l`
|
|
|
Meow
|
2024-05-01 07:35:37
|
Need to know that QOI encoder uses one thread only
|
|
2024-05-01 07:37:26
|
And the benchmark was tested with M3 Pro 12-core
|
|
|
monad
|
|
yoochan
my bad, I don't know why it's slow with ffmpeg... can't use threads ?
|
|
2024-05-01 10:08:05
|
In my experience, e1 encoding is faster with multithreading disabled.
|
|
|
HCrikki
|
2024-05-02 12:25:33
|
https://vale.rocks/blog/JPEG_XL_And_Googles_War_Against_It
|
|
|
monad
|
2024-05-02 01:00:42
|
> Super fast encoding and decoding.
> Resilient against generational loss.
prove it
|
|
|
yoochan
|
|
monad
> Super fast encoding and decoding.
> Resilient against generational loss.
prove it
|
|
2024-05-02 05:04:23
|
With gaborish turned off 😅
|
|
|
w
|
|
yoochan
|
2024-05-02 05:48:32
|
Gaborish is useful and has room for improvement, let's keep it
|
|
|
w
|
2024-05-02 05:48:51
|
no
|
|
2024-05-02 05:48:54
|
proof?
|
|
|
eddie.zato
|
2024-05-02 06:48:28
|
In some of my tests `--gaborish=0` on the same `-d` usually gives smaller file size, but more differences from the original according to butteraugli. So I guess it's not that simple.
|
|
|
yoochan
|
|
w
proof?
|
|
2024-05-02 07:26:02
|
proof there is room from improvement ? quotes from devs 😄 I don't slander 😝
|
|
|
w
|
2024-05-02 07:26:30
|
proof it's useful
|
|
2024-05-02 07:26:33
|
i have proof it's not
|
|
|
_wb_
|
|
w
i have proof it's not
|
|
2024-05-02 12:29:24
|
something other than the generation loss issue it causes?
|
|
|
Meow
|
|
HCrikki
https://vale.rocks/blog/JPEG_XL_And_Googles_War_Against_It
|
|
2024-05-02 04:10:49
|
It's a war between Mountain View and Zürich
|
|
|
Demiurge
|
2024-05-02 10:30:13
|
America and especially California has some of the world record setting dumbest people on this planet, no slander :) I know this because I was born there and I'm currently there right now.
|
|
|
damian101
|
2024-05-03 04:01:40
|
Why even care about generation loss beyond, let's say, 10 generations? I don't see any relevance beyond few generations of reencoding, as even something like 50 generations won't ever happen in practice.
|
|
|
yoochan
|
2024-05-03 05:12:06
|
Generation loss act like a magnifying glass on encoding errors, it is not the generation loss per see which is a huge problem but what it shows... Even if, meme might by screenshotted and encoded more than once 😅
|
|
|
eddie.zato
|
2024-05-03 05:34:28
|
Some image hosting services transcode images when you upload them. F.e., imgur. You upload an image and someone downloads it in 2nd gen. Then uploads it to their account - 3rd gen. And so on. If an image becomes popular, like some meme, it can degrade very noticeably.
|
|
2024-05-03 05:47:05
|
|
|
|
Oleksii Matiash
|
|
eddie.zato
Some image hosting services transcode images when you upload them. F.e., imgur. You upload an image and someone downloads it in 2nd gen. Then uploads it to their account - 3rd gen. And so on. If an image becomes popular, like some meme, it can degrade very noticeably.
|
|
2024-05-03 05:51:05
|
I'd say *all* services with little exceptions
|
|
|
Meow
|
|
Why even care about generation loss beyond, let's say, 10 generations? I don't see any relevance beyond few generations of reencoding, as even something like 50 generations won't ever happen in practice.
|
|
2024-05-03 06:10:31
|
When a meme photo is shared across different platforms under different qualities
|
|
|
w
|
2024-05-03 06:18:24
|
my main issue is the advertising
|
|
2024-05-03 06:18:32
|
stop saying it's generation loss resilient
|
|
|
Meow
|
2024-05-03 06:32:09
|
Possibly better than lossy WebP
|
|
|
yoochan
|
|
w
stop saying it's generation loss resilient
|
|
2024-05-03 06:56:03
|
https://m.youtube.com/watch?v=8zdSKzLvsGA it was
|
|
|
w
|
2024-05-03 06:57:14
|
only when gaborish is off
|
|
|
|
afed
|
2024-05-03 07:08:53
|
any filtering is bad for generation loss, heavy filtering is even worse (which is what most video based codecs use)
but good for hiding artifacts, blockiness, and such
jxl at least has options to disable such things and uses not that much and not such strong filters, also lossy modular should be pretty resistant to generation loss
|
|
|
yoochan
|
2024-05-03 07:28:01
|
can you prove there is no ungaborish() function such as gaborish(ungaborish()) ~= identity ? 😄
|
|
|
_wb_
|
|
w
stop saying it's generation loss resilient
|
|
2024-05-03 07:40:45
|
It can be generation loss resilient. But it depends on the encoder. And I do think we should make the encoder do something better by default in this respect.
|
|
|
w
|
2024-05-03 07:41:41
|
like disabling gaborish?
|
|
|
damian101
|
|
yoochan
Generation loss act like a magnifying glass on encoding errors, it is not the generation loss per see which is a huge problem but what it shows... Even if, meme might by screenshotted and encoded more than once 😅
|
|
2024-05-03 07:58:19
|
Yes, I understand that. We did something similar for testing studio audio equipment, coaxial studio speaker and measurement microphone in an anechoic chamber, same signal passed through many times.
An issue with such an approach is that some types of artifacts will add up perfectly, while others will not, scaling differently in perceivability with every generation...
|
|
|
Meow
When a meme photo is shared across different platforms under different qualities
|
|
2024-05-03 08:00:50
|
That situation is actually not tested here... It makes a potentially huge difference whether identical encoding settings are used each time or not...
|
|
|
Quackdoc
|
2024-05-03 08:04:20
|
gaborish love, let the haters hate
|
|
|
jonnyawsom3
|
|
eddie.zato
Some image hosting services transcode images when you upload them. F.e., imgur. You upload an image and someone downloads it in 2nd gen. Then uploads it to their account - 3rd gen. And so on. If an image becomes popular, like some meme, it can degrade very noticeably.
|
|
2024-05-03 08:14:35
|
A real world example I found a few months ago
|
|
|
_wb_
|
|
w
like disabling gaborish?
|
|
2024-05-03 08:16:24
|
Maybe disabling it below some distance makes sense. But I think it's useful in the "main range" of distances (d1-d3). The current encoder side introduces too much generation loss though.
|
|
|
yoochan
|
2024-05-03 08:23:28
|
would it be a huge performance impact to use a 7x7 kernel for the GaborishInverse ?
|
|
2024-05-03 08:28:23
|
and I can't find the forward gaborish coefficients 😅
|
|
|
_wb_
|
2024-05-03 08:36:16
|
no idea how much slower 7x7 would be compared to the current 5x5
|
|
|
yoochan
|
2024-05-03 08:37:00
|
classical deconvolution takes indeed more "space" than convolution...
|
|
|
_wb_
|
2024-05-03 08:37:09
|
currently the encoder is always either using no gaborish (when gaborish is turned off) or it is using the default gaborish (signaling the default weights for the decoder)
|
|
|
yoochan
|
2024-05-03 08:37:16
|
but other methods seems to exists like https://projet.liris.cnrs.fr/imagine/pub/proceedings/ECCV-2014/papers/8693/86930033.pdf
|
|
|
_wb_
|
2024-05-03 08:37:58
|
it would probably make sense to have gaborish weights proportional to the distance instead of using fixed ones like we do now
|
|
2024-05-03 08:38:33
|
(i.e. at d3 you may want to do something stronger than at d0.3)
|
|
|
yoochan
|
2024-05-03 08:38:40
|
also
|
|
2024-05-03 08:39:32
|
if I understand you apply gaborish on all pixels not only block boundaries ?
|
|
|
_wb_
|
2024-05-03 08:39:43
|
yes it's all over the image
|
|
2024-05-03 08:40:28
|
but in particular also across group boundaries, justl ike epf — which matters to avoid subtle seams
|
|
|
yoochan
|
2024-05-03 08:41:11
|
the paper quoted above speak of deconvolutions kernels of up to 51 pixel wide for a simple gaussian 😄 their solution looks nice but hard to grasp
|
|
|
|
afed
|
2024-05-03 08:42:14
|
yeah, gaborish should be much weaker on higher qualities
|
|
|
_wb_
|
2024-05-03 08:44:02
|
also we don't really want dec_gaborish(enc_gaborish(image)) ~= image, we want dec_gaborish(dec(enc(enc_gaborish(image))) ~= image
|
|
2024-05-03 08:44:49
|
which means that even if we keep using a fixed dec_gaborish for now, you may still want to do something distance-dependent in the enc_gaborish
|
|
2024-05-03 08:46:19
|
as distance goes to 0, dec(enc) is supposed to go to the identity so for low distances enc_gaborish should aim to just approximate the inverse of dec_gaborish
|
|
2024-05-03 08:46:48
|
but for higher distances, maybe something else works better
|
|
|
yoochan
|
2024-05-03 08:52:24
|
I see
|
|
|
Meow
|
2024-05-03 09:49:20
|
The Gaborish War
|
|
2024-05-04 08:08:50
|
https://news.ycombinator.com/item?id=40243203
|
|
2024-05-04 08:09:08
|
What's his position?
|
|
|
Quackdoc
|
2024-05-04 08:17:28
|
the original article has some massive `wut` takes
|
|
2024-05-04 08:18:02
|
it also presents information in a super bias way
|
|
|
HCrikki
|
2024-05-06 04:12:38
|
PDF week stars today in tokyo (online attendance available).
the imaging model and hdr-capable image formats will be discussed first thing in monday may 5 and 6
|
|
2024-05-06 04:26:29
|
could be but not that i know of
|
|
|
Meow
|
2024-05-10 05:14:44
|
> JpegXL team
> Transfer the development to other people, you are not competent, the project is not moving forward and is infested with bugs.
> You are useless and are committing sabotage (possibly paid) to implement this standard in everyday life. The standard was removed from the Chrome browser because of you, because of too long development and protracted work to eliminate bugs in the implementation.
https://github.com/libjxl/libjxl/issues/3560
<:PepeHands:808829977608323112>
|
|
|
Quackdoc
|
|
Meow
> JpegXL team
> Transfer the development to other people, you are not competent, the project is not moving forward and is infested with bugs.
> You are useless and are committing sabotage (possibly paid) to implement this standard in everyday life. The standard was removed from the Chrome browser because of you, because of too long development and protracted work to eliminate bugs in the implementation.
https://github.com/libjxl/libjxl/issues/3560
<:PepeHands:808829977608323112>
|
|
2024-05-10 05:17:11
|
when its this kind if mental deficiency, block and ignore is best
|
|
|
Meow
|
2024-05-10 05:31:28
|
Don't tell the person that WebP took 10 years to complete the implementation among all major web browsers
|
|
2024-05-10 07:10:08
|
Also interesting that the issue is nothing to do with JPEG XL
|
|
|
TheBigBadBoy - 𝙸𝚛
|
|
Quackdoc
when its this kind if mental deficiency, block and ignore is best
|
|
2024-05-10 07:10:55
|
Couldn't we delete it ?
Well you might say he'll be back for more [⠀](https://cdn.discordapp.com/emojis/654081052108652544.webp?size=48&quality=lossless&name=av1_Hmmm)
|
|
|
_wb_
|
2024-05-10 07:25:55
|
I've hidden the comment for being off-topic (it has nothing to do with the issue he is commenting on)
|
|
2024-05-10 07:49:54
|
it's also not a very nice nor useful comment — if he knows "other people" who are "competent" and can make progress / fix bugs, they're welcome to join the effort.
|
|
|
jonnyawsom3
|
2024-05-10 08:44:54
|
That's the joy of open source, you *can't* transfer development when everyone already is a developer
|
|
|
yoochan
|
2024-05-10 11:51:10
|
I see him as someone having high expectations, which is nice, but not knowing how to behave, which is sad... If only he was competent, he would have contributed
|
|
|
sklwmp
|
|
Meow
> JpegXL team
> Transfer the development to other people, you are not competent, the project is not moving forward and is infested with bugs.
> You are useless and are committing sabotage (possibly paid) to implement this standard in everyday life. The standard was removed from the Chrome browser because of you, because of too long development and protracted work to eliminate bugs in the implementation.
https://github.com/libjxl/libjxl/issues/3560
<:PepeHands:808829977608323112>
|
|
2024-05-10 02:07:03
|
somehow this comment is giving me flashbacks to the xz backdoor
|
|
|
Traneptora
|
|
Meow
> JpegXL team
> Transfer the development to other people, you are not competent, the project is not moving forward and is infested with bugs.
> You are useless and are committing sabotage (possibly paid) to implement this standard in everyday life. The standard was removed from the Chrome browser because of you, because of too long development and protracted work to eliminate bugs in the implementation.
https://github.com/libjxl/libjxl/issues/3560
<:PepeHands:808829977608323112>
|
|
2024-05-10 02:35:26
|
regarding the issue itself, it's a 1-bit grayscale PNG
|
|
2024-05-10 02:35:28
|
which may be relevant
|
|
|
Meow
|
2024-05-10 02:42:03
|
Interesting. Another issue related to greyscale
|
|
2024-05-10 02:46:38
|
I still wonder if the bad performance related to screentone is an issue
|
|
|
jonnyawsom3
|
2024-05-14 10:38:28
|
I think the awnser here is, it depends
|
|
2024-05-14 10:39:06
|
If you try to use splines, see you in 10 years.
If you just do an effort 1 lossless, see you after a week
|
|
|
lonjil
|
|
Tirr
|
2024-05-14 10:52:21
|
vardct is fast enough, modular can be quite slow. whether it's complicated is... well, I think it's a relative thing. jxl has more features and complexity than, say jpeg1 or png, but no more complicated than avif imo
|
|
|
jonnyawsom3
|
2024-05-14 10:53:05
|
Nothing does
|
|
|
LMP88959
|
2024-05-14 03:57:42
|
oh ive heard of the xdsopl guy before
|
|
2024-05-14 04:17:40
|
strange to lump J2K and JXL together
|
|
2024-05-14 04:18:10
|
J2K is used in the film industry but yeah other than that and medical imaging it doesnt see much use
|
|
2024-05-14 04:19:23
|
+ DWT itself isnt slow, it's the coding of the DWT that can be slow. J2K does bitplane coding, and I looked at xdsopl's project and they do bitplane coding as well which is _slow_ but allows for 'exact file size'
|
|
|
Oleksii Matiash
|
|
LMP88959
J2K is used in the film industry but yeah other than that and medical imaging it doesnt see much use
|
|
2024-05-14 04:47:24
|
I saw j2k in pdfs
|
|
|
LMP88959
|
2024-05-14 04:48:52
|
interesting
|
|
2024-05-14 04:49:12
|
in what way?
|
|
|
_wb_
|
2024-05-14 06:02:05
|
Yes, it's the bitplane coding with funky branchy conditional signaling that makes j2k slow / hard to simd. In the new HTJ2K they replaced that with some more sensible and parallelizeable entropy coding, and that's what gives all the speedups (and also a little bit worse density).
|
|
2024-05-14 06:05:59
|
J2K is designed so encoders can easily produce a bitstream at any given bpp. That's convenient for testing in the traditional way (comparing images at given bpp points), but it is not something you want to do in most actual use cases.
|
|
|
HCrikki
|
|
LMP88959
in what way?
|
|
2024-05-14 06:21:12
|
The browser engines might not support it themselves but their pdf readers support jp2000. In the chrome ecosystem its through pdfium, in firefox and lther apps i presume pdf.js. all it means is no jp2 for websites as th render throu blink and gecko
|
|
|
spider-mario
|
2024-05-14 06:28:35
|
yeah, jpeg 2000 support is mandated by the PDF spec (https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#page=43)
|
|
2024-05-14 06:28:45
|
creating PDFs from jpeg 2000 images is supported by https://pypi.org/project/img2pdf/
|
|
2024-05-14 06:29:14
|
> For JPEG, JPEG2000, non-interlaced PNG and TIFF images with CCITT Group 4 encoded data, img2pdf directly embeds the image data into the PDF without re-encoding it. It thus treats the PDF format merely as a container format for the image data. In these cases, img2pdf only increases the filesize by the size of the PDF container (typically around 500 to 700 bytes). Since data is only copied and not re-encoded, img2pdf is also typically faster than other solutions for these input formats.
|
|
|
yoochan
|
2024-05-14 06:30:01
|
soon jxl in the pdf spec too ?
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-05-14 06:35:04
|
[⠀](https://cdn.discordapp.com/emojis/824558603179524106.webp?size=48&quality=lossless&name=pepepray)
|
|
|
jonnyawsom3
|
2024-05-14 06:35:10
|
The event ended a few days ago, but no word yet https://pdfa.org/pdf-week-tokyo-starts-may-6/
|
|
|
HCrikki
|
2024-05-14 07:16:19
|
Its imo the only thing that makes sense, especially to bring into the future all pdf docs that used jpeg1 yet with guaranteed lower filesizes
|
|
2024-05-14 07:18:01
|
Theres almost as many pdf readers in circulation as browsers or even more, even more ubiquitous as flash player once was
|
|
|
Oleksii Matiash
|
|
HCrikki
The browser engines might not support it themselves but their pdf readers support jp2000. In the chrome ecosystem its through pdfium, in firefox and lther apps i presume pdf.js. all it means is no jp2 for websites as th render throu blink and gecko
|
|
2024-05-14 07:41:46
|
I have pdf with images with such encoding: <</ColorSpace/DeviceGray/BitsPerComponent 8/Width 2266/Length 162218/Height 1793/Intent/RelativeColorimetric/Subtype/Image/Name/X/Filter[/FlateDecode/JPXDecode]>>
But it opens in ff ok, like in a standalone pdf viewer, images are present
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-05-16 09:51:46
|
WTF
> **Request: Re-open JPEG XL issue**
> Changed
> status: New → Obsolete
>
> Status: Won't Fix (Obsolete)
https://issues.chromium.org/issues/40270698
|
|
2024-05-16 09:52:05
|
They really don't want JXL do they......
|
|
|
Meow
|
2024-05-16 09:55:59
|
The new IE
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-05-16 09:58:28
|
and they aren't even explaining anything of why they did that
|
|
|
jonnyawsom3
|
2024-05-16 10:00:43
|
I mean, it is *technically* just a duplicate issue
|
|
2024-05-16 10:12:24
|
This however https://issues.chromium.org/issues/40168998
>>> May 16, 2024 11:09AM
Status: Assigned (reopened)
|
|
|
Quackdoc
|
2024-05-16 10:12:35
|
was just about to post that lol
|
|
|
jonnyawsom3
|
2024-05-16 10:13:23
|
Both got our emails enabled then
|
|
|
Quackdoc
|
2024-05-16 10:14:01
|
yeee buddy
|
|
|
jonnyawsom3
|
2024-05-16 10:32:37
|
Oh, well nevermind
|
|
|
TheBigBadBoy - 𝙸𝚛
|
|
This however https://issues.chromium.org/issues/40168998
>>> May 16, 2024 11:09AM
Status: Assigned (reopened)
|
|
2024-05-16 10:42:28
|
aaand just after
> Changed
> status: Assigned → Obsolete
>
> eu...@chromium.org added comment #437:
> Sorry for the noise.
lol
|
|
|
Quackdoc
|
|
lonjil
|
|
TheBigBadBoy - 𝙸𝚛
WTF
> **Request: Re-open JPEG XL issue**
> Changed
> status: New → Obsolete
>
> Status: Won't Fix (Obsolete)
https://issues.chromium.org/issues/40270698
|
|
2024-05-16 10:57:13
|
Closing duplicate spam issues is normal. Nothing wtf about.
|
|
|
_wb_
|
2024-05-16 11:32:49
|
Somewhat weird that the main issue got reopened and then closed again though, I wonder what that was about.
|
|
|
yoochan
|
2024-05-16 11:40:24
|
were you, jxl devs, ever contacted directly by the chromium dev team about this topic ?
|
|
|
_wb_
|
2024-05-16 11:44:44
|
not me, but I guess if they would contact someone, it would be one of the Google folks
|
|
|
yoochan
|
2024-05-16 12:58:53
|
it slashes hard on the bug tracker : _"I suggest concentrating efforts on improving libjxl and working towards a high quality 1.0 release. As someone who has used libjxl, I didn't find it production ready, which is likely why Google dropped it. Once it is stable and has good performance, they are more likely to consider adding it back in."_
|
|
2024-05-16 12:58:59
|
comment then deleted
|
|
|
Quackdoc
|
2024-05-16 12:59:44
|
xD
|
|
2024-05-16 01:00:14
|
afaik the only real issues with it as a library is it trying to off the entire program when it encounters an issue wasn't it?
|
|
|
_wb_
|
2024-05-16 01:23:57
|
for Chrome that means your tab crashes if libjxl aborts, as opposed to just showing a broken image icon — not the best thing to happen, but could be worse
|
|
|
lonjil
|
2024-05-16 01:26:16
|
don't browsers have separate media decoding processes these days anyway
|
|
|
_wb_
|
2024-05-16 01:29:02
|
I don't think Chrome does, maybe others do
|
|
2024-05-16 01:35:46
|
anyway, the aborts thing was mostly a problem in the encoder, I think the decoder only aborts when it is OOM but that shouldn't really happen easily in the Chrome integration (which uses the pixel callback)
|
|
2024-05-16 01:36:15
|
and the aborts thing is being fixed anyway
|
|
|
Quackdoc
|
2024-05-16 01:36:46
|
oh neat
|
|
|
_wb_
|
2024-05-16 01:40:33
|
> "As someone who has used libjxl, I didn't find it production ready"
This person must have quite high standards. Apple and Adobe apparently consider it production ready (since they're putting it in their products), so I'm a bit curious what aspects of libjxl this person considers "not production ready".
|
|
|
lonjil
|
2024-05-16 01:43:50
|
different users have different needs
|
|
2024-05-16 01:44:15
|
if you sandbox media decoding, aborts all over isn't a problem. if you don't, then all those aborts are a huge PITA.
|
|
|
_wb_
I don't think Chrome does, maybe others do
|
|
2024-05-16 01:44:37
|
Firefox apparently does for video and audio, but I think not for images.
|
|
|
lonjil
different users have different needs
|
|
2024-05-16 01:45:43
|
(also, I think it's rather easy to have higher standards than Apple and Adobe considering how buggy their products can be 😅 )
|
|
|
|
veluca
|
|
_wb_
Somewhat weird that the main issue got reopened and then closed again though, I wonder what that was about.
|
|
2024-05-16 01:52:35
|
AFAIU that was eustas@ having fat fingers 😛
|
|
2024-05-16 01:53:24
|
(IIRC at some point every Google employee used to have also a @chromium address)
|
|
|
jonnyawsom3
|
2024-05-16 02:25:19
|
I was going to say the "eu*@chromium" reminded me of someone... But I didn't want to point the finger haha
|
|
|
VcSaJen
|
|
TheBigBadBoy - 𝙸𝚛
WTF
> **Request: Re-open JPEG XL issue**
> Changed
> status: New → Obsolete
>
> Status: Won't Fix (Obsolete)
https://issues.chromium.org/issues/40270698
|
|
2024-05-16 03:03:53
|
That issue was a duplicate anyway. The original issue still have an open discussion.
|
|
|
_wb_
|
|
lonjil
(also, I think it's rather easy to have higher standards than Apple and Adobe considering how buggy their products can be 😅 )
|
|
2024-05-16 03:39:48
|
Sure, but it's still a bit of a weird argument to say it's not "production ready" enough for Chrome while it apparently is for Safari. I don't think that's the reason why Chrome dropped it. In any case, libwebp and libavif were in a less production ready state imo than libjxl when they were enabled by default, than libjxl was when it was dropped. They both were still making spec changes to the format itself after they got into Chrome, for example.
|
|
|
spider-mario
|
2024-05-16 03:52:20
|
another, major drawback of libwebp and libavif is that the formats they implement are, respectively, webp and avif
|
|
|
lonjil
|
2024-05-16 04:00:55
|
> I don't think that's the reason why Chrome dropped it.
oh, certainly not. Especially with several libjxl devs being available for any problems they might run into.
|
|
|
Foxtrot
|
|
VcSaJen
That issue was a duplicate anyway. The original issue still have an open discussion.
|
|
2024-05-16 06:47:46
|
Sorry, but it's not duplicate.
Original issue was about adding JXL and closed because of low interest in ecosystem. That is basically end of discussion when issue is closed.
I created the new issue to request reopen of the original issue/discussion because state of ecosystem changed and there was new interest which is good reason for renewed discussion.
That is not duplicating.
|
|
2024-05-16 06:55:44
|
But it looks like now they dont want to even keep the discussion open even if there is new interest.
I wonder what "obsolete" mean in this context... Do they mean JXL is already obsolete? Or just that the issue is too old.
|
|
|
username
|
2024-05-16 06:58:11
|
unsure but maybe checking other issues set as "obsolete" could give an idea?
|
|
|
Foxtrot
|
2024-05-16 06:58:29
|
ohh, i found something:
**Won't Fix (Obsolete) The issue is no longer relevant due to changes in the product.**
https://developers.google.com/issue-tracker/concepts/issues
|
|
2024-05-16 06:58:50
|
let me guess... "we already have AVIF so we dont need JXL"
|
|
|
yoochan
|
2024-05-16 07:20:23
|
or : jxl can be decoded with a wasm, hence we don't need to implement it like a real format
|
|
|
_wb_
|
2024-05-16 08:17:10
|
Chrome saying JPEG XL is "no longer relevant" sounds like Bill Gates saying 640 KB of RAM ought to be enough for anyone. I don't think it will age well.
|
|
|
jonnyawsom3
|
2024-05-16 08:18:12
|
Ironically, I'm mostly waiting on Windows to release support
|
|
|
spider-mario
|
|
_wb_
Chrome saying JPEG XL is "no longer relevant" sounds like Bill Gates saying 640 KB of RAM ought to be enough for anyone. I don't think it will age well.
|
|
2024-05-16 08:26:25
|
FWIW, he denies saying that
https://www.wired.com/1997/01/did-gates-really-say-640k-is-enough-for-anyone/
> I've said some stupid things and some wrong things, but not that. No one involved in computers would ever say that a certain amount of memory is enough for all time.
> […]
> I keep bumping into that silly quotation attributed to me that says 640K of memory is enough. There's never a citation; the quotation just floats like a rumor, repeated again and again.
|
|
|
_wb_
|
2024-05-16 08:33:08
|
He may not have said those words, but the 640 KB limit was a real thing back in the DOS days: https://en.wikipedia.org/wiki/Conventional_memory
|
|
|
Demiurge
|
2024-05-17 11:56:02
|
Bill Gates said a lot worse things unrelated to computers he ought to be more embarrassed about
|
|
|
Simulping
|
|
Foxtrot
it says here it accepts contributions, but if you cant make edits as anonymous user i wouldnt call it wiki https://github.com/av1-community-contributors/codec-wiki/tree/main
|
|
2024-05-18 12:57:08
|
"Codec Docs" and "Codec Resources" doesnt really "click" compared to the current name
|
|
2024-05-18 12:57:28
|
but if you come up with something better, do let me know
|
|
|
Foxtrot
|
2024-05-18 01:00:16
|
"Your Guide to All Things Encoding"
I would call it Codec Guide
|
|
|
Quackdoc
|
2024-05-18 01:01:23
|
why wouldn't it be called a wiki if it can't be anonymous, wiki's don't imply anonymity at all
|
|
|
Foxtrot
|
2024-05-18 01:05:30
|
"a website that allows visitors to make changes, contributions, or corrections"
https://www.merriam-webster.com/dictionary/wiki
"A wiki (/ˈwɪki/ ⓘ WI-kee) is a form of online hypertext publication that is collaboratively edited and managed by its own audience directly through a web browser."
https://en.wikipedia.org/wiki/Wiki
So, can I as visitor/audience edit Codec Wiki? Not really. I can only send pull request which is just request to change something which will be checked, corrected and maybe published by team of editors.
|
|
|
Quackdoc
|
2024-05-18 01:07:45
|
so the issue is changes needing verified, there are other wikis that do that too
|
|
2024-05-18 01:07:52
|
a good chunk of fandom wikis
|
|
2024-05-18 01:08:26
|
though I suppose you could implement some kind of poll bot to make it truly community managed
|
|
|
Foxtrot
|
2024-05-18 01:10:58
|
I think people are starting to confuse term "encyclopedia" with "wiki".
Just because something is encyclopedia/docs/guide/resources, it doesnt means it's also a wiki.
Only a specific type of encyclopedia is called wiki.
And if some fandom sites call themselves wiki but not really working like wiki doesnt change what wiki is.
|
|
|
Quackdoc
|
2024-05-18 01:11:04
|
I genuinely don't use wikipedia outside of real basic stuff so I can't comment on that
|
|
|
Foxtrot
|
2024-05-18 01:12:14
|
On wikipedia it's exception used only when absolutely needed. On absolute majority of pages anyone can edit anything. You dont even need account.
|
|
|
Quackdoc
|
2024-05-18 01:13:37
|
at the very least, needing an account is still really common
|
|
|
Foxtrot
|
2024-05-18 01:14:45
|
Yeah, I guess if anyone can make account and start editing straight away it's still in spirit of what wiki means.
|
|
|
Quackdoc
|
2024-05-18 01:16:37
|
I don't think no verification is necessary for a wiki, in the end if managed by own audience is the core of the issue, just make it possible for other members to verify/vote
|
|
|
w
|
2024-05-18 01:17:46
|
everyone disagrees that it is a wiki
|
|
2024-05-18 01:17:50
|
give up
|
|
|
Quackdoc
|
|
Foxtrot
|
2024-05-18 01:22:11
|
I just made account on Fandom.com and looks like some wikis are more "open" than others.
Marvel wiki has everything semi-locked and you need to wait 4 days to be autoconfirmed and be able to edit. https://community.fandom.com/wiki/Help:User_rights#Autoconfirmed_users
Horror wiki allows editing straight away.
|
|
2024-05-18 01:24:22
|
But you could say that anyone can just wait a few days and then you can edit whatvever you want.
|
|
2024-05-18 01:25:35
|
Problem is if you call wiki something where people just send suggestions and editor team decides what goes and what not.
I could just create a site, where only I can edit and tell people to send me edits by email and I will pick what I like and publish it. That is definitely not a wiki.
|
|
2024-05-18 01:26:30
|
This almost reminds me when Facebook and US courts tried to decide is Facebook is a platform or media publisher.
|
|
|
|
afed
|
2024-05-18 01:27:59
|
btw
<https://www.rxddit.com/r/OutOfTheLoop/comments/14bbttq/whats_going_on_with_gaming_communities_moving/>
https://youtu.be/qcfuA_UAz3I?t=145
|
|
|
Quackdoc
|
2024-05-18 01:28:00
|
well, in the end they could always just add an auto merge bot
|
|
|
Foxtrot
|
2024-05-18 01:28:24
|
If I remember correctly it was like this:
platform: anyone can publish anything and if it violates rules it will be deleted after when someone reports it, Site is not responible for content of users
media publisher: people send content to editors that decide if they publish it or not, Site it then responsible for content
|
|
2024-05-18 01:30:29
|
but whatever, I dont really care it they rename themselves or not... it's just interesting discussion about meaning of word "wiki"
|
|
|
VcSaJen
|
2024-05-18 02:33:21
|
Wikis are Web 2.0.
|
|
|
lonjil
|
2024-05-18 02:35:08
|
the first wiki was launched in the 90s
|
|
2024-05-18 02:35:14
|
wikis are web 1.0
|
|
|
VcSaJen
|
2024-05-18 02:43:32
|
A thing can exist before the term for a thing was invented. Google App Engine existed before "serverless" term was invented, but it IS serverless.
|
|
|
yoochan
|
2024-05-18 04:25:39
|
"Web 2.0 (also known as participative (or participatory)[1] web and social web)[2] refers to websites that emphasize user-generated content, ease of use, participatory culture and interoperability (i.e., compatibility with other products, systems, and devices) for end users. " by this definition wiki ARE a tool of the web 2.0
|
|
|
Meow
|
2024-05-19 04:28:25
|
The earlier wiki, the easier to support image formats. I let my UseModWiki support JXL
|
|
|
HCrikki
|
2024-05-22 06:24:12
|
firefox is doing an upcoming AMA on reddit to discuss how its shaped.
maybe make some noise there about the jxl patches needing to be merged and jxl enabled out of the box in the developper and nightly editions
|
|
2024-05-22 06:25:10
|
jxl support request had been trending for years on their ideas site and given the code already works efficiently and safely it could be a quick win for firefox mindshare
|
|
2024-05-22 06:27:22
|
https://connect.mozilla.org/t5/discussions/here-s-what-we-re-working-on-in-firefox/td-p/57694
|
|
|
w
|
2024-05-22 09:46:23
|
wow tabs and menus and AI and still 5 years behind in half of the css and js W3C standards
|
|
|
Crite Spranberry
|
2024-05-23 12:20:46
|
If the internet was 15 years behind in web standards it was a lot better
|
|
|
Demiurge
|
2024-05-23 11:20:11
|
https://connect.mozilla.org/t5/ideas/idb-p/ideas/tab/most-kudoed
|
|
|
Meow
|
2024-05-23 03:32:56
|
JPEG XL is the sixth most popular idea
|
|
|
_wb_
|
2024-05-23 03:41:00
|
I bet they will have the manpower only for 5 ideas.
|
|
|
monad
|
2024-05-23 04:27:33
|
you mean n-1 where n is the position of JXL
|
|
|
_wb_
|
2024-05-24 01:32:34
|
https://www.computerweekly.com/blog/CW-Developer-Network/Green-coding-Cloudinary-Could-a-JPEG-successor-render-greener
|
|
|
yoochan
|
2024-05-24 01:34:44
|
nice !
|
|
|
_wb_
|
2024-05-24 01:34:55
|
(mostly written by a ghost writer based on an earlier article I wrote myself: https://unthinking.photography/articles/history-and-environmental-impact-of-digital-image-formats — I reviewed it of course and changed some stuff, but you might notice that it's not fully my writing style)
|
|
|
Meow
|
|
_wb_
https://www.computerweekly.com/blog/CW-Developer-Network/Green-coding-Cloudinary-Could-a-JPEG-successor-render-greener
|
|
2024-05-24 02:10:06
|
Isn't it WebP? It does render greener and greener https://www.youtube.com/watch?v=w7UDJUCMTng
|
|
|
yoochan
|
2024-05-24 02:13:16
|
and as a consequence it uses only the green subpixels ! some energy again saved on OLED displays
|
|
|
_wb_
|
2024-05-24 02:39:27
|
Earlier versions of webp went pinker and pinker: https://www.youtube.com/watch?v=ujBp5B35el4
|
|
2024-05-24 02:41:10
|
something must have had a bias towards rounding stuff up originally, and now has a bias towards rounding stuff down — pink is max value for Cb and Cr, green is min value for Cb and Cr...
|
|
|
VEG
|
|
w
wow tabs and menus and AI and still 5 years behind in half of the css and js W3C standards
|
|
2024-06-05 02:56:01
|
Well, it's not true, you are just biased.
|
|
|
w
|
2024-06-05 02:57:37
|
https://tenor.com/view/reply-ping-discord-thanos-gif-24654532
|
|
|
CrushedAsian255
|
|
w
https://tenor.com/view/reply-ping-discord-thanos-gif-24654532
|
|
2024-06-05 10:06:33
|
ok
|
|
|
HCrikki
|
2024-06-13 01:41:05
|
mozilla leadership will be doing an AMA on reddit about the direction of firefox under the new ceo - *Thursday, June 13, 17:00 - 19:00 UTC*
|
|
2024-06-13 01:44:08
|
anyone wanna signal boost interest in jpeg-xl patches updated and **enabled by default** in Nightly, Developper and eventually Stable and ESR edition or raise awareness of changes since 2022, https://old.reddit.com/r/firefox/
|
|
|
Foxtrot
|
2024-06-13 03:08:13
|
AMA is open. I guess you can start writing questions about JPEG XL 🙂 https://reddit.com/r/firefox/comments/1de7bu1/were_the_firefox_leadership_team_at_mozilla_ama/
|
|
2024-06-13 05:47:19
|
We got answer https://www.reddit.com/r/firefox/s/i7S0Nmbsav
|
|
|
HCrikki
|
2024-06-13 05:48:20
|
thats no answer. jxl is not [fad of current year] - avif doesnt even cover *existing* needs and is not futureproof.
the smoking gun though is that like webp, avif is shipped almost exclusively by CDNs as smaller substitutes for the original images that are JPG and PNG - so both can be ditched anytime in fact, while JXL is futureproof and can losslessly replace all existing JPGs and still has guaranteed lower filesize
|
|
|
jonnyawsom3
|
2024-06-13 05:48:31
|
>>> As folks are probably aware, we took a neutral position on JXL several years ago. It appears to be a great format, but there's a very high and permanent cost to adding new formats to the Web Platform, and it wasn't clear that JXL was \_better enough\_ relative to existing formats to justify that cost.
Over the years, people have been adamant that we add support for various hot new formats, including MNG, JPEG2k, and JPEG XR. We took a relatively conservative approach to each of those, which in retrospect was clearly the right decision.
That said, we certainly don't find the format objectionable and it's not out of the question that we might decide to support it at some point in the future. We do periodically revisit our analysis on evolving technologies like this one, and are always open to changing our mind if the facts suggest we should.
|
|
|
HCrikki
|
2024-06-13 05:49:21
|
additionally, all they need to do is let contributors update the current patches, even if they dont make if enabled by default on any official firefox release made by mozilla
|
|
|
w
|
2024-06-13 05:52:42
|
they dont need to allow that
|
|
2024-06-13 05:52:46
|
i can already do that
|
|
2024-06-13 05:52:48
|
it's just that there's no point
|
|
2024-06-13 05:53:01
|
anyone can make patches
|
|
|
HCrikki
|
2024-06-13 05:53:37
|
why is jxl support bad in nightly then?
|
|
|
w
|
2024-06-13 05:53:53
|
because they dont update it
|
|
2024-06-13 05:54:06
|
they dont review and merge changes
|
|
2024-06-13 05:54:08
|
because they dont want it
|
|
|
HCrikki
|
2024-06-13 05:54:18
|
who's actively going out of their way blocking bug-free working patches known to work well without issue, leaving outdated code in the trunk
|
|
|
w
|
2024-06-13 05:54:48
|
if it's not on the board, it is not going to be looked at
|
|
2024-06-13 05:55:04
|
it's as simple as "there are better things to be working on" even if it is short
|
|
|
Foxtrot
|
2024-06-13 05:55:11
|
At this point Im just glad they even bothered to reply.
|
|
|
w
|
2024-06-13 05:55:33
|
you have to remember they don't do it for free.
|
|
|
Foxtrot
|
2024-06-13 05:56:31
|
Maybe if JXL was written in Rust you could promote it as "memory safe image format" and that is popular these days 🙂
|
|
|
HCrikki
|
2024-06-13 05:56:48
|
integration is a few days' of anyone's time as long as theyre not incompetent.
|
|
|
w
|
2024-06-13 05:56:50
|
it doesnt matter at all
|
|
2024-06-13 05:57:28
|
if it's not what management wants, it will get nothing
|
|
|
HCrikki
|
2024-06-13 05:57:46
|
they get handed out working uptodate patches and neither review, discuss, let people discuss, engage with devs or anything - thats just putting roadblocks
|
|
|
w
|
2024-06-13 05:58:08
|
it's not free to review
|
|
2024-06-13 05:58:10
|
it costs a lot
|
|
|
HCrikki
|
2024-06-13 05:58:23
|
everything of importance about jxl was already done by outsiders not mozilla's dime
|
|
|
w
|
2024-06-13 05:58:35
|
them putting it in and having to manage it costs a lot
|
|
2024-06-13 05:58:55
|
them getting someone to look at it for 10 minutes costs a ton
|
|
2024-06-13 05:59:09
|
because it also means they're not looking at the other thing that they should be looking at
|
|
2024-06-13 06:00:02
|
the ~~other~~ only solution is to pay them to change the priorities
|
|
2024-06-13 06:00:05
|
like google does
|
|
|
HCrikki
|
2024-06-13 06:00:45
|
hardly the blocker you may think it is then
|
|
|
Quackdoc
|
|
Foxtrot
Maybe if JXL was written in Rust you could promote it as "memory safe image format" and that is popular these days 🙂
|
|
2024-06-13 06:01:18
|
jxl oxide is in rust tho
|
|
|
HCrikki
|
2024-06-13 06:02:22
|
the bigger concern though is wether someone is actively trying to *prevent* jxl from being mainstreamed (for browsers at least)
|
|
|
w
|
2024-06-13 06:02:31
|
that's obvious
|
|
2024-06-13 06:02:48
|
ly not
|
|
2024-06-13 06:02:57
|
it's simple economics here
|
|
2024-06-13 06:03:12
|
investors pay for feature
|
|
2024-06-13 06:03:14
|
feature is not jxl
|
|
2024-06-13 06:03:16
|
looks like no jxl
|
|
2024-06-13 06:03:39
|
im 99% sure they dont do whatever they want
|
|
|
HCrikki
|
2024-06-13 06:03:40
|
in interop google zurich already offered to do the very best rust-based integrations for all browsers at their own dime
|
|
2024-06-13 06:03:56
|
i presume with all necessary maintainance for as long as necessary
|
|
|
w
|
2024-06-13 06:04:07
|
standard corporate setting
|
|
|
Quackdoc
|
2024-06-13 06:04:46
|
I still remember when Firefox was a community-oriented project. I miss those times.
|
|
|
w
|
2024-06-13 06:04:56
|
like 15 years ago
|
|
|
HCrikki
|
2024-06-13 06:05:26
|
regarding the reply, there was almost no demand for MNG, JP2 and JXR *anywhere*. for mozilla to claim otherwise is an attempt to imply jxl is a fad
|
|
|
w
|
2024-06-13 06:05:42
|
all the replies are ai generated
|
|
2024-06-13 06:06:03
|
no way would they get real responses
|
|
|
HCrikki
|
2024-06-13 06:08:50
|
they didnt even do any evaluation then or since. its like their entire "position" is based on hearsay, not any kind of research
|
|
2024-06-13 06:11:36
|
i guess thats expected when you lay off the engineers and promote the bluehaired activists
|
|
|
lonjil
|
2024-06-13 06:13:02
|
what are you talking about
|
|
2024-06-13 06:13:17
|
their big layoffs were mostly outside of Firefox engineering...
|
|
2024-06-13 06:14:03
|
and the activism is done by the Mozilla Foundation, which has a separate budget (from donations) from the Moz Corp that develops Firefox (mostly from Google)
|
|
|
w
|
2024-06-13 06:14:25
|
think of it this way
if they looked at this then they'd also have to look at all the other garbage and if they're adding other people's features left and right, it would be more of a bloated mess than it already is
|
|
2024-06-13 06:15:53
|
but yeah nobody is going to pay for that
|
|
2024-06-13 06:16:21
|
it costs like at least 1k for just a full evaluation of a feature
|
|
2024-06-13 06:16:27
|
and that's with 1 person
|
|
2024-06-13 06:16:39
|
I've certainly wasted lots of those
|
|
2024-06-13 06:19:30
|
remember Mozilla hubs?
|
|
|
jjrv
|
2024-06-13 06:36:22
|
libjxl clearly works when compiled to wasm, but it's kind of big, and slow compared to native. The former is fixable if there's a CDN version multiple sites use. WebGPU is coming, how much could it help in decoding?
It's a chicken and egg thing also. Apple did their part but can Wasm + WebGPU advance things from the web app implementation side?
|
|
|
Foxtrot
|
2024-06-13 06:40:06
|
I wonder when AVIF2 arrives if they will also claim that it has no significant benefits so they wont implement it. 😄
|
|
|
jjrv
|
2024-06-13 06:41:13
|
Even if native support appears one day, I bet it's going to be 8-bit and missing HDR and floating point, so a good implementation running in the JS sandbox would remain valuable.
|
|
|
Quackdoc
|
|
jjrv
libjxl clearly works when compiled to wasm, but it's kind of big, and slow compared to native. The former is fixable if there's a CDN version multiple sites use. WebGPU is coming, how much could it help in decoding?
It's a chicken and egg thing also. Apple did their part but can Wasm + WebGPU advance things from the web app implementation side?
|
|
2024-06-13 06:41:34
|
doubt highly that Web GPU will be able to help whatsoever because it's, well, it's GPU.
|
|
|
jjrv
|
2024-06-13 06:48:27
|
GPU is very helpful for JPEG 2000, but not sure if WebGPU is or if it'd need CUDA-only features. JPEG XL I don't know anything about, to even guess if it applies.
I'm just thinking that's one way to gain some speed lost when the code isn't running natively.
|
|
|
lonjil
|
2024-06-13 06:50:39
|
> WebGPU is coming, how much could it help in decoding?
not much, the latency of shuffling data back and forth from the GPU is too high for single images.
|
|
|
Quackdoc
|
|
lonjil
> WebGPU is coming, how much could it help in decoding?
not much, the latency of shuffling data back and forth from the GPU is too high for single images.
|
|
2024-06-13 06:54:03
|
Don't forget we're dealing with wasm, which is really slow, so there's a good chance it would actually help.
|
|
2024-06-13 06:54:07
|
ofc assuming it works
|
|
|
jjrv
|
2024-06-13 06:54:17
|
Well, if the end of the decoding pipeline contains some steps the GPU can do, then it can also blit the result on screen. But if the CPU has to do something per pixel near the end, then it's a total non-starter.
|
|
|
lonjil
|
|
Quackdoc
Don't forget we're dealing with wasm, which is really slow, so there's a good chance it would actually help.
|
|
2024-06-13 06:55:32
|
do you happen to know typical Mpix/s numbers for WASM libjxl?
|
|
|
Quackdoc
|
2024-06-13 06:58:19
|
it was... ok, main issue is filling is locked by other wasm threads decoding
|
|
|
jjrv
|
2024-06-13 07:00:30
|
I'm getting about 2 megapixels per second of 16 bits per channel RGB data, with a single worker thread. It depends a lot on the encoder settings.
|
|
|
lonjil
|
|
Quackdoc
|
2024-06-13 07:07:17
|
i found jxl-oxide wasm to be very Fast. However, I haven't updated the standalone Java one and the one that Tirr has on his demo requires some other crap that makes it a little bit of a pain to deploy wherever.
|
|
|
jjrv
|
2024-06-13 07:21:57
|
What would be the first place to start looking, if I want to understand the jxl decode pipeline? I mean I'm in any case decoding jxl in Wasm and then reprojecting it in WebGL or WebGPU. I'd like to know if there's any steps (let's say XYB color transform or anything) that could be moved from Wasm to shader, then maybe profile them and see if there's anything worth the effort or not.
|
|
|
_wb_
|
|
>>> As folks are probably aware, we took a neutral position on JXL several years ago. It appears to be a great format, but there's a very high and permanent cost to adding new formats to the Web Platform, and it wasn't clear that JXL was \_better enough\_ relative to existing formats to justify that cost.
Over the years, people have been adamant that we add support for various hot new formats, including MNG, JPEG2k, and JPEG XR. We took a relatively conservative approach to each of those, which in retrospect was clearly the right decision.
That said, we certainly don't find the format objectionable and it's not out of the question that we might decide to support it at some point in the future. We do periodically revisit our analysis on evolving technologies like this one, and are always open to changing our mind if the facts suggest we should.
|
|
2024-06-13 07:46:35
|
I replied something on Reddit: https://www.reddit.com/r/firefox/comments/1de7bu1/comment/l8h22m0/?utm_source=share&utm_medium=mweb3x&utm_name=mweb3xcss&utm_term=1&utm_content=share_button
|
|
|
lonjil
their big layoffs were mostly outside of Firefox engineering...
|
|
2024-06-13 07:49:54
|
They did lay off the entire codec team at Mozilla though (the Daala folks, nice people)
|
|
|
lonjil
|
|
_wb_
|
2024-06-13 09:04:13
|
I also replied to this comment: https://www.reddit.com/r/firefox/comments/1de7bu1/comment/l8h74g0/?utm_source=share&utm_medium=mweb3x&utm_name=mweb3xcss&utm_term=1&utm_content=share_button
|
|
|
190n
|
2024-06-13 09:20:13
|
what's the status on abort() in libjxl?
|
|
|
spider-mario
|
2024-06-13 09:20:53
|
in progress
|
|
|
jonnyawsom3
|
|
190n
what's the status on abort() in libjxl?
|
|
2024-06-13 09:29:09
|
https://github.com/libjxl/libjxl/pull/3639
|
|
|
VcSaJen
|
|
w
like google does
|
|
2024-06-14 01:35:59
|
Microsoft offered to pay more than Google. They refused.
|
|
2024-06-14 02:20:08
|
Their whole argument seems be simply "AVIF got released a bit sooner than JPEG XL, so that's why we use it". Even though they were warned that JXL is coming, they were requested not to hurry and evaluate when both are ready.
|
|
2024-06-14 03:10:40
|
Likely there are some hidden incentives from AOM. "If you add this, then you get a no royalties for those patents, discounts for those services, etc". When adoption is higher, they'll change to punitive tactic: "if you don't add this, your search result will be de-ranked, etc".
Those things are not rare at all, they usually get aired to public when the court is investigating unrelated things.
|
|
|
HCrikki
|
2024-06-14 03:32:57
|
odd is how google search, google images and googlebot dont support avif to this day.
from some webmaster circle that videos with avif (?) thumbnails dont get crawled - sounds like a SEO visibility downgrade in fact
|
|
2024-06-14 03:39:36
|
i think theyre under no illusion that jxl is unquestionably the better and more futureproof format. feels these schenaigans were meant to buy time for avif to hopefully get less bad and promote its most current code against outdated snapshots of jxl in tests designed to obtain numbers implying its the better format, with no consideration for what image quality they produce (iirc a jpg-tier mess in the low range noone should use in any scenario)
|
|
|
yoochan
|
2024-06-14 06:30:39
|
<@594623456415449088> you wanted an exemple of "if it's not 1.0 I won't touch it" kind of argument? 😅 Here you are https://discord.com/channels/794206087879852103/822105409312653333/1250918677168259163 ... it doesn't mean it is a good argument
|
|
|
VcSaJen
|
2024-06-14 06:38:11
|
Is it stable, tho? I remember thumbs plugin wasn't updated for a half-year due to changes in API.
|
|
|
A homosapien
|
|
VcSaJen
Is it stable, tho? I remember thumbs plugin wasn't updated for a half-year due to changes in API.
|
|
2024-06-14 07:19:11
|
> "The libjxl API is not going to change drastically. The decode API has been stable for quite a while now (2-3 years)."
\- wb
|
|
|
_wb_
|
2024-06-14 07:56:10
|
There have been some functions where a deprecated (unused) argument has been removed from the signature in December 2023, which did require some applications to make some trivial fixes (remove the unused dummy argument from the function call). Other than that, I don't think there has been any change at all in the decode API in the last 3 years or so (since version 0.4, iirc), only additions.
|
|
|
VcSaJen
|
|
A homosapien
> "The libjxl API is not going to change drastically. The decode API has been stable for quite a while now (2-3 years)."
\- wb
|
|
2024-06-14 09:11:37
|
No offence, but those are weasel words. It's either stable, or not stable.
|
|
|
spider-mario
|
2024-06-14 09:20:03
|
sounds like a false dichotomy
|
|
|
lonjil
|
|
VcSaJen
No offence, but those are weasel words. It's either stable, or not stable.
|
|
2024-06-14 09:25:51
|
it's possible for the decode API to be stable while e.g. the encode API isn't
|
|
|
VcSaJen
|
2024-06-14 09:27:20
|
I wonder if it's possible to write tests that use all public API in most possible ways and then test all commits to automatically count how many times it was broken per year
|
|
2024-06-14 09:28:23
|
I guess tests need to be manually adjusted on breakage, so I guess only the first one will be found
|
|
|
jonnyawsom3
|
2024-06-14 09:30:22
|
Isn't that what the conformance tests kinda already do for every PR?
|
|
|
w
|
|
Foxtrot
|
2024-06-14 09:54:59
|
If API is only changed in backwards compatible way, for example by adding some new features, is it considered stable?
|
|
|
lonjil
|
2024-06-14 09:55:33
|
in the semver sense, yes
|
|
|
spider-mario
|
2024-06-14 09:57:06
|
in that it would be 1.1 -> 1.2 and not 1.1 -> 2.0, right?
|
|
2024-06-14 09:57:41
|
(or 1.1.4 -> 1.2.0 and not 1.1.4 -> 2.0.0, whatever)
|
|
2024-06-14 09:58:23
|
(but also not 1.1.4 -> 1.1.5, because of the additions)
|
|
|
lonjil
|
2024-06-14 10:08:28
|
honestly I don't remember what the rules are for patch-level version bumps in semver
|
|
|
spider-mario
|
2024-06-14 10:10:44
|
I think the rule of thumb I’d go by is that if someone wanted to rely on a specific API, they would want to point to a minor version in their requirements file rather than a patch version
|
|
2024-06-14 10:11:24
|
i.e. they wouldn’t want to write that they require `libjxl>=1.1.5`
|
|
|
_wb_
|
2024-06-14 10:23:21
|
In semver, you are in principle allowed to making breaking changes in any 0.x.x version, i.e. applications should not assume the API is stable. Once you have a 1.0.0, then any breaking change requires bumping up the major version, any new functionality requires bumping up the minor version, and patch versions are only for bugfixes and other non-API-affecting changes.
|
|
2024-06-14 10:58:40
|
In practice, we have stayed at 0.x for now to reserve the option of making breaking changes if those would turn out to be needed, but ever since version 0.3, we have considered the decode API stable in the sense that we have always avoided to make any breaking changes to it — a bunch of new things have been added (similar to minor version bumps in a stable API) but very few things have been broken. If you made a simple decoder that works with libjxl 0.3, then it should still work with the current libjxl — the only breaking changes afaik were the change in signature of `JxlDecoderGetColorAsEncodedProfile` and similar functions (where we had a redundant argument that was deprecated in 0.7 and removed in 0.9) and the removal of the `JXL_DEC_DC_IMAGE` event and functions (which I don't think any application was using anyway) in favor of a more general handling of progressive loading.
We could have called version 0.3 version 1.0 and called it officially stable, but then we would have had to move to 2.0 by now and/or keep some things around that we'd prefer to remove.
|
|
2024-06-14 11:03:34
|
Anyway, I think we will have a 0.11.0 soon that will not introduce any breaking changes, and I think it will have all the major things we wanted to have for 1.0. So maybe there will be a 0.11.1 and 0.11.2 to fix some more small bugs that might get discovered, and then we can have a 1.0 release and finally silence this argument that "libjxl is still experimental and has an unstable API", which I think hasn't been true since 0.4 but as long as we remain at 0.x people will see it like that.
|
|
|
Quackdoc
|
2024-06-14 11:06:28
|
in the end it's just firefox's typical braindead circular logic
|
|
2024-06-14 11:07:45
|
*they said they dont want to add it because "it might need to be removed in the future"
*they said that chrome not adopting may cause it to lead not having major adoption
*they said they can remove codecs that arent adopted by all major browsers
|
|
2024-06-14 11:08:30
|
if chrome does adopt it, it will become a staple and they need to support it anyways, if they dont adopt it, they could "remove it at any time"
|
|
|
lonjil
|
2024-06-14 11:11:13
|
Here's a real argument I made up just now: "our adopting it would make zero difference compared to what Chrome does, so if we add it and they don't, we're just wasting engineer hours, and if they adopt it, we have to adopt it anyway"
|
|
|
Quackdoc
|
2024-06-14 11:12:30
|
heres the thing, firefox still serves they claim 240 million users, this is still a significant number of users
|
|
|
spider-mario
|
|
Quackdoc
in the end it's just firefox's typical braindead circular logic
|
|
2024-06-14 11:13:05
|
I think I might call it something closer to kettle logic (https://www.logicallyfallacious.com/logicalfallacies/Kettle-Logic)
|
|
|
_wb_
|
2024-06-14 11:13:11
|
Yes, that's basically what's going on. Except that they're spending more time of highly-paid executives on coming up with excuses for not adding JXL support, than it would cost in engineer hours to accept the patches that were already tested in various firefox forks.
|
|
|
Quackdoc
|
|
Quackdoc
heres the thing, firefox still serves they claim 240 million users, this is still a significant number of users
|
|
2024-06-14 11:13:30
|
oh sorry, it's 179'000'000 users
|
|
|
VcSaJen
|
2024-06-14 11:13:54
|
They are also unwilling to remove it, either. So it's in a perpetual limbo of half-way implemented state.
On one hand maybe it means that there's hope, on other hand, maybe they don't have enough resources even to remove it.
|
|
|
spider-mario
|
|
lonjil
Here's a real argument I made up just now: "our adopting it would make zero difference compared to what Chrome does, so if we add it and they don't, we're just wasting engineer hours, and if they adopt it, we have to adopt it anyway"
|
|
2024-06-14 11:14:17
|
maybe little difference to jxl, arguably some difference to Firefox’s users (less loading time for high-quality images)
|
|
|
lonjil
|
|
VcSaJen
|
2024-06-14 11:14:24
|
Firefox is 33% of all browser engines. Together with Safari, it's 66%.
|
|
|
Quackdoc
|
|
VcSaJen
Firefox is 33% of all browser engines. Together with Safari, it's 66%.
|
|
2024-06-14 11:14:52
|
well there are still some niche ones out there [av1_dogelol](https://cdn.discordapp.com/emojis/867794291652558888.webp?size=48&quality=lossless&name=av1_dogelol)
|
|
2024-06-14 11:15:03
|
so maybe 32.999% xD
|
|
|
_wb_
|
|
Quackdoc
if chrome does adopt it, it will become a staple and they need to support it anyways, if they dont adopt it, they could "remove it at any time"
|
|
2024-06-14 11:22:31
|
Exactly.
If Chrome adds JXL support, Firefox will have to follow anyway. There will be people using JXL without fallback as soon as it works in Safari and Chrome. Firefox represents 2% of the traffic we see; while we will of course still ensure fallbacks, many web devs won't bother with that.
If Chrome doesn't add JXL support, then the main objection of Firefox ("we will be stuck with it forever so we have to be extremely careful!") evidently does not hold.
|
|
2024-06-14 11:51:58
|
I suppose what bothers me most about the Firefox position is that they pretend to have done their own independent assessment and came to an independent conclusion on the merits of JXL, while in reality I cannot see any evidence that they spent any time whatsoever on doing any kind of technical evaluation (as opposed to what they did back in the early days of webp).
If they would just say "we have no time to make an informed decision, we will just do whatever Chrome does", that would be fine. But now they're effectively allowing Chrome devs to say "look, we're not the only ones who think JXL does not bring enough benefits", while I think Mozilla came to that position only because they believe Chrome's AVIF team (more than they believe basically anyone else who knows something about image formats).
|
|
|
Quackdoc
|
2024-06-14 11:56:26
|
my biggest issue is that firefox still pretends like it's some "community project" that actually cares about it's users
|
|
2024-06-14 11:56:32
|
they dont
|
|
|
yoochan
|
|
_wb_
I suppose what bothers me most about the Firefox position is that they pretend to have done their own independent assessment and came to an independent conclusion on the merits of JXL, while in reality I cannot see any evidence that they spent any time whatsoever on doing any kind of technical evaluation (as opposed to what they did back in the early days of webp).
If they would just say "we have no time to make an informed decision, we will just do whatever Chrome does", that would be fine. But now they're effectively allowing Chrome devs to say "look, we're not the only ones who think JXL does not bring enough benefits", while I think Mozilla came to that position only because they believe Chrome's AVIF team (more than they believe basically anyone else who knows something about image formats).
|
|
2024-06-14 01:54:26
|
my question gave them the opportunity to make an honest and substantiated answer, they preferred to make a politically mangled excuse 😅 it's a fail
|
|
|
_wb_
|
|
yoochan
my question gave them the opportunity to make an honest and substantiated answer, they preferred to make a politically mangled excuse 😅 it's a fail
|
|
2024-06-14 02:43:21
|
is u/IDUnavailable you?
|
|