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

DZgas Ж
_wb_ Depends on how you implement it. If you are doing encoding in xyb, and ignore the multiscale thing, then ssimulacra2 is probably implementable with very similar speed as ssim, maybe 10% slower or something
2023-02-19 03:38:16
Sounds like something I should try aom-av1-lavish in Oh shit no Builds
2023-02-19 03:43:52
👉 <:AV1:805851461774475316>
sklwmp weird, i swear it disabled all AVX files, i didn't see any get compiled
2023-02-19 03:58:21
It ready-made builds, they are certainly not the newest. but they are just like yours - only AVX
sklwmp
2023-02-19 03:58:58
weird, i don't know why AVX still keeps getting built even when specifically disabling it
afed
2023-02-19 04:05:40
`-march=x86-64` ?
BlueSwordM
_wb_ Depends on how you implement it. If you are doing encoding in xyb, and ignore the multiscale thing, then ssimulacra2 is probably implementable with very similar speed as ssim, maybe 10% slower or something
2023-02-19 04:51:28
I doubt it.
2023-02-19 04:51:36
The blur and edge masking is quite demanding.
DZgas Ж
2023-02-19 06:00:57
damm this server 8 mb
2023-02-19 06:03:00
<@557099078337560596> i do it
_wb_
BlueSwordM The blur and edge masking is quite demanding.
2023-02-19 06:55:27
Regular ssim also requires a blur operation... The main difference is ssimulacra2 aggregates using different norms and keeps track of 6 subscores per component (and scale) instead of 1, but computationally that doesn't really make much of a difference.
DZgas Ж
2023-02-19 07:01:32
Jxl jpeg transcode be like https://github.com/OptiVorbis/OptiVorbis
yoochan
2023-02-19 08:09:23
more like mozjpeg, jpegxl redefine the bitstream entirely... but perhaps in the future there will be an optijpegxl 😄 given the expressiveness of the format
3DJ
2023-02-20 09:40:12
using the depth map in photoshop is pretty fun
2023-02-20 09:40:13
https://imgur.com/bPhSfcC
2023-02-20 09:42:34
<@456226577798135808> I came across your thread asking for depth buffer to be saved along with the color screenshot, which apparently wasn't possible back then but you might wanna check these out: <https://framedsc.com/ReshadeGuides/depthguide.htm> <https://github.com/murchalloo/reshade-addons>
Reddit • YAGPDB
2023-02-21 04:57:56
VEG
DZgas Ж Jxl jpeg transcode be like https://github.com/OptiVorbis/OptiVorbis
2023-02-21 08:08:11
Oh, that's really interesting, thank you very much!
DZgas Ж
2023-02-21 08:27:23
👍
VEG
2023-02-21 08:37:31
I use Ogg Vorbis since 2004, still didn't switch to Opus.
2023-02-21 08:38:05
Quite surprised that this project wasn't announced on hydrogenaud.io where all the audio compression geeks are discussing this stuff
improver
2023-02-21 08:55:45
i wonder how this combines with aotuv libvorbis patchset
2023-02-21 08:56:44
https://github.com/AO-Yumi/vorbis_aotuv this
2023-02-21 09:05:10
reading what it does, should combine well
DZgas Ж
VEG I use Ogg Vorbis since 2004, still didn't switch to Opus.
2023-02-21 09:20:40
interesting. well, I switched to OPUS in 2017 and transferred my entire music collection to 128 and 141 kbps
VEG Quite surprised that this project wasn't announced on hydrogenaud.io where all the audio compression geeks are discussing this stuff
2023-02-21 09:21:34
this is the first time I've heard about this site. well. therefore, is extremely unpopular.
2023-02-21 09:23:03
A. It can't be. I don't have to compile anything!
VEG
2023-02-21 10:19:59
Well, it's the website where you can find developers of Opus, FLAC, and Ogg Vorbis, and many other popular audio codecs.
2023-02-21 10:20:41
I always thought that it is quite popular place to discuss audio codecs 🙂
2023-02-21 10:21:44
foobar2000 is also quite popular audio player that is supported on that forum, its author and authors of many great plugins are there also
2023-02-21 10:28:55
These days audio codecs are not as exciting as they were 10-20 years ago, people just use Spotify and don't care about audio coding, so this forum is not as active as it was back in the day, but I doubt if there is any better alternative.
Reddit • YAGPDB
2023-02-21 10:40:21
username
improver i wonder how this combines with aotuv libvorbis patchset
2023-02-22 05:00:35
I don't think it would combine at all.. aotuv is a set of patches that changes how vorbis files are created at encoding time to try to improve quality by changing how and what bits are discarded while optivorbis takes already existing vorbis files and tries what it can against them to reduce file size while changing non of the audio data in a lossy way.
2023-02-22 05:01:09
also i'm pretty sure atleast one of the optivorbis devs is already aware of aotuv
2023-02-22 05:01:41
speaking of aotuv here is a useful repo https://github.com/enzo1982/vorbis-aotuv-lancer
BlueSwordM
username also i'm pretty sure atleast one of the optivorbis devs is already aware of aotuv
2023-02-22 05:39:01
Also, important bit: almost all aotuv patches have been merged into Vorbis.
username
2023-02-22 05:39:33
in the past it seems so
2023-02-22 05:39:56
however the newer ones aren't since I don't think the people behind vorbis trust them as much anymore
2023-02-22 05:40:12
since in the past there where issues caused from aotuv
DZgas Ж
VEG These days audio codecs are not as exciting as they were 10-20 years ago, people just use Spotify and don't care about audio coding, so this forum is not as active as it was back in the day, but I doubt if there is any better alternative.
2023-02-22 07:23:27
https://cdn.discordapp.com/attachments/677266163994198020/1075905185420939374/DZgas_music_tracklist_he_aac.mp4
VEG I always thought that it is quite popular place to discuss audio codecs 🙂
2023-02-22 07:25:28
I don't think we need forums like this, download flac, compress it into opus and drop it wherever you want. Although I don't use anything except discord and telegram
2023-02-22 07:26:31
The sad thing is that there will be nothing after opus (maybe sad, opus the best)
2023-02-22 07:31:57
I would like to have a codec that has vorbis on the lower frequencies, opus on the middle frequencies, and the tops are created through a mixture of opus and he-aac v2 sbr technology, as well as stereo via ps👨‍🔬 🤤
afed
VEG I always thought that it is quite popular place to discuss audio codecs 🙂
2023-02-22 07:47:16
it was, some time ago, as was doom9 for video processing/encoding but, now, average people are much less interested in that stuff and most enthusiasts have splitted into different smaller or even private communities
sklwmp
DZgas Ж this is the first time I've heard about this site. well. therefore, is extremely unpopular.
2023-02-22 12:14:06
that's... pretty weak logic
2023-02-22 12:14:31
i'd rather you not criticize a website when you haven't (as you said) even heard of them before, without knowing anything about it
improver
2023-02-22 12:37:49
calling a website unpopular with reasoning that he haven't known of it before is such a weak logic that it's more of a comedy than criticism
username I don't think it would combine at all.. aotuv is a set of patches that changes how vorbis files are created at encoding time to try to improve quality by changing how and what bits are discarded while optivorbis takes already existing vorbis files and tries what it can against them to reduce file size while changing non of the audio data in a lossy way.
2023-02-22 12:43:56
i can't see why it would conflict. as you've said, optivorbis changes non-audio parts. while aotuv changes how audio parts are compressed
2023-02-22 12:46:20
aotuv can't re-encode existing files to be more efficient, so optivorbis devs being aware of aotuv patchset don't really tell anything
2023-02-22 12:48:23
for fresh encodes from flac, libvorbis-aotuv and optivorbis should be okay combo, provided one trusts current aotuv over official libvorbis. sorry if previous wording was confusing
username
2023-02-22 12:52:56
ah I assumed that by combined you meant aotuv being used on already existing vorbis files not in the sense of optivorbis and aotuv being used together at encoding time to have the better quality of aotuv with the lossless file size savings of optivorbis being applied after
2023-02-22 12:53:36
I didn't know that you where simply asking how well optivorbis does on aotuv encoded vorbis files
improver
2023-02-22 12:54:40
yeah i was kinda wondering but after reading details of how they do it i figured it should be fine
DZgas Ж
sklwmp that's... pretty weak logic
2023-02-22 01:17:33
quite a normal logic. I've been studying compression for more than 7 years and I don't know about this site, never bumping into it in my life. It would be logical to say that this is an unpopular site. for a very small number of people.
improver for fresh encodes from flac, libvorbis-aotuv and optivorbis should be okay combo, provided one trusts current aotuv over official libvorbis. sorry if previous wording was confusing
2023-02-22 01:22:08
*I can make a guess*. that the original official LIBvorbis wants to save the maximum legacy. And that is why they will not combine the current LIB with developments from optivorbis. Since the internal structure of the files is being compressed, I can assume that these files may have a problem when playing any non-official or just old Vorbis decoders.
zamfofex
DZgas Ж quite a normal logic. I've been studying compression for more than 7 years and I don't know about this site, never bumping into it in my life. It would be logical to say that this is an unpopular site. for a very small number of people.
2023-02-22 02:20:10
I feel like you can conclude that it’s possible for it to be an unpopular site, or maybe even that it’s likely so, but not *definitely*. Maybe you just so happen to not have run into it.
diskorduser
2023-02-22 03:06:49
It's a very popular site for codec fans. Heck even I know about it. LoL.
DZgas Ж
I feel like you can conclude that it’s possible for it to be an unpopular site, or maybe even that it’s likely so, but not *definitely*. Maybe you just so happen to not have run into it.
2023-02-22 03:23:33
well. I took the new opus and flac builds on it. it seems to be literally everything that is useful on it. I don't think I'll ever remember again.
2023-02-22 03:25:31
Oh. well great
Reddit • YAGPDB
2023-02-23 03:36:51
2023-02-23 06:30:21
2023-02-23 05:55:26
3DJ
2023-02-24 01:23:05
any good upscalers you guys recommend? I'm trying to upscale .bik (Bink) video files to replace in some old games. I haven't figured out the .bik encoding part yet, so if anyone knows a better way to do it, lemme know preferably, one that's reasonably fast (probably AI/CUDA/RTX/hardware-accelerated) upscaler+motion interpolator to target 1080p60
w
2023-02-24 01:26:09
<:uhoh:650565843851280384>
3DJ
2023-02-24 03:00:16
lmfao I cooked my GPU for this <https://imgsli.com/MTU3NjAy/0/3> upscaler my ass. it just looks like a denoiser at best, so either I'm doing something wrong, or the upscaler just sucks either way, I give up
Reddit • YAGPDB
2023-02-25 04:02:01
2023-02-25 07:35:26
2023-02-25 10:39:16
2023-02-27 04:14:11
2023-02-27 04:17:37
2023-02-28 08:57:51
Traneptora
3DJ any good upscalers you guys recommend? I'm trying to upscale .bik (Bink) video files to replace in some old games. I haven't figured out the .bik encoding part yet, so if anyone knows a better way to do it, lemme know preferably, one that's reasonably fast (probably AI/CUDA/RTX/hardware-accelerated) upscaler+motion interpolator to target 1080p60
2023-03-01 03:01:45
what about ewa_lanczos?
2023-03-01 03:09:42
``` ffmpeg -i input.bik -init_hw_device vulkan -vf 'hwupload,libplacebo=w=1920:h=1080:upscaler=ewa_lanczos:format=yuv420p,hwdownload,format=yuv420p' <output_options> ```
yoochan
2023-03-01 01:29:29
https://www.youtube.com/watch?v=BUkRlfkv2D8
Reddit • YAGPDB
2023-03-01 03:38:16
2023-03-02 04:30:26
Demiurge
2023-03-02 06:06:34
I was doing some tests with AV1 and I find that svt-av1 gives the best saturation of the CPU and the best speed but looks fugly at high speeds. aom looks much much better than svt, at the same encode speed and bitrate. rav1e probably would look better but I couldn't wait 1200 years to finish the encode.
2023-03-02 06:07:36
really I don't understand how rav1e can be so unuseably, brokenly slow
2023-03-02 06:08:37
So those are my conclusions. Hope ya enjoyed, leave a like and a comment and don't forget to ring that bell, it really helps me out okay thanks guys
DZgas Ж
Demiurge I was doing some tests with AV1 and I find that svt-av1 gives the best saturation of the CPU and the best speed but looks fugly at high speeds. aom looks much much better than svt, at the same encode speed and bitrate. rav1e probably would look better but I couldn't wait 1200 years to finish the encode.
2023-03-02 05:13:48
this is quite obvious to anyone - AOM is better than SVT-AV1. this is written on the AV1 discord server. I saw literally the same thing in the developers' comments on the new features for SVT-AV1. SVT-AV1 is ideal for streaming, it use a lot of thread. and that's it. excellent.
2023-03-02 05:15:07
SVT-AV1 is also a good solution if the task is to switch from AVC to AV1 while maintaining encoding speeds <:AV1:805851461774475316>
2023-03-02 05:16:12
the main thing is to disable CDEF
Demiurge
2023-03-02 08:03:06
what's cdef? also aom simply will NOT use all of my available CPU no matter how many tiles and row-mt I use
2023-03-02 08:03:52
aom just refuses to scale across multiple cores.
2023-03-02 08:04:11
SVT does but the quality is so bad.
2023-03-02 08:05:16
SVT is not even worth using.
2023-03-02 08:05:33
You would be better off using a different codec entirely because it defeats the purpose of AV1
2023-03-02 08:06:19
the bitrate/quality/time tradeoff is just bad, for acceptable quality you will end up with a HUGE file that is larger than older codecs
2023-03-02 08:07:03
You would be better off using x264
2023-03-02 08:07:18
that's how bad it is
2023-03-02 08:08:00
aom can produce a much better file at the same speeds as SVT-AV1, despite being crippled and using less CPU
2023-03-02 08:08:16
So I consider SVT a total failure
2023-03-02 08:08:47
On top of that, SVT does not even work unless you get the resolution exactly right
gb82
2023-03-02 09:58:15
Looks like Signal is open to AVIF support potentially. They shut down JXL pretty quick though, citing Chromium
Demiurge what's cdef? also aom simply will NOT use all of my available CPU no matter how many tiles and row-mt I use
2023-03-02 09:59:11
Try av1an
Demiurge
gb82 Looks like Signal is open to AVIF support potentially. They shut down JXL pretty quick though, citing Chromium
2023-03-02 10:02:37
wow
Traneptora
2023-03-02 10:14:37
since at this point most browsers support AVIF, what would you consider to be "sane default" settings for avif encoding?
2023-03-02 10:14:50
e.g. for jxl `-d 1` is a sane default
2023-03-02 10:15:05
anywhere from `-e 4` to `-e 7` being good options
2023-03-02 10:15:08
(lossy, that is)
2023-03-02 10:15:33
and is it really worth it when jpegli exists and I can just serve JPEGs?
BlueSwordM
Demiurge aom just refuses to scale across multiple cores.
2023-03-03 04:12:59
Activate FP MT for video.
Demiurge
BlueSwordM Activate FP MT for video.
2023-03-03 04:17:19
Do I have to use `-aom-params fp-mt=1` or something? aom has zero documentation of what switches it has or what settings are recommended.
2023-03-03 04:18:12
and ffmpeg does not have an option like that so I assume I would have to use something like what I typed above?
BlueSwordM
Demiurge Do I have to use `-aom-params fp-mt=1` or something? aom has zero documentation of what switches it has or what settings are recommended.
2023-03-03 04:19:45
That is correct.
2023-03-03 04:19:50
Sorry for pinging you.
Demiurge
2023-03-03 04:20:23
It's not enabled by default and not documented anywhere, the source tree has no instructions on the different options, who the heck is developing this?
2023-03-03 04:20:43
What an annoying library
BlueSwordM
Demiurge It's not enabled by default and not documented anywhere, the source tree has no instructions on the different options, who the heck is developing this?
2023-03-03 04:20:45
It is documented in cmd line flags of aomenc though.
Demiurge
2023-03-03 04:21:24
so I would have to either run aomenc -h or something or look at the source code to know what options it has?
2023-03-03 04:21:34
Ugh...
2023-03-03 04:23:54
Well it's not here... https://aomedia.googlesource.com/aom/+/refs/tags/v3.6.0/apps/aomenc.c
2023-03-03 04:24:59
It's not here either... https://aomedia.googlesource.com/aom/+/refs/tags/v3.6.0/aom/aom_encoder.h
2023-03-03 04:25:17
There's no obvious place in the source tree where to find the list of options.
2023-03-03 04:25:50
Am I just stupid or is libaom stupid?
2023-03-03 04:27:05
nothing in the doc/ folder too
2023-03-03 04:27:50
Either I'm really dumb, or this library is unuseable.
2023-03-03 04:30:45
There's just zero information anywhere...
2023-03-03 04:31:16
Thanks for the heads up anyways, next time I'll try that
2023-03-03 04:31:34
4x4 tiles was not helping
2023-03-03 06:08:58
https://streaminglearningcenter.com/articles/svt-av1-and-libaom-tune-for-psnr-by-default.html
2023-03-03 06:09:03
Is AV1 some kind of joke?
2023-03-03 06:09:33
libaom is not designed for humans?
Reddit • YAGPDB
2023-03-03 09:37:26
nec
2023-03-03 09:32:59
Have you tried "enable-tf=0" with svt-av1? I always thought that it simply lacks consistency, but after turning tf off it's much better.
2023-03-03 09:34:25
More details, less blocking with the price of only slightly higher filesize, around several %.
Reddit • YAGPDB
2023-03-04 06:17:21
DZgas Ж
nec Have you tried "enable-tf=0" with svt-av1? I always thought that it simply lacks consistency, but after turning tf off it's much better.
2023-03-04 07:00:34
It's better to use it. Try cdef=0
Reddit • YAGPDB
2023-03-04 01:02:26
nec
DZgas Ж It's better to use it. Try cdef=0
2023-03-04 02:41:14
In my case tf produces a solid amount of blocking like these https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1810 . But tune doesn't fix it, only disabling tf does.
Reddit • YAGPDB
2023-03-04 09:19:41
DZgas Ж
2023-03-05 02:12:55
WAV original OPUS 256 VORBIS 320
2023-03-05 02:38:46
> it has been shown before that Vorbis tends to outperform Opus at high bitrates
diskorduser
DZgas Ж > it has been shown before that Vorbis tends to outperform Opus at high bitrates
2023-03-05 03:08:05
What about aac? Does it perform better than opus at higher bitrates?
DZgas Ж
diskorduser What about aac? Does it perform better than opus at higher bitrates?
2023-03-05 10:50:02
With AAC it's simple, don't use it.
yoochan
2023-03-05 11:09:29
😄 and if you can't here the difference between two settings... why bother 🙂 personnally, I don't ear plotted spectrums
spider-mario
DZgas Ж With AAC it's simple, don't use it.
2023-03-05 11:11:29
I use it for WhatsApp media
2023-03-05 11:11:34
fdk-aac at vbr setting 4 or 5
2023-03-05 11:12:00
oh, and Discord
2023-03-05 11:12:08
or do they support newer codecs now?
2023-03-05 11:16:33
2023-03-05 11:16:37
ah, vorbis is ok
DZgas Ж
spider-mario or do they support newer codecs now?
2023-03-05 11:18:16
has always supported OPUS.
spider-mario
2023-03-05 11:18:35
I just tried Opus and the web client didn’t show playback controls as it does here for Vorbis
2023-03-05 11:18:48
or does it just need to be in the right container?
DZgas Ж
2023-03-05 11:19:17
Oh, yeah. just (literally) rename the end of the file with .opus on .ogg
jonnyawsom3
2023-03-05 12:00:46
Yep, I also noticed there's a toggle for AV1 in the settings now, I assumed it would've just been automatic
Reddit • YAGPDB
2023-03-05 02:45:31
Fraetor
Yep, I also noticed there's a toggle for AV1 in the settings now, I assumed it would've just been automatic
2023-03-05 09:10:12
That toggle if for AV1 streaming. I assume you'd turn it off if you have a buggy or non-existent hardware encoder.
Reddit • YAGPDB
2023-03-06 12:04:36
2023-03-06 06:13:21
jonnyawsom3
2023-03-06 08:31:22
I just discovered the BBC has a public R&D website, and apparently AV1 used to be pretty awful compared to what we already had https://www.bbc.co.uk/rd/blog/2019-05-av1-codec-streaming-processing-hevc-vvc
BlueSwordM
I just discovered the BBC has a public R&D website, and apparently AV1 used to be pretty awful compared to what we already had https://www.bbc.co.uk/rd/blog/2019-05-av1-codec-streaming-processing-hevc-vvc
2023-03-06 05:17:05
NOPE.
2023-03-06 05:17:13
This was a completely dipshit study at the time.
2023-03-06 05:17:24
We always complain about this study whenever someone mentions it.
2023-03-06 05:18:12
`Disabling --lag-in-frames vs VVC, 8-bit AV1 vs 10-bit VVC, not disabling lookahead for the other encoders`
afed
2023-03-06 05:20:21
it is also psnr and 2019
jonnyawsom3
2023-03-06 05:20:30
It's nearing 4 years old now so I assumed it was wrong anyway, but strange they messed it up that badly
BlueSwordM
It's nearing 4 years old now so I assumed it was wrong anyway, but strange they messed it up that badly
2023-03-06 05:22:01
It was done on purpose 😄
afed
afed it is also psnr and 2019
2023-03-06 05:27:39
and psnr is especially bad for av1 (even worse than any other codec) as a correlation with subjective results
Reddit • YAGPDB
2023-03-07 07:16:10
2023-03-08 01:03:03
2023-03-08 09:55:09
2023-03-09 01:05:43
2023-03-09 07:48:03
2023-03-09 07:59:08
DZgas Ж
2023-03-10 03:07:35
optipng -o7 -zm1-9 | 30 931 bytes webp | 28 180 bytes cjxl -e 9 -q 100 | 13 589 bytes paq8px_v208 | 6 713 bytes (faster than jxl) JPEG XL -e10 gives a significant advantage, by about 5-10% for 1-bit images. but for an image of this size, it's deadly slow speed
2023-03-10 03:10:00
https://github.com/hxim/paq8px/blob/master/model/Image1BitModel.cpp I couldn't find anything more powerful on the internet for compressing 1 bit images, at all. Even Jpeg XL is 2 times worse. Perhaps this is the most powerful of the existing functions. In addition, its code was updated just 8 months ago
MSLP
DZgas Ж optipng -o7 -zm1-9 | 30 931 bytes webp | 28 180 bytes cjxl -e 9 -q 100 | 13 589 bytes paq8px_v208 | 6 713 bytes (faster than jxl) JPEG XL -e10 gives a significant advantage, by about 5-10% for 1-bit images. but for an image of this size, it's deadly slow speed
2023-03-10 04:19:26
I wonder what exact settings -e 10 comes up with, and if the're good for most 1bpp images like this
afed
2023-03-10 04:55:02
27 003
_wb_
2023-03-10 06:28:28
I am pretty sure that jxl _could_ compress that image much better using patches fully, but likely the current patch detection isn't exhaustive enough to find all the matches
2023-03-10 06:30:29
Basically the top row could be encoded as a patch frame and then the actual image could be described just by copying rectangles from the patch frame.
2023-03-10 06:31:41
That would be more effective than pixel-level lz77 matching
yoochan
2023-03-10 06:38:13
Could an option be available to provide patches from external sources? If they are explicitly known
2023-03-10 06:39:13
Like a list of pictures provided to the command line
2023-03-10 06:56:20
Or a list of coordinates...
2023-03-10 07:00:17
Even if I fear that font rasterisation (for manga or comics) will give slightly different results for each letter
_wb_
2023-03-10 07:50:49
Subpixel rendering is annoying, and patches will only work well for synthetic font renderings, not scanned ones.
2023-03-10 07:52:03
Adding manual patches to jxl_from_tree could be interesting... Also to create funkier conformance bitstreams, since the current encoder only uses patches in limited ways (only kAdd blending, no overlapping patches, etc)
yoochan
2023-03-10 08:17:50
patch couldn't be moved by fraction of pixels ?
_wb_
2023-03-10 08:26:40
No, it's integer positions. But subpixel font rendering is becoming rare, it's too sensitive to the subpixel layout and now many screens can be oriented both ways (phones and tablets) and have high density anyway, I don't think it's still worth bothering with.
yoochan
2023-03-10 08:28:02
Yes, I was not thinking of subpixel rendering, but the fact rasterisation sometime fall on half pixels (with grey pixels)
2023-03-10 08:32:44
font hinting could help thought
_wb_
2023-03-10 11:53:02
Ah yes subpixel positioning also happens. As long as it's only two variants per letter (half pixel horizontal offset or not), I guess it's still ok. Any idea what current font renderers are doing?
yoochan
2023-03-10 12:33:37
if I remember well (from the time I was interested in this) at the time were cleartype was published (the font engine of windows) subpixel was the way to go, but without a good hinting the readability was not improved so much, and it was indeed fragile to RGB configuration, so the hinting became the thing.
2023-03-10 12:35:40
I'll try to find what libraries like pango does
2023-03-10 12:40:12
and more importantly, what we have in existing mangas
Reddit • YAGPDB
2023-03-10 03:32:13
2023-03-11 12:46:43
3DJ
2023-03-11 05:36:34
So what's the deal with 4K Blu-rays on PC? I was planning to finally get a drive but apparently best case scenario, 4K playback requires to jump through several hoops, if I'm lucky or is straight up locked to certain hardware/software (I've even read it sometimes *requires* the integrated graphics to decode it which sounds preposterous when having an RTX)
2023-03-11 05:38:12
I've been reading about recommended drives here tho tbh I'd prefer to play the video directly from the disc without having to dump it, let alone mess with flashing custom firmwares 😬 <https://forum.makemkv.com/forum/viewtopic.php?t=19634>
w
2023-03-11 06:00:28
just flash it it's easy
2023-03-11 06:00:33
get the lg
3DJ
w get the lg
2023-03-11 06:29:30
which model?
w
2023-03-11 06:30:10
they're all the same so whichever your local store has
3DJ
2023-03-11 06:30:18
and I'm assuming you've done it. does flashing allow reading UHD from common players like MPC?
w
2023-03-11 06:30:31
as long as you have makemkv installed
3DJ
2023-03-11 06:33:21
I see, so I take it makemkv has its own system-wide decrypter that's also used outside the app, right? 🤔 and does UHD require messing with fancy new codecs or something? or do you just pop in any BDXL disc and any player can load it?
w
2023-03-11 06:33:39
2023-03-11 06:33:41
you just pop it in
3DJ
2023-03-11 06:34:09
ooooh neat. I had never seen that dialog 👌
w they're all the same so whichever your local store has
2023-03-11 06:36:39
btw apparently flashing only works under certain specific conditions: > 1. Make sure your Drive was built after 2016 on label or late 2015 if you want to risk it. > 2. Drive Platform MT1959<Most important in makemkv > 3. SVC NS50+ LG only on label for NB drives NB50+ > 4. Just because your drive is the same model number does not mean it will work, if you are unsure ask me i offer remote flashing and check everything before i flash. > 5. Dont flash your dive if it does not meet these requirements if you do you will be unable to read all disks and unable to restore without dosflash that does not work on most modern computers > [...](so far, any firmware with date in 2020 is encrypted) > LG 1.04+ / BU40N 1.03 / Asus 3.10+ and similar > The newer OEM firmwares cannot be flashed easily due to the additional downgrade checks implemented by the drive/firmware manufacturer. If your drive has one of these firmwares, and there is no MK version of the same firmware/drive model or higher number, you will have to sidegrade to Asus 3.10MK (for compatible ASUS 5.25 drives ONLY) or (LG WH16NS60 1.02MK for compatible LG 5.25) or (BU40N 1.03MK LG Slim drives ONLY) respectively. (Note: MK firmware is available for firmware versions mentioned above.) Keeping the flashing of firmware in these scenarios within their respective family of drives/firmware (e.g ASUS firmware for ASUS drives and LG firmware for LG drives) at this stage of flashing. Then afterwards if that initial flash is successful you can move to different firmware respectively if you would like a different and compatible firmware version for the drive in question.
w
2023-03-11 06:36:52
i personally have the lg ~~wh16ns60~~wh14ns40. i forgot it's flashed with the same firmware
2023-03-11 06:38:54
my drive has manufactured october 2020
3DJ
2023-03-11 06:39:47
so it has an encrypted firmware? did it complicate flashing?
w
2023-03-11 06:40:16
i just clicked the button on the flashing tool
2023-03-11 06:40:43
if you can always return it, then you should just try it
2023-03-11 06:41:06
i originally planned to flash, rip, then return, but got too lazy to go to the store and return it
3DJ
2023-03-11 06:41:10
hmm you wouldn't happen to have a picture of the label, would ya? something like this
w
2023-03-11 06:42:17
let me take another
2023-03-11 06:42:19
too much glare
3DJ
2023-03-11 06:42:32
dw that's good, just had to zoom in
w
2023-03-11 06:43:11
3DJ
2023-03-11 06:47:35
so just so we're on the same page, you have managed to rip and play 4K UHD (4K/HDR) bluray XL discs after flashing, correct? just asking cuz I've read regular (non-4K) blu-rays are *way* less problematic
w
2023-03-11 06:50:09
no, I haven't tried any 4k blu ray
2023-03-11 06:51:18
but I have ripped one with aacs version 78
2023-03-11 07:04:07
oh the wording is confusing on that page
2023-03-11 07:04:15
encrypted just means that version can't be patched to support libredrive
2023-03-11 07:04:59
but if you can flash another patched firmware, it's fine
3DJ
2023-03-11 08:07:25
<@288069412857315328> yup, I think libredrive is what I need. apparently it unlocks imposed read speed limits and encryption (apparently to intentionally discourage ripping), which is probably why compatible drives are so hard to come by 😔
w
2023-03-11 08:08:22
it's mainly to be able to read the microcode so it can decrypt bluray
2023-03-11 08:08:34
something like the inner track of the disc
3DJ
2023-03-11 08:23:09
Yeah, tho I think it doesn't actually decrypt/break encryption but rather bypasses it altogether, which apparently makes it more future-proof
w
2023-03-11 08:35:21
you can bypass drm but encryption is encryption
3DJ
2023-03-11 08:42:18
wait, so those 2 are separate? I thought AACS was the DRM/encryption* libredrive bypassed, or is there another layer in the equation?
w
2023-03-11 08:43:03
you can rip a blu ray without libredrive/anything
2023-03-11 08:43:13
but the data is garbage
3DJ
2023-03-11 08:50:31
so libredrive just bypasses the encryption done by the drive/firmware, but it still needs keys/decryption of the actual raw data stored in the disc, right?
w
2023-03-11 08:50:42
and if it's a common disc, you can decrypt the data separately if you have the keys
2023-03-11 08:52:04
libredrive is to get the keys for decryption
2023-03-11 08:52:19
which is stored on the inner part of the disc
2023-03-11 08:52:28
is how I understand it
3DJ
2023-03-11 08:54:27
> The drive itself can easily read all the data technically. It is the drive embedded software (firmware) that “plays police” - decides what area of the disc can be accessed and on what conditions. > > So, how can one read the data from any area on the disc? The data on the optical disc is encoded as a series of small cavities called pits, that are organized in a spiral called a track. Had we had a sharp enough eye, we could've seen them directly. One way is to use a microscope - with a microscope one can clearly see the pits, apply standard (publicly defined) decoding algorithm and get the raw data from the disc. Obviously, this is a rather time consuming and expensive method. There is however a third way - take the drive back to the basic level. Change the optical drive embedded software in a way that the drive becomes a “primitive” device - one that just positions a laser, reads and decodes the data. Make a drive free from “policing” functionality, a drive that just passes all data from the disc to the user. We call this drive a LibreDrive.
2023-03-11 08:54:38
<https://forum.makemkv.com/forum/viewtopic.php?t=18856>
2023-03-11 08:55:47
so it doesn't really break in through the window, it just gets the key to the front door lol
2023-03-11 08:57:43
> Please note that LibreDrive mode is not about hacking or meddling with AACS code. In LibreDrive mode the updated software communicates to the drive hardware directly, not touching or hacking AACS DRM code in any way at all. So your drive will continue to self-revoke on MKB updates and require authentication before releasing key material to the "authorized" software - it is just with LibreDrive mode all of it is no longer relevant.
username
2023-03-11 03:30:02
does anyone here know anything about the removed experimental marked "delta palette" encoding feature of libwebp?
Traneptora
username does anyone here know anything about the removed experimental marked "delta palette" encoding feature of libwebp?
2023-03-11 04:03:29
delta palette is a feature of JXL that never made it into webp
Reddit • YAGPDB
2023-03-12 01:53:13
2023-03-12 02:30:23
Fraetor
3DJ I see, so I take it makemkv has its own system-wide decrypter that's also used outside the app, right? 🤔 and does UHD require messing with fancy new codecs or something? or do you just pop in any BDXL disc and any player can load it?
2023-03-12 04:47:10
UHD Blurays are encoded in H.265.
spider-mario
2023-03-12 07:35:27
and Rec. 2020 / PQ even when not particularly HDR, from what I recall
Reddit • YAGPDB
2023-03-12 11:36:28
2023-03-13 12:15:03
2023-03-13 11:52:53
2023-03-14 03:07:23
2023-03-14 01:16:03
2023-03-14 05:15:28
2023-03-14 07:00:18
_wb_
2023-03-14 07:39:59
https://bugs.chromium.org/p/chromium/issues/detail?id=1424089 can anyone reproduce this issue on their phone?
2023-03-14 07:41:12
(would be interesting to know on which devices the bug gets triggered and on which devices it doesn't)
BlueSwordM
_wb_ (would be interesting to know on which devices the bug gets triggered and on which devices it doesn't)
2023-03-14 07:50:43
Wait. If no app except for Chrome has an issue on Android, that means dav1d might be at fault since the system decode is libgav1.
_wb_
2023-03-14 07:56:25
I suspect the bug is in the integration code, not in dav1d itself. It looks to me like yuv2rgb being messed up at the edge when the image width doesn't match the neon vector width, which could explain differences between devices (depending on which arm code path they end up executing).
2023-03-14 07:57:00
Could be a bug in dav1d too, but the pink smells like a yuv2rgb messup.
2023-03-14 07:57:33
Green and pink are smelly colors in that respect
2023-03-14 07:59:58
Traneptora
_wb_ https://bugs.chromium.org/p/chromium/issues/detail?id=1424089 can anyone reproduce this issue on their phone?
2023-03-14 08:06:08
reproduced with Samsung Galaxy A51 5G
2023-03-14 08:06:18
firefox for android does not have this issue
_wb_
2023-03-14 08:07:28
Both are using dav1d, right? Probably different versions though
Traneptora
2023-03-14 08:07:34
I don't know
_wb_
2023-03-14 08:11:50
My guess is that it's a bug in the AVIF specific chrome code, not in the av1 decode itself. But I guess we will see. If my guess is right, then it's a nice example of how the "buy one get two, avif comes for free since we have av1 video anyway" argument is not entirely true...
BlueSwordM
_wb_ I suspect the bug is in the integration code, not in dav1d itself. It looks to me like yuv2rgb being messed up at the edge when the image width doesn't match the neon vector width, which could explain differences between devices (depending on which arm code path they end up executing).
2023-03-14 08:15:16
Ah, so it could be a bug in libyuv instead, which would be an AVIF bug.
jonnyawsom3
_wb_ https://bugs.chromium.org/p/chromium/issues/detail?id=1424089 can anyone reproduce this issue on their phone?
2023-03-14 08:17:08
Happens on my Huawei Mate 10 Pro
_wb_
2023-03-14 08:23:49
Not sure if chrome uses libyuv or has their own code for that. Anyway, I hope they figure it out soon. This makes avif kind of undeployable right now...
jonnyawsom3
2023-03-14 08:29:20
And there's the difference between AOM and here, we still want them to succeed too :P
_wb_
2023-03-14 08:46:49
I like any royalty-free codec. And I also like progress. The main enemy is inertia, people who say that jpeg, png and gif are good enough and we don't need new stuff. I never saw webp or avif as an enemy, they do have nice things to offer, it's just there is more that can be done and jxl is getting much more things right than the "quick hacks" that (lossy) webp and avif ultimately are (not their payload video codecs, but the wrappers that turn it into an image format)
diskorduser
2023-03-15 04:07:27
My phone has that problem. Pink line on the right edge
2023-03-15 04:09:56
Chrome has it but thorium works fine
2023-03-15 04:10:08
_wb_
2023-03-15 07:17:36
I still had Chrome 108 on my phone (stopped upgrading it), there it was ok. Now I upgraded to Chrome 111 and now I have the pink line.
2023-03-15 07:20:46
Thorium 110 is fine
Reddit • YAGPDB
2023-03-15 01:16:46
2023-03-16 07:35:47
2023-03-17 09:56:17
2023-03-18 01:01:07
username
2023-03-19 09:48:05
are there any downsides with progressive jpegs compared to baseline ones?
2023-03-19 09:49:17
they are smaller and also have the benefit of being progressive and I can't think of anything that doesn't support them
2023-03-19 09:50:13
so for example if I converted all my phone pictures from baseline to progressive in a lossless way would there be any downside what so ever?
_wb_
2023-03-19 09:57:36
Decode is slightly slower, but it's still very fast so I don't think it can really be considered a downside.
username
2023-03-19 10:01:12
yeah decode speed is the only downside I could think of and it's very negligible
2023-03-19 10:06:20
I assume one of the reasons why phones don't output progressive jpegs by default is for speed since users expect taking a photo to be a instant experience. it could also be due to the hardware encoders of phones most likely not having the ability to even output progressive although I don't know the process of how phones do hardware encoding (or even how common of a thing it is) so I could be wrong.
2023-03-19 10:08:11
It would be nice if phones provided a "optimize" option to use in galleries to convert all baseline jpegs to progressive and reduce their size all in a lossless way
2023-03-19 10:08:30
could also be used as a space saving method
ator
username I assume one of the reasons why phones don't output progressive jpegs by default is for speed since users expect taking a photo to be a instant experience. it could also be due to the hardware encoders of phones most likely not having the ability to even output progressive although I don't know the process of how phones do hardware encoding (or even how common of a thing it is) so I could be wrong.
2023-03-19 10:38:39
Also how much memory you need to use. You can compress (and decompress) baseline JPEG without needing to store the full image, one row at a time.
_wb_
2023-03-19 11:40:49
Hardware jpeg encoding is always baseline, that saves a lot in sram
Reddit • YAGPDB
2023-03-19 11:24:41
_wb_
2023-03-20 06:26:20
https://bugs.chromium.org/p/chromium/issues/detail?id=1424089
2023-03-20 06:26:26
Still no solution...
2023-03-20 06:31:14
Anyone deploying avif images with a width that is not an exact multiple of 8 is getting a pink line on Android Chrome. That's a pretty big bug. It's a bug of "rollback the avif rollout" magnitude...
improver
2023-03-20 06:33:12
that magnitude only applies when considering non-AOM formats :v)
2023-03-20 06:38:51
dark humor aside this looks like just a decoder bug which will be fixed with time tbh
2023-03-20 06:39:09
firefox' inability to display avif sequences is a lot more serious imo
_wb_
2023-03-20 06:39:19
Yes, I just wonder how it ever got into stable chrome...
improver firefox' inability to display avif sequences is a lot more serious imo
2023-03-20 06:42:23
Yes and no. Sure, it's a big bummer. But it just means you cannot use avif for animation yet, unless you only serve it to browsers that can actually play them. A regression like this is more serious, because it means we get customers who are now getting their website messed up.
improver
2023-03-20 06:43:48
it's complicated but that's probably right. i'm still salty about it though
fab
2023-03-20 06:44:23
I see also on xnview
2023-03-20 06:44:41
And I'm using latest version of it
_wb_
2023-03-20 06:46:30
It's super stupid to have avif without animation, since animation is its killer feature. And imo they shouldn't send `Accept: image/avif` headers if they are still missing such a key functionality. They're again forcing people to use the user agent string to figure out the 'real' format support, which is not how things are supposed to be.
fab I see also on xnview
2023-03-20 06:47:28
The pink lines? Really?
improver
_wb_ It's super stupid to have avif without animation, since animation is its killer feature. And imo they shouldn't send `Accept: image/avif` headers if they are still missing such a key functionality. They're again forcing people to use the user agent string to figure out the 'real' format support, which is not how things are supposed to be.
2023-03-20 06:47:50
yeah that's exactly my issue with it
fab
2023-03-20 06:47:53
All the images pink
2023-03-20 06:47:58
On Windows 10 also
2023-03-20 06:48:05
But i'm using Firefox
2023-03-20 06:48:14
I don't know if is a Firefox problem
2023-03-20 06:48:18
I think yes
2023-03-20 06:48:33
Because bluecord beta lags
2023-03-20 06:48:52
But discord with a latest updated included
2023-03-20 06:48:54
Don't
_wb_ https://bugs.chromium.org/p/chromium/issues/detail?id=1424089
2023-03-20 06:49:34
I don't know
Reddit • YAGPDB
2023-03-20 08:30:26
gb82
2023-03-21 12:16:11
I think there’s a Firefox flag in latest that allows animated AVIF
Reddit • YAGPDB
2023-03-21 07:15:36
2023-03-22 02:20:23
2023-03-22 09:08:13
afed
2023-03-23 09:30:06
https://www.reddit.com/r/programming/comments/11zto8z/i_implemented_a_nasa_image_compression_algorithm/
Reddit • YAGPDB
2023-03-23 10:05:48
2023-03-23 11:57:52
2023-03-25 01:36:12
2023-03-25 06:29:48
2023-03-25 03:17:48
DZgas Ж
2023-03-26 12:13:45
😃
Reddit • YAGPDB
2023-03-26 01:26:17
Deleted User
2023-03-26 06:45:37
palemoon has JXL support but not AVIF support. this is due to JXL having better adoption than AVIF.
2023-03-26 06:45:54
i dont know what reality Moonchild lives in but i want in
username
2023-03-26 06:47:18
sadly Shopify websites only serve JXL images if the browser also supports AVIF
2023-03-26 06:47:54
which means Pale Moon won't see or get JXL files on Shopify sites
2023-03-26 06:48:34
I want to report this to Shopify but I really don't know how to
Deleted User
2023-03-26 06:49:29
you could try in https://community.shopify.com/c/shopify-community/ct-p/en
2023-03-26 06:49:55
dont know how much success you'd get though
Reddit • YAGPDB
2023-03-26 08:05:52
BlueSwordM
palemoon has JXL support but not AVIF support. this is due to JXL having better adoption than AVIF.
2023-03-27 03:23:32
Wait what?
2023-03-27 03:23:37
That's really strange.
gb82
2023-03-27 03:43:54
oh my god *please make it stop*
Reddit • YAGPDB
2023-03-27 06:25:17
Deleted User
2023-03-27 05:40:03
In the year of our lord 2023, Discord still lacks full support for webp.
gameplayer55055
2023-03-27 05:41:14
piston moment
Reddit • YAGPDB
2023-03-27 08:53:03
Demez
In the year of our lord 2023, Discord still lacks full support for webp.
2023-03-27 09:55:41
hopefully one day it will have full support 😔
_wb_
2023-03-28 11:16:05
https://twitter.com/nirbheek/status/1640311607535505411?t=SI0_Dk5Cy3ngOYafWCkz0A&s=19
2023-03-28 11:18:18
This is a problem with hardware implementations: when you find fuzzerbugs, good luck mitigating them after deployment...
Reddit • YAGPDB
2023-03-28 11:55:48
yoochan
_wb_ This is a problem with hardware implementations: when you find fuzzerbugs, good luck mitigating them after deployment...
2023-03-29 06:35:53
The pun in the abstract 👌"Modern video encoding standards such as H.264 are a marvel of hidden complexity. But with hidden complexity comes hidden security risk."
gameplayer55055
2023-03-29 08:15:56
and frustration. hopefully ffmpeg is dope and does the job
novomesk
2023-03-29 11:28:20
A game develover is creating HLIF ("Halley Lossless Image Format") https://twitter.com/amzeratul/status/1640139569575198721
_wb_
2023-03-29 01:18:15
There will always be room for special-purpose formats, but I would recommend against it. One of the worst ways to lose assets is to have them in a format that nobody knows how to decode.
yoochan
2023-03-29 01:27:56
I would certainly prefer a very good codec with traction, support and an ISO norm, capable of supporting a wide range of applications, than a better codec (you'll always find a better codec)
DZgas Ж
novomesk A game develover is creating HLIF ("Halley Lossless Image Format") https://twitter.com/amzeratul/status/1640139569575198721
2023-03-29 03:36:51
He was told about FJXL which is already in libjxl ?
2023-03-29 03:38:04
Judging by the fact that it's not in the tests, he doesn't know about it. maybe he's wasting his time
veluca
2023-03-29 04:56:11
to be fair, I probably wouldn't use fjxl for pixel art 😉
DZgas Ж
veluca to be fair, I probably wouldn't use fjxl for pixel art 😉
2023-03-29 05:44:20
I just now saw that it does not show the encoding time, which means that it is probably not fast. So need to tell him about -e 10 🙂
_wb_
veluca to be fair, I probably wouldn't use fjxl for pixel art 😉
2023-03-29 06:13:31
It's probably not horrible. It has palette and rle, so at least the basics are there. Probably if we add the Select predictor (which is probably better than Gradient for pixel art), it would be pretty decent...
zamfofex
2023-03-29 06:16:38
It would be interesting to see a JPEG XL encoder optimized for pixel art! I’m currently using `cjxl -e 10` for a pixel art sequence I’m working on, and it was fine at first, but now that I have over ten pages, it takes a good several minutes to complete. (Though I shouldn’t be reencoding existing pages, it’s just that it was more convenient to regenerate the website altogether every time.)
jonnyawsom3
2023-03-29 08:25:35
Only -e 10? Because there are ways to have it run much faster and for better sizes if so
Traneptora
2023-03-29 09:09:28
what do you suggest instead?
Reddit • YAGPDB
2023-03-29 09:17:32
jonnyawsom3
It would be interesting to see a JPEG XL encoder optimized for pixel art! I’m currently using `cjxl -e 10` for a pixel art sequence I’m working on, and it was fine at first, but now that I have over ten pages, it takes a good several minutes to complete. (Though I shouldn’t be reencoding existing pages, it’s just that it was more convenient to regenerate the website altogether every time.)
2023-03-29 10:07:39
Generally for pixel art something like `cjxl -d 0 -g 3 - e 5` To start with, I can't remember the rest off the top of my head
w
2023-03-29 10:40:40
and how is that better sizes than -e 10
jonnyawsom3
2023-03-29 10:48:13
Because lossy doesn't work well with pixel art, to the point you need to lower the quality by about 6x to compete, you can still do -e 9 with what I put above, but lossless is generally slower. Depends on the image sizes
w
2023-03-29 10:48:53
tbf there was nothing about lossy/lossless i assumed it was already lossless
jonnyawsom3
2023-03-29 10:49:21
It defaults to *visually* lossless
w
2023-03-29 10:49:53
i mean what zamfofex is doing
jonnyawsom3
2023-03-29 10:50:53
That's why I asked if they were only using -e 10 and nothing else
w
2023-03-29 10:51:35
oh
2023-03-29 10:51:52
I'm still on the e9 E3 I100
jonnyawsom3
2023-03-29 10:52:55
I've actually found I1 works better than 100 occasionally
2023-03-29 10:53:32
Wish I made notes of all my testing now...
w
2023-03-29 10:53:33
i cant even tell, these numbers keep changing all the time
2023-03-29 10:53:39
used to be max 1
2023-03-29 10:53:43
then 100
2023-03-29 10:54:05
was it an addition? or was it a change in scale
2023-03-29 10:54:09
no idea
zamfofex
That's why I asked if they were only using -e 10 and nothing else
2023-03-29 10:56:57
Ah. Yeah, I do pass in `-d 0`. 🙂
jonnyawsom3
2023-03-29 10:57:46
Huh, I actually didn't think -e 10 worked with -d 0, it's only listed for lossy
afed
2023-03-29 11:00:24
e10 works only for lossless and yeah `I100` is not always better also instead of a full bruteforce `-e 10`, something like the best of `e9` `E3` `I1`/`I100` `g2`/`g3` can be faster and not much worse
w
2023-03-29 11:00:43
need new e11 that does that
retr0id
2023-03-29 11:02:59
Anyone know the answer to my question here? (RE: JPEG non-XL, heh) https://twitter.com/David3141593/status/1641183616792248321
2023-03-29 11:03:23
I'm guessing it's related to the "2:1 horizontal subsampling" they mention - but why did they do that?
2023-03-29 11:06:48
here's what those values look like visualised, assuming I transcribed them from the PDF properly
jonnyawsom3
afed e10 works only for lossless and yeah `I100` is not always better also instead of a full bruteforce `-e 10`, something like the best of `e9` `E3` `I1`/`I100` `g2`/`g3` can be faster and not much worse
2023-03-29 11:13:36
Ah yeah, right, I got it reversed
_wb_
retr0id I'm guessing it's related to the "2:1 horizontal subsampling" they mention - but why did they do that?
2023-03-30 05:06:54
Horizontal-only subsampling was common at some point, I assume because lots of things like TV broadcasting and CRTs were quite different horizontally than vertically...
2023-03-30 05:08:45
Or maybe it's because horizontal subsampling is just easier to do when doing things row-by-row (or MCU row-by-row)
MSLP
2023-03-30 06:26:50
Regarding TV broadcasting - interlaced frame encode was common, and vertical subsampling would subsample from 2 different fields, which I guess would cause more artifacts?
retr0id
2023-03-30 09:15:36
thanks - so assuming your pixels are square and you're not doing horizontal subsampling, you'd probably want your quantisation table to be symmetrical along the diagonal, right?
2023-03-30 09:16:14
I wonder how many people took that example from the spec and used it in scenarios it was never intended for lol
Jyrki Alakuijala
_wb_ Horizontal-only subsampling was common at some point, I assume because lots of things like TV broadcasting and CRTs were quite different horizontally than vertically...
2023-03-30 10:24:31
they still do that in video codecs
_wb_
MSLP Regarding TV broadcasting - interlaced frame encode was common, and vertical subsampling would subsample from 2 different fields, which I guess would cause more artifacts?
2023-03-30 10:38:16
right, interlacing is basically temporal vertical subsampling
retr0id
retr0id I wonder how many people took that example from the spec and used it in scenarios it was never intended for lol
2023-03-30 11:06:22
answer: "almost everyone"
Jyrki Alakuijala
2023-03-30 11:15:16
gravity makes horizontal and vertical directions different
2023-03-30 11:15:42
to have different frequency properties
2023-03-30 11:16:08
also most cameras are hold with the right hand, and people don't know how to hold it straight, so usually horizon slopes down towards right in a picture
2023-03-30 11:16:28
if you optimize a transform for a large image corpus, you will see these tendencies
retr0id
2023-03-30 11:20:32
are there any JPEG encoders that look at the actual content of an image, to derive the ideal quantisation table for that content?
2023-03-30 11:20:55
(given some perceptual metric to optimise for)
Jyrki Alakuijala also most cameras are hold with the right hand, and people don't know how to hold it straight, so usually horizon slopes down towards right in a picture
2023-03-30 11:23:10
hah interesting, I've recently started using a "real" digital camera and I noticed the same tendency in my own pics (since it's heavier than the phone-cameras I'm used to)
spider-mario
2023-03-30 12:17:36
most cameras have a built-in level to prevent that, and some of them with stabilised sensors can even rotate the sensor to align it even if the camera itself is tilted
Reddit • YAGPDB
2023-03-30 12:20:22
2023-03-30 12:48:43
2023-03-30 06:47:47
novomesk
2023-03-31 08:27:05
QOI support was added into GIMP 2.99.x https://gitlab.gnome.org/GNOME/gimp/-/commit/6892ab0530b759b63200696d9b5c9c1d6e12d22e
DZgas Ж
2023-04-01 12:05:52
🤨 why
MSLP
2023-04-01 02:44:56
probably because it's quite ok
yoochan
2023-04-01 06:57:06
Because it seems easy...
_wb_
2023-04-01 07:17:01
Why not. I don't think anyone cares if the install size of Gimp becomes 0.01% larger.
Reddit • YAGPDB
2023-04-01 10:31:34
novomesk
2023-04-01 02:36:21
There was user demand for QOI in GIMP, it was easy to implement and there was a willing developer to do the work.
MSLP
2023-04-01 02:38:39
But how do you pronounce it? Like french quoi?
jonnyawsom3
2023-04-01 03:53:29
Queue, oh, eye I'd guess. It is an acronym after all
yoochan
2023-04-01 03:56:47
Or ko-i like the Japanese fish
Reddit • YAGPDB
2023-04-02 01:15:54
2023-04-04 12:49:13
username
2023-04-04 03:49:15
which one of these JPEGs has more generation loss?
2023-04-04 03:49:21
I actually don't know
2023-04-04 03:49:53
also I don't have the original image these are the highest quality ones I could find
2023-04-04 03:50:57
I see the colors are different between them but I don't know which one is more indicative of generation loss for JPEG
2023-04-04 03:59:36
I have no clue how many layers of generation loss these have but I know that they branched off at some point because some areas of the image have less or more artifacts then other areas
2023-04-04 04:00:16
the main thing that I think matters in this case is the colors not the artifacts
jonnyawsom3
2023-04-04 04:55:55
2 is clearer and has very slightly more color to it, at least in my eyes
improver
2023-04-04 04:59:08
its like 2nd has less ringing artifacts
2023-04-04 04:59:17
but wouldn't conclude that its got more color
2023-04-04 04:59:32
in some areas 1st has more color variations
2023-04-04 04:59:41
is this turbojpeg vs mozjpeg
2023-04-04 05:01:04
also second one is probably better presentation
username
improver is this turbojpeg vs mozjpeg
2023-04-04 05:01:14
I have no clue as I can't find the original image and I don't know how many times these have been converted
improver
2023-04-04 05:01:16
but without knowing source its not known which one is more precise
2023-04-04 05:02:27
probably still 2nd due to noticeably less ringing artifacts & less unnaturality of colors in some areas (back of this creature looks more colored in first but imo not exactly naturally so)
_wb_
2023-04-04 05:04:38
You can look at histograms of the quantized dct coefficients and see if there are suspicious patterns that hint at a previous encode with different quantization constants
username
2023-04-04 05:16:36
_wb_ You can look at histograms of the quantized dct coefficients and see if there are suspicious patterns that hint at a previous encode with different quantization constants
2023-04-04 05:19:25
I assume that both of these images have been re-encoded multiple times it's just that some of the later generations where done with different quality parameters between the two of them, so I don't know if looking at the histograms would be helpful since both of these have very likely been re-encoded multiple times over.
monad
2023-04-04 05:49:55
just take the mean and call it a day
username
2023-04-04 05:52:12
I think i'm going to go with the first one because I think the extra colors in the second one is from color bleeding
jonnyawsom3
monad just take the mean and call it a day
2023-04-04 05:54:58
"Get your own rat and make a new image"
Reddit • YAGPDB
2023-04-04 06:44:39
2023-04-04 07:29:18
2023-04-06 02:23:13
2023-04-06 10:39:13
2023-04-06 03:51:44
2023-04-06 09:16:59
2023-04-09 09:02:54
2023-04-10 09:57:49
2023-04-10 11:15:44
2023-04-10 07:44:54
2023-04-11 12:57:34
2023-04-11 07:14:29
2023-04-12 03:05:24
2023-04-12 01:54:19
2023-04-12 05:19:35
2023-04-12 07:52:19
2023-04-13 05:53:49
2023-04-13 09:40:39
2023-04-14 02:44:49
2023-04-14 02:24:09
2023-04-18 08:39:49
2023-04-18 11:43:00
2023-04-19 06:57:10
2023-04-20 08:03:31
2023-04-21 09:02:50
2023-04-21 10:00:55
2023-04-22 10:54:15
2023-04-22 11:48:25
2023-04-23 12:28:34
2023-04-23 12:34:35
JendaLinda
2023-04-23 05:32:06
Interesting, progressive jpegs tend to be smaller than baseline jpegs, even smaller than optimized Huffman. I didn't expect that. Is there some other optimization in place? Good thing baseline jpegs can be losslessly transcoded to progressive and vice versa.
Demez
2023-04-23 05:53:17
yeah it's something i didn't expect either, so i have converted all my photos taken from my phone and camera to progressive jpeg's and tons of downloaded jpeg's to progressive
_wb_
JendaLinda Interesting, progressive jpegs tend to be smaller than baseline jpegs, even smaller than optimized Huffman. I didn't expect that. Is there some other optimization in place? Good thing baseline jpegs can be losslessly transcoded to progressive and vice versa.
2023-04-23 06:18:07
In progressive jpeg, similar frequencies are encoded together, so effectively it works like a fork of context modeling for the entropy coding.
diskorduser
2023-04-23 06:18:36
Which tool could be used for converting jpg losslessly to progressive jpg
username
diskorduser Which tool could be used for converting jpg losslessly to progressive jpg
2023-04-23 06:23:37
https://github.com/tjko/jpegoptim/
JendaLinda
diskorduser Which tool could be used for converting jpg losslessly to progressive jpg
2023-04-23 06:37:27
jpegtran can do that. IrfanView's losssless jpeg transformations can do that in batch as well.
diskorduser
2023-04-23 06:38:05
Thanks
JendaLinda
2023-04-23 06:40:55
Optimized Huffman and progressive can be specified at the same time but it seems progressive overrides Huffman anyway.
2023-04-23 06:43:15
Huffman makes no difference in progressive.
2023-04-23 07:01:04
jpegtran produces slightly smaller progressive files than IrfanView. Supposedly they're using different libraries.
Demez
JendaLinda jpegtran produces slightly smaller progressive files than IrfanView. Supposedly they're using different libraries.
2023-04-23 07:04:26
it does have this option that hints toward mozjpeg
JendaLinda
2023-04-23 07:15:36
I have a version of jpegtran from IJG. That doesn't have this option.
2023-04-23 07:16:46
That's the version I could find precompiled for Windows.
Demez
2023-04-23 07:20:28
i just got mine from mozjpeg, so that option kinda makes sense https://github.com/mozilla/mozjpeg/releases/tag/v4.0.3
username
Demez i just got mine from mozjpeg, so that option kinda makes sense https://github.com/mozilla/mozjpeg/releases/tag/v4.0.3
2023-04-23 07:27:03
that release is outdated the new one is here: https://github.com/mozilla/mozjpeg/issues/91#issuecomment-1218082085
2023-04-23 07:28:20
Mozilla locked down permissions on github so no one is able to attach the files for the new release on github
Reddit • YAGPDB
2023-04-23 09:00:44
DZgas Ж
2023-04-24 10:31:34
Is it true that there is no codec that could be decoded faster than jpeg baseline? (with the best compression quality of course)
Fraetor
DZgas Ж Is it true that there is no codec that could be decoded faster than jpeg baseline? (with the best compression quality of course)
2023-04-24 05:10:19
No. For one you could have uncompressed, then you can get into the ludicrously fast GPU texture type codecs.
jonnyawsom3
2023-04-24 05:32:47
http://www.radgametools.com/oodle.htm
Reddit • YAGPDB
2023-04-24 06:26:04
2023-04-24 07:07:04
DZgas Ж
Fraetor No. For one you could have uncompressed, then you can get into the ludicrously fast GPU texture type codecs.
2023-04-24 07:13:08
It's a good idea
Reddit • YAGPDB
2023-04-25 05:46:29
2023-04-25 07:31:44
2023-04-25 11:16:04
2023-04-25 05:53:09
2023-04-25 07:13:34
2023-04-26 04:50:04
2023-04-26 08:35:09
2023-04-26 09:13:54
2023-04-26 09:42:24
2023-04-26 09:42:29
2023-04-27 02:36:59
2023-04-27 04:37:39
2023-04-27 06:31:39
DZgas Ж
2023-04-28 07:43:36
Casually studying mozjpeg in order to make a previews of my site (guetzli is too slow) I was surprised to find that "Enable trellis optimization of DC coefficients (default)" just kills pixels.
2023-04-28 07:46:55
And that's with that - that the file size is identical. I don't understand at all how this is possible
2023-04-28 07:54:37
at the same time, such death is most noticeable on ssim. then on hvs-psnr, but on psnr it is completely absent - last is the only one where everything works as it should
2023-04-28 08:03:07
I also noticed that with -notrellis, the -tune-psnr and -tune-ssim parameters do the same job, and with -tune-hvs-psnr, they do a different one