JPEG XL

Info

rules 57
github 35276
reddit 647

JPEG XL

tools 4225
website 1655
adoption 20712
image-compression-forum 0

General chat

welcome 3810
introduce-yourself 291
color 1414
photography 3435
other-codecs 23765
on-topic 24923
off-topic 22701

Voice Channels

General 2147

Archived

bot-spam 4380

other-codecs

BlueSwordM
afed does VVC have good lossless compression? or it's yuv lossless and weird source for this example?
2023-06-29 12:35:33
Which encoder did they use?
2023-06-29 12:35:42
If it's VVenC, then it currently doesn't support lossless.
2023-06-29 12:35:50
If it is lossless, I would do some investigation.
_wb_
Traneptora wait what? mpeg-1 is just motion jpeg? that doesn't sound right
2023-06-29 04:48:55
My bad, mpeg-1 was already a 'real video codec' with inter-frame coding tools. I somehow was assuming it was just mjpeg because mjpeg and intra-only mpeg-1 are basically the same thing, but mpeg-1 does also define inter-frames.
Oleksii Matiash
RockPolish I see, I was hoping more that something might exist for h264
2023-06-29 09:10:27
*Some* h.264 can be optimized by replacing CAVLC with CABAC, but as far as I know there is no available tool to do this
Reddit • YAGPDB
2023-06-29 09:14:29
2023-06-29 09:16:14
jonnyawsom3
2023-06-29 09:26:42
Oh, so it has a setting to specifically be better in testing
afed
BlueSwordM If it's VVenC, then it currently doesn't support lossless.
2023-06-29 12:34:18
there are only encoded images on this forum link <https://encode.su/threads/3397-JPEG-XL-vs-AVIF?p=79987&viewfull=1#post79987> then i guess it's just q100 vvc, like some people compare avif or webp without rgb lossless modes with "amazing" lossless compression but i don't have vvcdec so can't verify
fab
2023-06-29 01:27:40
So no 16 bit colours or 16 bit 4:2:0?
afed
afed there are only encoded images on this forum link <https://encode.su/threads/3397-JPEG-XL-vs-AVIF?p=79987&viewfull=1#post79987> then i guess it's just q100 vvc, like some people compare avif or webp without rgb lossless modes with "amazing" lossless compression but i don't have vvcdec so can't verify
2023-06-29 05:01:53
`vvc (Main 10), yuv420p10le(tv)` yeah, looks like it's not lossless
Traneptora
Oleksii Matiash *Some* h.264 can be optimized by replacing CAVLC with CABAC, but as far as I know there is no available tool to do this
2023-06-29 07:25:08
most H.264 already uses CABAC though
2023-06-29 07:25:11
as far as I'm aware
Oleksii Matiash
Traneptora most H.264 already uses CABAC though
2023-06-29 07:29:00
Now - yes, but there are many existing files and CAVLC is not really rare
Reddit • YAGPDB
2023-06-30 11:57:35
2023-06-30 03:51:54
2023-07-03 10:35:10
2023-07-03 04:18:13
2023-07-04 06:42:38
2023-07-04 08:07:58
2023-07-06 06:51:23
2023-07-06 06:52:48
2023-07-06 07:51:33
2023-07-06 07:04:08
2023-07-07 10:47:12
diskorduser
2023-07-07 12:10:00
What is stateless
lonjil
2023-07-07 03:55:59
that it doesn't need to be re-initialized (slow) when you change to video stream with different parameters
Reddit • YAGPDB
2023-07-07 05:08:53
Oleksii Matiash
diskorduser What is stateless
2023-07-07 08:42:04
Google suggests this: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/dev-stateless-decoder.html
Reddit • YAGPDB
2023-07-07 10:50:43
DZgas Ж
2023-07-08 01:10:24
<:ReeCat:806087208678588437>
Reddit • YAGPDB
2023-07-09 04:40:28
2023-07-09 06:30:07
_wb_
2023-07-09 06:36:46
Why are they still looking at psnr, ssim and vmaf? There is no such thing as a reliable metric for objective image/video quality assessment, but these 3 are particularly bad...
afed
2023-07-09 06:44:35
I think because there is nothing much better than vmaf for video from widely used metrics <@794205442175402004> maybe propose ssimulacra2 for video, to some third party comparisons? even if it wasn't intended for moving frames, but psnr or (ms-)ssim also don't take motion into account as far as i know https://github.com/Netflix/vmaf/issues/1133
_wb_
2023-07-09 07:19:18
Vmaf takes motion into account but it's an appeal metric, not a fidelity metric. You can make any codec look great by first doing some sharpening, contrast and saturation stretching, and then vmaf will say "woohoo this is better than the original!" even if it's a crappy encode
2023-07-09 07:20:14
So absolutely useless to test encoder improvements, it's trivial to optimize for it (whether consciously or by accident) but correlation with actual quality can be pretty low
Reddit • YAGPDB
2023-07-11 06:36:57
fab
2023-07-13 07:52:40
2023-07-13 07:52:53
Previsions of AVM
2023-07-13 07:53:22
Currently 27,41% over AV1
2023-07-13 07:53:49
I analyzed the quality of partition
Reddit • YAGPDB
2023-07-14 12:02:40
2023-07-14 04:29:06
2023-07-14 09:37:15
2023-07-15 12:19:05
2023-07-15 04:06:30
2023-07-16 08:15:50
2023-07-17 07:20:35
2023-07-17 11:43:50
2023-07-18 01:29:56
username
2023-07-18 04:39:41
is there any way to losslessly add a alpha channel to a pre-existing WebP file?
Reddit • YAGPDB
2023-07-18 05:57:55
2023-07-19 07:41:10
2023-07-19 08:18:35
2023-07-19 04:34:28
Deleted User
2023-07-19 06:19:50
I know I've seen that AV1 isn't coming to iOS 17 even though we have avif and jxl
2023-07-19 06:20:00
But what is this?
2023-07-19 06:20:21
<:thinkW:368319852060082178>
lonjil
2023-07-19 06:39:37
which one?
jonnyawsom3
2023-07-19 06:48:26
I assume AV1 codec
Reddit • YAGPDB
2023-07-20 04:49:07
2023-07-21 08:00:02
2023-07-21 03:22:32
2023-07-21 04:31:37
2023-07-21 09:09:22
Traneptora
2023-07-23 06:35:09
What are the max compression settings for cwebp lossless?
2023-07-23 06:35:32
I'm using `-z 9` but I'm not sure what settings that sets automatically
afed
2023-07-23 06:58:09
`-z 9` = `-lossless -q 100 -m 6`
Traneptora
2023-07-24 05:01:01
is there anything EXTREME
2023-07-24 05:01:15
if I can run overnight
afed
2023-07-24 06:50:19
no, but sometimes something other than `-z 9` can work better, so bruteforcing from `-z 3` to `-z 9` on some images may compress better
username
2023-07-24 06:56:37
how would anything other then `-z 9` compress better? with `-z 9` the lossless "cruncher" gets enabled which does this: "Go over the whole compression step for each of the transforms and pick the best one."
2023-07-24 06:57:50
also I would recommend adding `-mt` which makes the lossless cruncher take around half'ish the amount of time with the same output/results
afed
2023-07-24 07:01:00
probably because `-z 9` does not use all possible options `-mt` only if it is a single image, usually it is easier to encode multiple images in parallel
Reddit • YAGPDB
2023-07-24 04:34:17
2023-07-24 10:20:57
2023-07-26 07:52:42
2023-07-28 09:52:17
190n
2023-07-30 08:25:26
is there a tool to inspect the structure of a jpeg file?
2023-07-30 08:26:22
i have a jpeg that is compressed to roughly 43% of its original size with jxl lossless recompression, and roughly 50% of its original size even with gzip, so i assume there is a lot of "dead space" or something inside the file but i'm not sure how to find it
2023-07-30 08:27:33
<https://raw.githubusercontent.com/190n/jxl-fuse/main/originals/trails.jpg>
username
190n i have a jpeg that is compressed to roughly 43% of its original size with jxl lossless recompression, and roughly 50% of its original size even with gzip, so i assume there is a lot of "dead space" or something inside the file but i'm not sure how to find it
2023-07-30 08:50:22
seems like your theory of there being a lot of dead space is right since there is a line in that file that contains 2,108,610 characters and only 43 of those characters aren't Space/NULL
2023-07-30 08:51:14
at line 14715
190n
2023-07-30 04:42:42
oh, it's really that simple lol
2023-07-30 04:42:49
now i wonder how that happened
2023-07-30 04:43:16
this file came off a camera and hasn't been intentionally edited afaik, but it did migrate between a few different computers
jonnyawsom3
2023-07-30 04:55:25
Wonder if there was some filesystem corruption that listed the file being longer than it was
Reddit • YAGPDB
2023-07-30 05:19:47
2023-07-30 10:08:57
2023-08-05 07:34:47
2023-08-05 10:40:07
2023-08-05 11:15:37
2023-08-05 11:26:52
2023-08-05 02:21:07
2023-08-08 08:53:52
2023-08-09 01:22:02
2023-08-09 07:46:57
2023-08-09 08:22:02
2023-08-10 10:05:17
2023-08-10 11:00:37
2023-08-10 12:28:22
2023-08-11 01:20:47
2023-08-11 06:10:37
2023-08-11 03:53:58
.vulcansphere
2023-08-12 04:58:09
QOI is now supported by all KDE applications https://pointieststick.com/2023/08/11/this-week-in-kde-plasma-6-development-continues-2/
yoochan
2023-08-12 08:23:30
And jpegxl?
Nova Aurora
2023-08-12 08:25:44
It's been in kimageformats for like a year now
yoochan
2023-08-12 08:28:49
Didn't know i'm more a gnome person 😅
Kingproone
2023-08-13 03:50:52
https://tenor.com/view/seriously-really-wtf-wtf-is-going-on-norm-the-gnome-gif-19269788
Reddit • YAGPDB
2023-08-16 12:53:49
2023-08-16 01:07:44
2023-08-16 06:46:19
2023-08-17 06:50:24
2023-08-17 03:40:27
2023-08-18 02:11:47
2023-08-19 07:47:26
2023-08-20 04:47:12
2023-08-20 10:49:12
2023-08-21 12:05:27
2023-08-21 09:37:02
2023-08-21 09:52:17
2023-08-22 11:03:22
2023-08-23 05:11:02
2023-08-25 08:45:22
2023-08-25 09:05:07
2023-08-28 09:35:21
2023-08-28 05:12:42
2023-08-29 12:53:21
VEG
2023-08-29 08:29:33
Any details about AV2? When is it planned to be released? How much better and power hungry it will be in comparison to AV1?
Reddit • YAGPDB
2023-08-29 11:03:16
fab
VEG Any details about AV2? When is it planned to be released? How much better and power hungry it will be in comparison to AV1?
2023-08-29 11:05:15
8 minutes if you want to encode romanian girls at cpu 5
2023-08-29 11:05:21
So very light
2023-08-29 11:05:30
You need one hour to decode
2023-08-29 11:05:37
One frame
2023-08-29 11:05:58
It will apply 105 filters at cpu 4 and crash
2023-08-29 11:06:15
But with a photo of my relatives it didn't
DZgas Ж
VEG Any details about AV2? When is it planned to be released? How much better and power hungry it will be in comparison to AV1?
2023-08-29 12:37:48
No plans. Until 2026, the format will not even be released, there is no point in it, the very fact that people are talking about it only knocks people down, panic is induced among companies that are just switching to av1 now. There is no point in talking about av2 until it is standardized, and this will not happen soon. Not soon at all. I want to say that av2 will by no means make the same leap as between vp9/hevc and av1. And even more so av2 will not be implemented HW at the same insane speed as av1
2023-08-29 12:39:03
That is fun, there are still many years until the end of the development of av2, but they are already pushing what they are working on - in avif
2023-08-29 12:41:59
Well, another aspect of av1 is now the best codec, the best of all competitors. It makes no sense to release av2 now, it will be a competition with ourselves (av1) But avif. A completely different conversation, just look at how avif lose to jpeg xl
2023-08-29 12:42:16
<:JXL:805850130203934781>
fab
2023-08-29 01:45:59
Probably it is just nonsense to release without waiting a year aftee aom 4.3
2023-08-29 01:46:16
Do yoy at least know when aom 4.3 will be out
2023-08-29 01:46:26
We are at 3.7.0 rc1
2023-08-29 01:46:43
I think 15 months
2023-08-29 01:46:50
Plus another 12 for av2
2023-08-29 07:30:50
AV2 is expected on September 2024
2023-08-29 07:31:23
https://arxiv.org/pdf/2308.06570.pdf
2023-08-29 07:31:53
Probably will be for 4K 5000 2500 and 760
2023-08-29 07:32:18
Not very flexible when they will announce it
DZgas Ж
fab Plus another 12 for av2
2023-08-29 11:11:26
To be honest, I do not know why this codec is needed. Its computing power is so demanding that it makes it unsuitable for home use. And its decoding costs are so large that you can't do without a hardware decoder, just like in the 1990s during the first decoders of video accelerators, which were made for 1 codec....
yoochan
2023-08-30 07:17:30
They could indeed focus on the improvement of AV1 😄 ogg vorbis was fine tuned even years after it was out
Reddit • YAGPDB
2023-09-01 12:09:47
sklwmp
2023-09-01 06:59:04
https://www.androidpolice.com/google-photos-ultra-hdr-android-14/
2023-09-01 06:59:18
why not just use <:JXL:805850130203934781>
Cacodemon345
2023-09-01 07:13:50
Seems like not even AVIF is cutting it.
Quackdoc
2023-09-01 07:34:22
I think the goal of this is to allow HDR photos to be shared with older devices and still be viewed fine in hdr. the HDR part would be more or less an enhancement layer of sorts that would just be ignored by older devices
_wb_
2023-09-01 07:56:17
basically they're reinventing JPEG XT
Cacodemon345
2023-09-01 08:06:44
JPEG XT's reference decoder is GPLv3-licensed though.
Traneptora
2023-09-01 08:08:47
JPEG XT has a patent pool as well
2023-09-01 08:08:52
unlike JXL and similar
Cacodemon345
2023-09-01 08:09:47
I haven't like heard of any real plans to relicense it under an Apache license as well.
_wb_
Traneptora JPEG XT has a patent pool as well
2023-09-01 10:33:21
really? didn't know that
Traneptora
_wb_ really? didn't know that
2023-09-01 10:33:38
according to wikipedia*
2023-09-01 10:34:03
this is what they cite
2023-09-01 10:34:03
https://www.sisvel.com/news-events/news/sisvel-announces-the-launch-of-the-jpeg-xt-joint-licensing-program
2023-09-01 10:35:01
https://www.sisvel.com/licensing-programs/legacy-programs/jpeg-xt/patent-owners
2023-09-01 10:35:06
https://www.sisvel.com/licensing-programs/legacy-programs/jpeg-xt/license-terms
_wb_
2023-09-01 10:35:06
interesting
2023-09-01 10:35:18
sisvel also has that for avif, right?
Traneptora
2023-09-01 10:35:31
I don't know
yoochan
2023-09-01 12:29:29
they'll do all they can to go around jpeg xl ...
_wb_
2023-09-01 01:36:51
https://www.sisvel.com/licensing-programs/audio-and-video-coding-decoding/video-coding-platform/license-terms/av1-license-terms
Reddit • YAGPDB
2023-09-01 01:49:31
yoochan
2023-09-01 05:05:03
*sisvel, we protect ideas* ... lol *we extort money" would be more suited
2023-09-01 05:07:23
reminds me of Vectis IP with opus
fab
2023-09-01 05:09:16
Comment this: https://www.linkedin.com/posts/jan-ozer_from-codec-royalties-on-content-and-the-activity-7100890936968187905-8Wph
2023-09-01 05:09:32
It's talking about AV2
BlueSwordM
_wb_ basically they're reinventing JPEG XT
2023-09-03 09:30:10
I still believe that they didn't add JXL just to spite us.
2023-09-03 09:30:24
Had they added JXL, it would have basically forced Chrome to add support for it.
Quackdoc
BlueSwordM I still believe that they didn't add JXL just to spite us.
2023-09-03 11:47:22
It's not so simple. as someone who has worked with multiple android devs (though mainly bliss now) adding a new image support to android is really hard for two major reasons one of which avif was able to sidestep. These are not necessarily aosp's considerations but android is larger then just aosp devs in the end. 1. Backwards compatibility, this is still an issue with avif ofc. dont forget, android isn't apple they cant force update phones hat are 3+ years old. 2. the most important factor perf/security. Every single new dependency is a security liability to begin with let alone ones that the user directly interacts with. Not only does it need to be fast (which libjxl meets IMO) but security is an extremely massive concern. AVIF wins here simply because they already needed to include av1 decode (though aosp uses either libgav1 or libaom for decode, many roms are using dav1d anyway). Dont forget, android isnt like apple and cant just shove security patches down everyones throats (yet). with 1 of 2 major issues dealt with it becomes a LOT easier to sell avif. I think JXL will come to android, but I doubt it will happen until a16+
2023-09-03 11:48:30
There is just so much risk when it comes to adding any new user intractable library its very much an uphill battle
2023-09-03 11:53:09
who knows, maybe jxl-oxide might be an option thanks to aosp's love affair with rust, no idea. all I know is that it's a lot harder to get something into aosp then it is chrome
fab
Quackdoc It's not so simple. as someone who has worked with multiple android devs (though mainly bliss now) adding a new image support to android is really hard for two major reasons one of which avif was able to sidestep. These are not necessarily aosp's considerations but android is larger then just aosp devs in the end. 1. Backwards compatibility, this is still an issue with avif ofc. dont forget, android isn't apple they cant force update phones hat are 3+ years old. 2. the most important factor perf/security. Every single new dependency is a security liability to begin with let alone ones that the user directly interacts with. Not only does it need to be fast (which libjxl meets IMO) but security is an extremely massive concern. AVIF wins here simply because they already needed to include av1 decode (though aosp uses either libgav1 or libaom for decode, many roms are using dav1d anyway). Dont forget, android isnt like apple and cant just shove security patches down everyones throats (yet). with 1 of 2 major issues dealt with it becomes a LOT easier to sell avif. I think JXL will come to android, but I doubt it will happen until a16+
2023-09-04 06:23:29
jxl oxide is faste in vadct and lossless ansocing
2023-09-04 06:23:39
vadft i have th doubt
2023-09-04 06:24:22
i can't wait to update sasha puglin to do libjxl in the windows os
Reddit • YAGPDB
2023-09-04 12:20:11
BlueSwordM
Quackdoc It's not so simple. as someone who has worked with multiple android devs (though mainly bliss now) adding a new image support to android is really hard for two major reasons one of which avif was able to sidestep. These are not necessarily aosp's considerations but android is larger then just aosp devs in the end. 1. Backwards compatibility, this is still an issue with avif ofc. dont forget, android isn't apple they cant force update phones hat are 3+ years old. 2. the most important factor perf/security. Every single new dependency is a security liability to begin with let alone ones that the user directly interacts with. Not only does it need to be fast (which libjxl meets IMO) but security is an extremely massive concern. AVIF wins here simply because they already needed to include av1 decode (though aosp uses either libgav1 or libaom for decode, many roms are using dav1d anyway). Dont forget, android isnt like apple and cant just shove security patches down everyones throats (yet). with 1 of 2 major issues dealt with it becomes a LOT easier to sell avif. I think JXL will come to android, but I doubt it will happen until a16+
2023-09-04 01:58:45
<:kekw:808717074305122316>
2023-09-04 01:59:10
They added something like JPEG-XT into Android, and not JXL. That argument would make more sense if they didn't add anything.
yoochan
2023-09-04 02:11:12
indeed it looks like a joke
Quackdoc
BlueSwordM They added something like JPEG-XT into Android, and not JXL. That argument would make more sense if they didn't add anything.
2023-09-04 11:33:42
all the new ultraHDR stuff is, is an xml metadata payload and an additonal map image for inverse tonemapping
2023-09-04 11:33:53
basically no new tech was actually added
2023-09-04 11:35:10
its effectively the three image HDR android already does compressed to two images and not processed
2023-09-04 11:35:30
stupid regardless IMO but whatever
Traneptora
2023-09-04 11:35:57
how does it handle the 8-bit limitation on legacy JPEG
BlueSwordM
Quackdoc its effectively the three image HDR android already does compressed to two images and not processed
2023-09-04 11:47:10
Yeah, but no HBD.
Quackdoc
2023-09-04 11:56:17
Im not entirely sure it really effects them since they are using the data from both images. using both images may be able to represent data depths greater then 8bit. that being said, a multi channel image is possible but the document assumes a single channel luminance gain map
2023-09-04 11:57:36
I doubt it will be *as good* as a 10+bit HDR image, but the goal is to be *good enough*
w
2023-09-05 12:01:13
not like you can tell the difference on a 6" screen
Quackdoc
2023-09-05 12:02:21
well, android is used on a LOT more then just phones
w
2023-09-05 12:03:19
but for most people it's just phones and this format is for phones to phones
Quackdoc
2023-09-05 12:05:58
its use case also involves tablets and the every growing chromebook market
w
2023-09-05 12:06:55
not like you can tell the difference on a 12" screen
Quackdoc
2023-09-05 12:09:08
lots of larger chromeboosks, and I also forgot android TVs which are quite large
w
2023-09-05 12:09:19
sure for the 5 people that use them
2023-09-05 12:09:50
most people can't tell they're using a 6bit display
2023-09-05 12:11:23
most people have iphones anyway
Quackdoc
2023-09-05 12:11:43
chromebook is one of the largest growing markets for dedicated computers, and android TV/boxes are are largely popular
w
2023-09-05 12:12:59
nobody even has dedicated computers anymore
2023-09-05 12:13:21
largest growing is also misleading
2023-09-05 12:15:13
like don't 90% of those sit in a closet or in a landfill
2023-09-05 12:15:37
they need to be stopped
Quackdoc
2023-09-05 12:17:22
not really, chromebooks are gaining popularity a lot, for older folk I really like them for sure, fleet PCs are also a strong market, desktop/laptop market is still strong
2023-09-05 12:18:34
i myself am actually really happy with chromebooks from a usability perspective for normal folk, just wish they had flatpak support or something like that so we dont need to use the linux vm
w
2023-09-05 12:18:59
all the older folk i know just use iphone
Quackdoc
2023-09-05 12:19:13
ok?
2023-09-05 12:19:24
so all older people use iphones?
2023-09-05 12:19:50
I dont know any old folk that use an iphone , or any apple product, doesnt mean that no one is
w
2023-09-05 12:20:51
my issue with it is what is the point
Quackdoc
2023-09-05 12:22:56
?
Traneptora
Quackdoc Im not entirely sure it really effects them since they are using the data from both images. using both images may be able to represent data depths greater then 8bit. that being said, a multi channel image is possible but the document assumes a single channel luminance gain map
2023-09-05 12:36:24
two 8-bit images has effectively 9-bit depth fwiw
2023-09-05 12:36:49
not really 16-bit
2023-09-05 12:37:00
because one of them is just a stretch map
w most people have iphones anyway
2023-09-05 12:38:03
this is objectively false, iOS has less than 30% of the mobile market share
2023-09-05 12:38:24
android-based OSes are ~70%
2023-09-05 12:39:36
2023-09-05 12:39:43
Q2 2023
2023-09-05 12:39:49
https://www.statista.com/statistics/272698/
Quackdoc ?
2023-09-05 12:41:20
W thinks HDR on mobile is pointless, since "nobody can tell the difference"
Quackdoc
Traneptora two 8-bit images has effectively 9-bit depth fwiw
2023-09-05 01:40:25
yeah, it's not a lot of gain, but the goal is in the end to be "good enough" I think the solution they apply should be more or less good enough. here is the equations specifically used for rendering the final HDR image https://developer.android.com/guide/topics/media/platform/hdr-image-format#use_the_gain_map_to_create_adapted_HDR_rendition
2023-09-05 01:41:00
ofc the app will still likely need to apply pq/hlg itself after since `HDR(x, y)` is linear
2023-09-05 01:42:56
ofc it wont ever be as good as a dedicated proper HDR image which could contain proper amount of bits and other forms of metadata but it is what it is
2023-09-05 01:49:13
ofc it's not like you can't do 8bit hdr so long as all you care about is contrast.
Traneptora
2023-09-05 01:50:24
8bit HDR with a PQ curve can cause issues
Quackdoc
2023-09-05 01:51:57
hence the only care about contrast part
2023-09-05 01:56:53
I may or may not have in the past, when asked for an hdr copy of an image I produced, simply taken the 8bit png i sent them, tonemap it up to a good value, applied pq and shipped the resulting image xD.
spider-mario
Traneptora because one of them is just a stretch map
2023-09-05 02:34:09
the gain is encoded logarithmically from what I can find, so in a way, isn’t it a form of 16-bit floating point?
Traneptora
spider-mario the gain is encoded logarithmically from what I can find, so in a way, isn’t it a form of 16-bit floating point?
2023-09-05 02:51:34
16-bit floating point with an 8-bit mantissa isn't really fully 16-bit depth tbh
_wb_
2023-09-05 03:28:51
that's bfloat16 right?
2023-09-05 03:29:29
but the exponent, is it shared between R, G and B or is it separate?
spider-mario
2023-09-05 03:50:54
per https://developer.android.com/guide/topics/media/platform/hdr-image-format, it seems that 3-channel maps are supported, but they recommend “Use a single-channel gain map whenever possible.”
_wb_
2023-09-05 04:54:58
doing it per channel probably hurts compression too much
Quackdoc
2023-09-05 05:26:28
well they are gluing a full jpeg with another jpeg, multichannel or not, im not sure they are too concerned with size.
w
Traneptora this is objectively false, iOS has less than 30% of the mobile market share
2023-09-05 07:29:31
not in the US and only the US matters
Traneptora W thinks HDR on mobile is pointless, since "nobody can tell the difference"
2023-09-05 07:31:45
not because HDR is pointless but because nobody can tell the difference between hbd
2023-09-05 07:35:11
but also HDR is pointless
Traneptora
w not in the US and only the US matters
2023-09-05 07:36:38
iOS is less than 60% of the market share in the US, a far cry from "everyone uses iOS"
w
2023-09-05 07:37:26
phone market share vs device
Traneptora
2023-09-05 07:37:31
I wouldn't call ~55% "most"
w
2023-09-05 07:37:44
some stats say 80%
Traneptora
2023-09-05 07:37:49
well those stats are wrong
w
2023-09-05 07:38:21
Yeah and 1 gagillion devices run java doesn't mean that 1 gagillion people use java
Traneptora
2023-09-05 07:38:46
that has nothing to do with what we're talking about
w
2023-09-05 07:38:48
I'm obviously joking about the iPhone part
Traneptora
2023-09-05 07:38:57
well it wasn't obvious to anyone here
Reddit • YAGPDB
2023-09-06 01:40:36
2023-09-06 03:06:56
2023-09-06 03:28:41
2023-09-07 12:36:31
2023-09-07 04:46:16
2023-09-07 04:52:47
2023-09-08 04:38:56
VEG
2023-09-09 03:05:35
https://css-ig.net/pingo - seems like Pingo 1.x was released this year. It's an advanced optimizer for PNG/APNG/JPEG/WebP. It's fast and produces small files with good quality or lossless 🙂
Posi832
2023-09-09 03:12:04
Looks interesting
2023-09-09 04:58:49
Tried it, and was impressed by that it does lossless jpeg compression, since I'm unaware of any other program that does that lol
yoochan
2023-09-09 05:35:53
How does it compare to cjxl?
Posi832
2023-09-09 06:18:28
I can do some simple lossless tests tomorrow and share the results
veluca
2023-09-09 07:35:09
does it still output a JPEG?
2023-09-09 07:35:28
if so I'd bet cjxl is still ~15% better
Cool Doggo
Posi832 Tried it, and was impressed by that it does lossless jpeg compression, since I'm unaware of any other program that does that lol
2023-09-09 07:35:33
pingo uses mozjpeg to do it, you can use jpegoptim and jpegtran to do it too
BlueSwordM
Posi832 Tried it, and was impressed by that it does lossless jpeg compression, since I'm unaware of any other program that does that lol
2023-09-10 02:46:29
It just uses mozjpegtran for that...
Posi832
2023-09-10 09:38:45
hmm :- |
yoochan How does it compare to cjxl?
2023-09-10 11:19:03
Here are my results: https://positron832.neocities.org/blog/pingo-vs-cjxl/ and <@179701849576833024> yes it still outputs a JPEG
yoochan
2023-09-10 11:24:19
Thank you for your work! Cjxl remains a super jpeg optimizer 😊
w
2023-09-10 11:37:25
but jxl isnt jpeg
afed
2023-09-10 11:47:15
yeah, also cjxl can be used after pingo optimization and pingo uses modified mozjpegtran from ect
diskorduser
afed yeah, also cjxl can be used after pingo optimization and pingo uses modified mozjpegtran from ect
2023-09-10 01:52:14
Is there any file size saving on pingo optimised jpg vs normal jpg after jxl transcoding?
veluca
diskorduser Is there any file size saving on pingo optimised jpg vs normal jpg after jxl transcoding?
2023-09-10 01:59:04
Probably not
Reddit • YAGPDB
2023-09-10 02:00:31
afed
2023-09-10 02:05:46
i get small savings on certain files, but haven't compared more recent versions with some changes in jpeg transcoding
jonnyawsom3
2023-09-10 03:34:07
Then in the next update Pingo just turns everything into JXL
yurume
2023-09-12 09:51:49
https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.html
2023-09-12 09:52:21
based on the bug number, the relevant commit should be: https://github.com/webmproject/libwebp/commit/902bc9190331343b2017211debcec8d2ab87e17a
Reddit • YAGPDB
2023-09-12 06:08:22
2023-09-12 06:08:27
2023-09-12 06:09:21
2023-09-12 06:09:26
fab
2023-09-12 08:11:36
Cpu 8 AV2 enables 100 filters
2023-09-12 08:12:12
With cpu 1 there are 90 but lot of edge filters
Fox Wizard
fab Cpu 8 AV2 enables 100 filters
2023-09-12 08:12:40
Still less than the average Instagram picture
fab
2023-09-12 08:13:04
Yes
2023-09-12 08:13:27
Flip & IDT CCYX TX 6F
2023-09-12 08:13:42
Those are Transformers for cpu 1
2023-09-12 08:13:52
Will also slow down decode
2023-09-12 08:14:15
Then there is an optional settings MSERI3
2023-09-12 08:14:41
But it can't be used because decoding impact is absurdly
2023-09-12 08:14:47
I need to try it
2023-09-12 08:15:27
Mask compound one side compound snoothIperintraframe
2023-09-12 08:15:36
Adaptive
2023-09-12 08:15:39
Msrls
2023-09-12 08:15:49
Flexible MV precisions
2023-09-12 08:15:56
Tip
2023-09-12 08:16:06
Those are slow tools
2023-09-12 08:16:35
The edge filter also slow at the start of an image
2023-09-12 08:17:04
12 seconds for 600x600
2023-09-12 08:18:41
SmoothInterIntra Adaptive MVD resolution and Joint MVD coding are all slow together with also the PEC and bawp
2023-09-12 08:18:49
Lot of cpu usage
fab Then there is an optional settings MSERI3
2023-09-12 08:19:20
In a merge request
2023-09-12 08:20:12
https://gitlab.com/AOMediaCodec/avm/-/merge_requests/849/pipelines
2023-09-12 08:20:45
This is probably contributed by Apple
2023-09-12 08:20:55
I can see the slowness
Reddit • YAGPDB
2023-09-13 07:57:31
2023-09-13 10:59:41
DZgas Ж
2023-09-13 05:12:13
https://www.opennet.ru/opennews/art.shtml?num=59746
2023-09-13 05:12:57
Google has published an update to the Chrome browser 116.0.5845.187, which fixes a critical vulnerability (CVE-2023-4863) that allows you to bypass all levels of browser protection and execute code in the system outside the sandbox environment. Details have not yet been disclosed, it is only known that the critical vulnerability is caused by a buffer overflow in the WebP image format handler. The vulnerability allows you to execute your code when processing specially designed WebP images. The danger of vulnerability is aggravated by the fact that a working exploit has been identified in the network, which is already being used by attackers to commit attacks (0-day).
Eugene Vert
yurume based on the bug number, the relevant commit should be: https://github.com/webmproject/libwebp/commit/902bc9190331343b2017211debcec8d2ab87e17a
2023-09-13 05:48:48
.
Reddit • YAGPDB
2023-09-13 06:35:31
2023-09-14 12:39:26
2023-09-14 01:55:06
_wb_
2023-09-14 01:09:55
TIL: chrome has a dimension limit of 32768 pixels for avif images
2023-09-14 01:11:30
avifenc can generate a 40000x100 image just fine, but then avifdec cannot decode it and neither can chrome
Kleis Auke
_wb_ TIL: chrome has a dimension limit of 32768 pixels for avif images
2023-09-14 01:14:55
It also limits the maximum image size to 16384x16384. https://github.com/AOMediaCodec/libavif/blob/454adbf5c27d24e1645cae53c1c659d46e07f657/include/avif/avif.h#L71-L76
_wb_
2023-09-14 01:15:20
yeah but that is sensible, that's about the total number of pixels
Kleis Auke
2023-09-14 01:15:26
For 32-bit systems, the image size in dav1d is limited to 8192x8192 (Chromium no longer uses libaom for AVIF decoding). https://code.videolan.org/videolan/dav1d/-/blob/8b419c16bf1e37bc98044089da58f06824462cb9/src/lib.c#L197-206
_wb_
2023-09-14 01:15:32
256 megapixels is a lot
2023-09-14 01:15:52
but something like 40000x100 is just 4 megapixels
2023-09-14 01:15:58
still doesn't decode in chrome
2023-09-14 01:18:44
it's not the dav1d limit that is a problem, it's the libavif one here
2023-09-14 01:19:34
already at the ISOBMFF parsing it aborts decode because the width is above the dimension limit
novomesk
2023-09-14 01:50:00
On 32bit system, libjxl can quickly fill memory with too big images too. It is good to have some reasonable limits.
_wb_
2023-09-14 02:01:43
yeah, just unnecessary to limit width and height, just limit only nb_pixels
2023-09-14 02:01:59
it's buffer size that matters in the end
Reddit • YAGPDB
2023-09-15 07:01:21
2023-09-15 07:17:26
2023-09-15 09:00:46
2023-09-15 10:16:41
2023-09-15 06:39:56
2023-09-16 06:25:36
2023-09-16 09:59:51
2023-09-18 09:43:01
2023-09-19 09:47:46
2023-09-20 07:19:06
2023-09-20 11:31:16
2023-09-21 05:35:27
jonnyawsom3
2023-09-21 06:27:51
The other day I was in a voice channel on a server playing a game, streaming it, and tuned into a friend streaming their work. I noticed I was lagging a lot so stopped my stream, then my game and opened up task manager. Turns out Discord was using over 30% of my CPU, because the friend was streaming in 4K and has a 4090, so discord automatically used AV1 even though I don't have HW decoding. There was meant to be a h264 fallback when someone without hardware starts viewing, but I guess either it failed or it doesn't work in the first place
Quackdoc
2023-09-21 06:30:42
are you on windows by chance? I might be possible if you have the av1 codec installed that might be triggering it?
2023-09-21 06:30:52
weird but I wouldnt put it past discord to mess that up
username
2023-09-21 07:12:06
Chromium does not use system side codecs except Microsoft Edge
jonnyawsom3
2023-09-21 07:22:52
I also manually turned off AV1 in discord's settings, seems they just never bothered with the fallback
Quackdoc
username Chromium does not use system side codecs except Microsoft Edge
2023-09-21 07:47:18
this is not true, chromium supports mediafoundation for decoding
2023-09-21 07:49:58
also doesnt chrom{e/ium} now supporte HEVC via system codecs?
jonnyawsom3
2023-09-21 08:03:27
Yeah, it's supported using hardware for quite a while, namely H265/HEVC which I've been using for about a year
Quackdoc
2023-09-21 08:16:39
mediafoundation allows both software and hardware codecs, IIRC chromium allows you to use both
2023-09-21 08:16:57
it's quite possible discord would check mediafoundation support and call it good
Reddit • YAGPDB
2023-09-21 01:40:11
2023-09-21 03:16:46
2023-09-22 07:26:06
2023-09-23 12:06:51
2023-09-24 07:18:21
2023-09-24 02:49:46
2023-09-24 08:07:31
2023-09-25 01:48:51
2023-09-25 03:53:46
2023-09-26 08:52:32
2023-09-26 12:08:42
2023-09-27 05:03:56
2023-09-27 10:55:39
2023-09-27 02:50:49
2023-09-29 01:27:15
2023-09-29 02:15:40
2023-09-29 05:16:54
2023-09-30 02:59:30
2023-10-02 05:27:59
2023-10-02 09:11:50
nec
2023-10-02 12:37:45
I believe AI can improve compression, but I doubt a bit 5x, let alone 50x in a near future.
_wb_
2023-10-02 03:38:59
I think 2-3x better compression can be done with AI codecs, but imo it comes at a significant cost: - could be risky for "atypical" pictures with content outside what was in the training set (either it doesn't compress well, or it hallucinates stuff) - significant computational resources are needed (memory/storage for the model, processing) - works best for low-fidelity high-appeal (very low bitrate, still looks plausible) but gains drop when going to higher fidelity - no fidelity guarantees, which is kind of going in the other direction compared to trends like the Content Authenticity Initiative (C2PA /JPEG Trust etc) — people want to be able to _trust_ digital photos, and putting in any generative component (like AI codecs) in the trust chain is probably going to be frowned upon.
2023-10-02 03:41:26
I see more future in an AI-based encoder that targets a classic codec but mostly does things like better entropy coding heuristics where the effect on quality is zero or containable.
jonnyawsom3
2023-10-02 03:44:39
Influencing the decisions of a normal encoder rather than trying to remake the image entirely
spider-mario
2023-10-02 04:23:10
jpeg xl + AI encoder ≟ <:Stonks:806137886726553651>
Demiurge
2023-10-02 05:19:57
What about an ai for dividing an image into multiple layers to make it easier to compress, a la djvu
2023-10-02 05:20:37
That could benefit jxl
2023-10-02 05:21:43
Or an ai to determine the most effective algorithm or strategy to use depending on what kind of image it is
2023-10-02 05:22:23
Think like opus
2023-10-02 05:24:26
A model can guide the encoder on what tools to use
yoochan
nec I believe AI can improve compression, but I doubt a bit 5x, let alone 50x in a near future.
2023-10-02 06:42:47
if you accept to have a 140Gb decoder, you can try to shave some bytes with this kind of research : https://arstechnica.com/information-technology/2023/09/ai-language-models-can-exceed-png-and-flac-in-lossless-compression-says-study/
Jyrki Alakuijala
2023-10-03 08:51:36
You can have a lot of compression with AI if the content creator used the same AI to initially create it, like even millions of times more. If just usual data AI can be ~2x more dense but take 10000x more multiplications to decode. Reducing the number of multiplications makes the gap smaller. Similarly, adding more compute to traditional methods improves results there, reducing the gap.
Reddit • YAGPDB
2023-10-03 09:34:05
2023-10-04 02:41:45
2023-10-04 04:19:10
2023-10-04 11:41:04
Quackdoc
2023-10-06 03:25:30
https://nitter.net/MishaalRahman/status/1710037659786097106#m thhis is neat > Google Camera on the Pixel 8 not only saves photos in the new Ultra HDR format (JPEG_R) introduced with Android 14, but it also adds support for Display P3 capture! > > Display P3 wide gamut capture is a new capability of Android 14. Devices can capture wide gamut color images in JPEG format without using 10-bit HDR. > > There's apparently a setting in Google Camera on the Pixel 8 to opt out of wide gamut capture, whereas Ultra HDR captures are always enabled. > > Thanks to anon for the tip p3 photo support
username
2023-10-06 03:29:54
is P3 the default?
2023-10-06 03:30:08
or well wide gamut I mean
2023-10-06 03:30:25
I assume it is based on the wording of "opt out"
Quackdoc
2023-10-06 03:32:45
that is a question I dont have the answer for
gb82
2023-10-06 06:21:01
I hope that comes to older Pixels
Reddit • YAGPDB
2023-10-06 05:18:00
2023-10-06 09:11:29
2023-10-07 09:29:19
2023-10-07 05:49:59
2023-10-07 10:43:24
2023-10-08 02:56:15
2023-10-08 05:14:39
2023-10-08 10:13:34
2023-10-09 12:52:14
2023-10-09 07:56:20
3DJ
2023-10-10 05:30:46
Anyone got a list of video formats that support transparency?
HCrikki
2023-10-10 10:36:23
**hevc/h265** displays alpha transparency in safari but not chrome **vp9** displays alpha transparency in chrome but not safari things might have changed since, but thats how it went with web browsers. unsure about local video players
2023-10-10 10:42:16
as formats more suitable for video editing, you got **Prores** (limited to apple's ecosystem) and **DNxHR** (available for windows/linux). their 444 codecs in particular preserve embedded alpha information
gb82
2023-10-10 06:44:22
so vp9 looks like the best play then
2023-10-10 06:44:26
does AV1 support transparency?
Reddit • YAGPDB
2023-10-10 07:06:40
HCrikki
gb82 does AV1 support transparency?
2023-10-10 09:07:34
not in the bitstream afaik. the containers av1 is used in need to support and expose that
2023-10-10 09:09:09
do note its most common to just use transparency masks rather than actual transparency (always problematic to encode, limited support everywhere)
gb82
2023-10-10 09:19:12
Gotcha
username
2023-10-12 04:03:52
are there any other image formats that support having compressed metadata?
2023-10-12 04:04:27
like for example does avif have anything like jxl's brob box?
_wb_
2023-10-12 10:11:59
png can use DEFLATE for metadata
2023-10-12 10:12:12
other than that I don't know any examples
2023-10-12 10:13:50
JUMBF (including e.g. C2PA) is probably going to allow `brob` content boxes, which will be a way to get compressed metadata in any format that supports JUMBF
Reddit • YAGPDB
2023-10-12 10:32:44
2023-10-12 11:25:00
Nova Aurora
2023-10-13 04:17:42
320k opus seems a bit excessive
fab
2023-10-13 05:06:36
2023-10-13 05:08:16
Yesterday builds 12 oct with fdk aac
2023-10-13 05:08:26
Ffopus just guessed not complete
Reddit • YAGPDB
2023-10-13 09:51:05
3DJ
2023-10-14 03:42:26
meme
Fraetor
2023-10-14 09:05:18
lol
2023-10-14 09:06:01
||I say, myself a hollow shell of a person.||
daniilmaks
3DJ meme
2023-10-14 11:41:38
my friend got backwards experience. he would spend hours trying to configure vlc so that it didn't jolt the whole system when switching tabs. then I recommended mpv and in 5 minutes everything just worked and he could finally watch the damn video without any configuration.
diskorduser
2023-10-15 04:48:53
I use both 😮
spider-mario
2023-10-15 08:15:55
I use mpv so that at least, it’s colour-managed and I can enjoy the content without being distracted by gaudy colours
2023-10-15 08:16:08
the only mpv configuration necessary for that was `icc-profile-auto = yes`
2023-10-15 08:19:15
(I also have `keep-open = yes`, and the following `input.conf`: ) ``` WHEEL_UP ignore WHEEL_DOWN ignore ```
Quackdoc
2023-10-15 09:55:32
my mov config isnt to wild, mostly just some basic stuff for disabling vsync and somewhat decent hdr handling
Reddit • YAGPDB
2023-10-15 10:23:39
2023-10-15 07:25:09
2023-10-15 11:23:30
2023-10-16 12:37:00
2023-10-16 02:00:55
2023-10-16 10:08:40
2023-10-18 05:26:29
2023-10-18 07:41:39
gb82
2023-10-18 07:47:05
(that's me btw. Please consider joining!)
Reddit • YAGPDB
2023-10-19 06:15:29
gb82
2023-10-19 06:20:57
(also me!)
Reddit • YAGPDB
2023-10-19 08:14:14
Demiurge
2023-10-19 10:22:04
Hey guys, pay us for this free thing
bonnibel
2023-10-20 01:39:14
i actually hold a patent on a process for how to best come up with, file, and shake people down with dubious patents so every time these leeches pop up i get a kickback
Reddit • YAGPDB
2023-10-20 05:22:30
2023-10-21 02:40:14
a goat
2023-10-21 05:24:32
Good lord AVIF is terrible
HCrikki
2023-10-21 05:48:04
cant believe anyone would wonder why large resolutions are even in use
2023-10-21 05:50:01
people still scan to file or email images (like with now defunct google's cloud print) at more than 600dpi and work with highly detailled image files they may just need sharable across the web with less artifacts and a workable filesize
jonnyawsom3
2023-10-21 06:22:52
Assuming I know what comment you're referring to, they're asking why you'd use AVIF for large files, since it can't preserve the quality properly for most workflows
Demiurge
2023-10-21 09:05:07
Large files usually don't have much fine texture worth preserving
NeRd
2023-10-22 06:45:14
Is it just me or is AVIF lossless completely useless lol
w
2023-10-22 06:46:48
it's not supposed to be used like that
Reddit • YAGPDB
2023-10-22 06:50:45
190n
NeRd Is it just me or is AVIF lossless completely useless lol
2023-10-22 06:59:32
<:YEP:808828808127971399> frequently loses to png
JendaLinda
2023-10-22 07:56:54
Lossless AVIF is still broken in WIC.
damian101
a goat Good lord AVIF is terrible
2023-10-22 01:20:50
what is this, I've encoded way bigger images to AVIF?
NeRd Is it just me or is AVIF lossless completely useless lol
2023-10-22 01:21:37
depends on the speed
JendaLinda
2023-10-22 03:30:52
Speaking of speed, what about FFV1?
BlueSwordM
190n <:YEP:808828808127971399> frequently loses to png
2023-10-22 03:41:06
*WebP.
2023-10-22 03:41:13
I've never seen it lose to PNG on my images.
jonnyawsom3
2023-10-22 03:52:03
They might mean optimized PNGs, they can go roughly 30% smaller than normal in bad cases (I had a few color masks go 98%)
BlueSwordM
They might mean optimized PNGs, they can go roughly 30% smaller than normal in bad cases (I had a few color masks go 98%)
2023-10-22 04:11:23
I always use the smallest available PNGs for that of course.
damian101
2023-10-22 04:49:57
lossless aomenc is generally pretty bad at cpu-used > 4
2023-10-22 04:50:14
but I also doubt it'll ever lose to webp at cpu-used 0...
Reddit • YAGPDB
2023-10-22 06:45:35
Traneptora
but I also doubt it'll ever lose to webp at cpu-used 0...
2023-10-22 08:50:59
even jxl loses to webp sometimes in the lossless case. lossless webp is actually quite good
damian101
2023-10-22 08:51:24
really...
2023-10-22 08:51:42
I mean, I know it's very good
Traneptora
2023-10-22 08:52:46
yea, plus the libjxl encoder isn't perfect. lots of room for improvement
damian101
2023-10-22 08:53:23
afaik jxl lossless was heavily inspired by ffv1
Traneptora
2023-10-22 08:54:05
modular mode comes from FUIF and FLIF originally
2023-10-22 08:54:17
which in turn is inspired by ffv1
2023-10-22 08:54:27
so yes but through a level of indirection
damian101
Traneptora modular mode comes from FUIF and FLIF originally
2023-10-22 08:56:39
yeah, I know, I follow this since FLIF
2023-10-22 08:57:27
earliest days of my deeper interest in media coding
Reddit • YAGPDB
2023-10-22 09:11:39
jonnyawsom3
Traneptora yea, plus the libjxl encoder isn't perfect. lots of room for improvement
2023-10-22 09:12:46
They've wanted to take the pallete ordering from WebP and apply it to libjxl, since that appears to be making most of the difference currently
Traneptora
2023-10-22 09:13:35
makes sense
jonnyawsom3
2023-10-22 09:14:39
Been on the backburner for a few months now I think
HCrikki
2023-10-23 03:09:06
according to caniuse, Edge apparently stopped supporting av1 and avif even if you have the av1 extension installed. anyone knows more about this ?
diskorduser
HCrikki according to caniuse, Edge apparently stopped supporting av1 and avif even if you have the av1 extension installed. anyone knows more about this ?
2023-10-23 03:53:51
I sent a feedback as av1 is not working in linux edge. They said the upcoming build will fix the issue
Reddit • YAGPDB
2023-10-23 11:45:05
2023-10-23 03:38:54
afed
2023-10-24 04:40:50
though Theora has never been a widely used format https://bugzilla.mozilla.org/show_bug.cgi?id=1860492
2023-10-24 04:40:53
https://chromestatus.com/feature/5158654475239424
username
2023-10-24 04:43:23
doesn't wikipedia use theora or am I remembering wrong?
2023-10-24 04:44:22
oh I just looked at the bugzilla page and they mention wikipedia
Reddit • YAGPDB
2023-10-24 05:39:25
2023-10-24 08:36:35
2023-10-24 08:57:59
2023-10-25 11:58:18
2023-10-28 08:23:18
jonnyawsom3
2023-10-28 08:43:21
Oh if only they understood bitrate...