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

Reddit • YAGPDB
2023-10-30 09:04:23
2023-10-30 03:40:33
2023-10-30 04:38:23
2023-10-31 12:14:33
2023-10-31 02:22:33
2023-11-01 11:35:08
2023-11-01 11:14:48
2023-11-02 09:20:33
2023-11-03 04:47:48
gb82
2023-11-04 03:28:42
Anyone know about the QOI codec?
Quackdoc
2023-11-04 03:35:46
qoi, actually not that bad for image sequences decent perf is nice
190n
2023-11-04 03:41:12
it's pleasant to implement
2023-11-04 03:42:20
i think on big modern CPUs it's generally worse than cjxl e1 (slower and worse compression ratio), but it could be a good option on platforms like microcontrollers where code size is limited and you have no floating point/SIMD
2023-11-04 03:43:09
i haven't tested how much ram cjxl lossless e1 needs but that would probably be an advantage for qoi as well
w
2023-11-04 03:43:23
just use deflate (png)
190n
2023-11-04 03:44:23
isn't that slower than qoi? how much ram does it use?
w
2023-11-04 03:45:02
super easy to implement and can do row-wise so tiny amount of ram
190n
2023-11-04 03:45:05
iirc the mandatory state that a qoi encoder must track as it processes the image is... 196 bytes?
w
2023-11-04 03:45:37
and the systems will already have zlib
2023-11-04 03:46:21
<:trollface:834012731710505011>
gb82
2023-11-04 03:53:59
> QOI is fast. It losslessly compresses images to a similar size of PNG, while offering 20x-50x faster encoding and 3x-4x faster decoding.
w
2023-11-04 03:54:52
we already had this conversation
2023-11-04 03:59:59
https://discord.com/channels/794206087879852103/805176455658733570/966934603044646952
190n
2023-11-04 04:01:49
lol i forgot about that
2023-11-04 04:01:56
what's "density"? lower/farther right is better?
w
2023-11-04 04:02:09
up and right is better
190n
2023-11-04 04:03:01
i know that i just don't understand the x axis unit
veluca
190n what's "density"? lower/farther right is better?
2023-11-04 07:43:39
higher and right is better
Reddit • YAGPDB
2023-11-05 11:24:48
2023-11-06 04:54:48
Demiurge
2023-11-06 09:13:50
QOI is missing important features, but the simplicity makes it easy to implement your own encoder/decoder from scratch. It seems to be incredibly difficult to even merely write a decoder for JXL because of how complicated it is. But it beats QOI by a huge margin in speed and efficiency at the same time, as well as features
2023-11-06 09:17:23
There is a huge amount of potential in the creativity of jpegxl encoders in the future... Assuming people in the future can implement their own encoder, or not be intimidated by signing a Google CLA and getting down and dirty with C++.
2023-11-06 09:18:43
I feel like C is far more welcoming to read someone else's code in.
w
2023-11-06 09:21:55
whats wrong with c++
2023-11-06 09:23:13
if you dont like some extra features just dont use them
2023-11-06 09:23:29
i for one appreciate smart pointers and most of the stl
Demiurge
2023-11-06 09:24:25
That advice doesn't help when you're reading someone else's code and wanting to comprehend it quickly without wasting time thinking about how the language works
w
2023-11-06 09:24:37
but you dont have to think
2023-11-06 09:24:47
I find you have to think harder with c when there's manual memory crap
2023-11-06 09:26:16
i mean, it's called c++ not d
2023-11-06 09:26:35
the languages don't work differently outside of syntactic sugar
Demiurge
2023-11-06 09:28:28
Takes a couple of days to learn C but a couple lifetimes for C++ because it seems they have a juvenile tendency to add every single feature they can think of on top of the C language for compatibility reasons, like they are compulsively ticking features off a checklist before actually thinking about how it fits into the rest of the language or how to actually design a distinct language that's quick to read and comprehend.
w
2023-11-06 09:28:56
<:autistThinking_WA:347470937727172626>
fab
2023-11-06 09:29:06
I did a custom ssimulacra
2023-11-06 09:29:19
But I don't know how to compile
2023-11-06 09:29:38
Microsoft azure they compile in a hour a day
2023-11-06 09:29:47
I'm not a dev
2023-11-06 09:30:09
And the compile process for a recent vspck build looks difficult
2023-11-06 09:30:19
Like very lot
2023-11-06 09:30:51
I can read ssimulacra2 readme
2023-11-06 09:30:57
The software is small
2023-11-06 09:31:11
But I don't know anything
2023-11-06 09:31:29
I have a ssimulacrac file and i want to use a compiler
Demiurge
2023-11-06 09:31:42
Compiling should be easy. If a project is difficult to compile then it usually means something is wrong with the project.
2023-11-06 09:32:18
A lot of so called build systems are complete soydev
fab
Demiurge Compiling should be easy. If a project is difficult to compile then it usually means something is wrong with the project.
2023-11-06 09:32:19
Do you know how to change ssimulacra c in ssimulacra2 source and build the exe
2023-11-06 09:32:46
Demiurge
2023-11-06 09:32:55
I haven't read the project source for that
fab
2023-11-06 09:33:04
Shouldn it encode for JPEG XL
2023-11-06 09:33:26
2023-11-06 09:33:48
Ah you use powershell and you don't like input exe
Demiurge
2023-11-06 09:33:58
Only thing worse than soydev software is "enterprise" software
fab
2023-11-06 09:34:02
I don't do for ffmpeg
2023-11-06 09:34:07
Or for qoa
2023-11-06 09:34:16
I just type ffmpeg or qoa
Demiurge
2023-11-06 09:35:05
I can't help rn fab. Maybe later if you send me a link to where you got the original sources to compile
2023-11-06 09:35:15
I'll teach you how to compile
2023-11-06 09:35:23
If I have time later
w
2023-11-06 09:35:23
c is like english. fab is speaking english++ but it doesnt mean it's easier or harder for us to understand it.
Demiurge
2023-11-06 09:36:51
C was designed. It was designed to be very quick to learn. The textbook to learn it is extremely thin, and it is the best computer science textbook ever written (the k&r book).
2023-11-06 09:37:31
C++ was not designed at all, to be anything, except to add every feature you can think of and duct tape it to C grotesquely
2023-11-06 09:37:57
Thoughtlessly
2023-11-06 09:38:08
It's a juvenile mentality
w
2023-11-06 09:39:00
it's a language and like english, it evolves over time
Demiurge
2023-11-06 09:39:11
And it's very enterprise-ready because the investors love the check boxes and buzzwords like "object oriented"
w
2023-11-06 09:39:23
it's designed by and for humans who also change and adapt over time
2023-11-06 09:39:55
I don't claim to like the language as a whole but I can appreciate the efforts made by humans and all you have done is badmouth them
Demiurge
w it's designed by and for humans who also change and adapt over time
2023-11-06 09:40:23
So is fake maple syrup. Doesn't mean it's any good...
w
2023-11-06 09:40:41
that's subjective
2023-11-06 09:41:01
like anything "fake", it has its purpose
2023-11-06 09:41:29
I'm canadian and I have no issue with fake maple syrup
Demiurge
2023-11-06 09:42:57
I think it is a little offensive that people are trying to get other people to put literal fake food into their mouths to save a few dollars
w
2023-11-06 09:43:21
it's more offensive to deny the luxury to those who can't afford it
2023-11-06 09:43:41
if you really want to get into the politics of it we can
Demiurge
2023-11-06 09:43:47
At a certain point, certainly there is a line that would be crossed where it is simply in bad taste and offensive to try to convince people to eat garbage to save money
w
2023-11-06 09:46:15
no
2023-11-06 09:46:36
i mean
2023-11-06 09:46:52
wow you just solved poverty, obesity, and world hunger
Demiurge
2023-11-06 09:46:57
If you want to take it to an extreme, you could offer to poop directly into someone's mouth since it will be cheaper than buying real food
w
2023-11-06 09:47:05
and some people do
Demiurge
2023-11-06 09:47:34
But most people will, and should, be insulted by that offer
2023-11-06 09:48:08
I think it crosses the line sooner than that though
w
2023-11-06 09:48:16
obviously eating shit is more obviously harmful
Demiurge
2023-11-06 09:49:38
I get slightly insulted, when I am dining out, and I ask for butter and get brought margarine to my table instead... Especially when it's an expensive place.
w
2023-11-06 09:49:52
ok margarine is different
Demiurge
2023-11-06 09:50:15
Why try to make me eat fake garbage? It's unkind to me.
w
2023-11-06 09:50:27
do you have any idea
2023-11-06 09:50:31
what margarine is
2023-11-06 09:50:36
it's not fake butter
Demiurge
2023-11-06 09:50:42
And not just me either. It's just unkind
w
2023-11-06 09:50:44
it has its uses in cooking
Demiurge
2023-11-06 09:51:10
Well, a packet called "vegetable spread"
2023-11-06 09:51:20
And no it really has no use in cooking at all
2023-11-06 09:51:39
Last time I tried to cook with it, it smelled horrible as soon as it softened and melted
2023-11-06 09:51:57
It doesn't work like cooking oil does
w
2023-11-06 09:52:00
???
2023-11-06 09:52:05
https://tenor.com/view/im-not-surprised-surprise-o-meter-surprise-measure-meter-gif-16407723
Demiurge
2023-11-06 09:59:28
And the ingredients are usually horrid, like hydrogenated rape oil and other things that your body can't even deal with.
190n
Demiurge If you want to take it to an extreme, you could offer to poop directly into someone's mouth since it will be cheaper than buying real food
2023-11-06 09:59:29
i gotta say this message caught me off guard while reading the c/c++ debate
Reddit • YAGPDB
2023-11-06 09:40:28
2023-11-07 01:40:38
2023-11-07 02:15:18
2023-11-07 09:10:28
2023-11-07 09:48:33
2023-11-07 11:56:58
2023-11-08 09:27:28
2023-11-08 10:04:58
afed
_wb_ Interesting. I will have to check if XPSNR is any good for still images.
2023-11-08 01:08:49
i don't remember if xpsnr has been tested since then, or is it not really worth it? <https://github.com/fraunhoferhhi/xpsnr> at least how much better or worse than vmaf, being a less ml metric also recent jpegli comparisons would be interesting to see, since development is not very active or finished at the moment (though I still can't get a dll for a quick libjpeg replacement) or is there no free time for such tests right now?
2023-11-08 01:13:57
http://www.ecodis.de/xpsnr.htm
gb82
_wb_ Interesting. I will have to check if XPSNR is any good for still images.
2023-11-08 06:41:14
I've done a good amount of testing with XPSNR, and I think it is strong for video because of how fast it is, but it isn't really very useful for still images unless you're comparing across the same codec
2023-11-08 06:43:03
Aggressive PSNR tunes will make XPSNR think your encode is better than it actually is in my experience, but other than that it is great as a secondary benchmark along something like SSIMULACRA2. AFAIK if it has any problematic shortcomings (like VMAF currently does) they haven't been discovered & widely exploited yet, besides maybe tuning heavily for PSNR which clearly hurts visual fidelity but XPSNR won't think so
Reddit • YAGPDB
2023-11-08 09:55:08
2023-11-09 08:59:38
2023-11-10 11:43:48
2023-11-10 04:44:23
2023-11-10 05:17:58
2023-11-11 08:31:33
2023-11-12 08:54:43
2023-11-12 12:44:28
2023-11-14 04:04:33
2023-11-14 11:12:33
2023-11-15 12:17:53
2023-11-15 11:33:08
2023-11-15 11:33:43
2023-11-15 11:33:58
2023-11-16 09:56:03
2023-11-16 10:05:23
2023-11-17 09:48:43
2023-11-18 12:14:08
2023-11-19 07:37:28
2023-11-20 04:20:58
2023-11-21 10:02:13
2023-11-22 07:14:53
3DJ
2023-11-22 08:05:06
TIL about lossless JPEG editing <https://www.betterjpeg.com/download.htm>
2023-11-22 08:05:38
2023-11-22 08:07:14
seems legit, I guess?
2023-11-22 08:07:48
is there a better way to tell for sure or did I get pranked?
Posi832
2023-11-22 09:23:24
Intriguing...
yurume
2023-11-23 06:51:31
technically sound, but there are lots of caveats
2023-11-23 06:54:04
so the idea must be to manipulate images as a set of already quantized JPEG blocks. the website doesn't exactly say this, only says that it doesn't touch unaltered pixels, but then retouching doesn't make much sense, so there would have to be something more
2023-11-23 06:55:21
> BetterJPEG allows for brightness and color correction of JPEG images without recompression, avoiding loss of quality. The lossless brightness and color correction is done by adjusting so-called zero-frequency (DC) coefficients in a corresponding color component.
2023-11-23 06:55:25
oh yeah, that should be it
2023-11-23 06:56:31
lossless resizing and cropping is already well known, jpegtran did it for decades
Reddit • YAGPDB
2023-11-23 01:17:13
2023-11-24 03:25:08
2023-11-25 07:59:48
2023-11-26 06:10:38
2023-11-27 05:32:28
2023-11-27 11:46:13
2023-11-27 01:14:43
2023-11-27 05:26:18
2023-11-28 03:34:43
2023-11-29 02:27:48
2023-11-29 07:40:58
2023-11-29 08:04:38
2023-11-29 08:37:53
2023-11-30 11:53:53
2023-11-30 08:03:53
2023-11-30 10:32:38
2023-12-02 08:51:38
2023-12-03 09:38:43
2023-12-04 03:41:28
2023-12-04 06:12:23
2023-12-04 02:14:18
2023-12-05 03:13:18
afed
2023-12-05 11:34:04
https://blogs.loc.gov/thesignal/2023/12/embracing-ffv1-matroska-container-preferred/
Reddit • YAGPDB
2023-12-06 10:54:58
2023-12-07 11:47:33
2023-12-07 08:01:33
2023-12-07 09:52:53
2023-12-07 11:58:38
2023-12-08 11:35:53
2023-12-12 04:09:53
2023-12-12 04:21:38
DZgas Ж
2023-12-12 11:20:42
Hmmmm armv7 ffmpeg 6.1 has a problem with the dav1e decoder for av1😮‍💨
2023-12-12 11:22:13
Quackdoc
2023-12-12 11:22:34
I wonder how rav1d does
DZgas Ж
Quackdoc I wonder how rav1d does
2023-12-12 11:26:45
but I don't have it... actually I'm looking at the list of items. it looks like I can't decode av1 at all lol
Quackdoc
2023-12-12 11:28:26
weird
DZgas Ж
2023-12-12 11:36:36
I wanted to compare the decoding speeds of av1 with and without cdef. and also with the number of keyframes. in fact, I have such a problem that I got my hands on a redMI 9a device, and it decodes av1 Hardware worse than on the processor! It's lagging! HW on scenes with a lot of movement, it just decodes 5 frames at sec, but on CPU all is fine, what the
2023-12-12 11:40:12
720p 24 fps av1
jonnyawsom3
DZgas Ж 720p 24 fps av1
2023-12-12 12:40:34
Is that what you were trying to decode? Or the stable performance it achieved?
Reddit • YAGPDB
2023-12-12 03:40:33
2023-12-12 06:05:03
2023-12-14 05:28:03
DZgas Ж
2023-12-15 05:17:21
My friend wrote me a message: A convenient service for visualizing commands in ffmpeg, with clear descriptions. There are also presets that cover 90% of the ffmpeg experience. https://alfg.dev/ffmpeg-commander/ And I wrote to him: Where is the x264 setting of the aq parameter fucking this is one of the most important parameters that saves the codec in 2023 and it is not there 90% of the programs that make ffmpeg gui do the same shit, what the fuck is the news?
2023-12-15 05:19:41
then I went to the first glance search results for information about the x264 keys This guy didn't test anything at all https://silentaperture.gitlab.io/mdbook-guide/encoding/x264.html
2023-12-15 05:23:03
It's just bullshit, where it from Psy and deadzone-intra/inter are responsible for the noise Ahaha, how can he even know about this if he just doesn't have a fucking written about the last parameter 👏 ||And so I studied on these fucking guides 3 years ago||
Reddit • YAGPDB
2023-12-15 07:03:18
2023-12-16 06:56:03
2023-12-18 04:51:18
2023-12-18 05:19:18
2023-12-18 01:48:28
2023-12-18 08:13:08
2023-12-19 03:45:03
2023-12-20 05:54:33
2023-12-21 06:22:23
2023-12-25 12:36:38
2023-12-25 04:51:19
2023-12-25 12:12:03
2023-12-25 07:31:29
w
2023-12-25 07:32:39
man r/av1 sucks ass
Quackdoc
2023-12-25 08:14:49
> this is a different approach to the weekly posts with a similar question. Ah, a true connoisseur of questions, going with the monthly delicacy
Reddit • YAGPDB
2023-12-25 08:40:44
w
2023-12-25 11:09:22
can r/av1 not be put in this channel
2023-12-25 11:09:56
or even in this server
2023-12-25 11:10:10
there has not been a single useful/meaningful post
fab
2023-12-25 11:10:42
Av2 is going to be out
Quackdoc
2023-12-25 11:11:14
well the iamf post is nice for audio nerds, iamf is some pretty dope stuff
BlueSwordM
w can r/av1 not be put in this channel
2023-12-25 11:57:06
Untrue. When I post, it's somewhat useful.
2023-12-25 11:57:22
To be fair though, when I post something good, people notice.
w
2023-12-26 05:09:05
I mainly mean the bot that posts everything from r/av1
2023-12-26 05:09:38
I don't mind if an individual shares a post to discuss it or whatnot
Reddit • YAGPDB
2023-12-27 11:52:44
2023-12-27 07:56:44
2023-12-28 02:08:19
2023-12-28 06:18:14
2023-12-29 01:47:14
2023-12-29 01:04:20
2023-12-29 03:41:54
2023-12-29 04:33:24
2023-12-29 10:22:34
2023-12-30 12:30:59
2023-12-30 09:14:54
DZgas Ж
2023-12-31 09:37:30
2 -pass vp9 realtime speed 8 - breaks the frame in a random place with noticeable frequency. the broken codec.
Reddit • YAGPDB
2023-12-31 12:05:04
DZgas Ж
2023-12-31 01:02:12
I found that exporting (x264 FFmpeg 6.0) to mkv on the second pass completely breaks the frame chain, making a shift of 2 frames, everything that was received on 1 pass (that is, in the original file, the key-frame positions are shifted by 2 frames relative to the actual frame change) pass1 ```[out#0/mp4 @ 000001d07fa2b440] video:1605kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.494954% **frame= 602** fps= 80 q=-1.0 Lsize= 1613kB time=00:00:10.00 bitrate=1321.2kbits/s dup=2 drop=0 speed=1.33x``` pass 2 ```[libx264 @ 000001dea52c7480] specified frame type is not compatible with max B-framesed=1.24x [libx264 @ 000001dea52c7480] slice=P but 2pass stats say B [out#0/matroska @ 000001dea4a92e80] video:1726kB audio:172kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.441943% **frame= 600 **fps= 75 q=-1.0 Lsize= 1907kB time=00:00:10.00 bitrate=1562.0kbits/s speed=1.25x```
2023-12-31 01:04:24
when using mp4, everything works good.
2023-12-31 01:07:16
Since I'm doing Twitch Stream encoding, in which a variable number of frames* is possible*, I understand why the value dup=2 is written - because it seems to be correct. But why it depends on the container mp4/mkv is not entirely clear to me.
Reddit • YAGPDB
2023-12-31 06:10:19
2023-12-31 06:15:48
afed
2024-01-01 10:02:49
https://hydrogenaud.io/index.php/topic,125248.msg103720 `HALAC, like the HALIC, focuses on a reasonable compression ratio and high processing speed`
2024-01-01 10:03:04
2024-01-01 10:03:06
2024-01-01 10:03:12
DZgas Ж
afed https://hydrogenaud.io/index.php/topic,125248.msg103720 `HALAC, like the HALIC, focuses on a reasonable compression ratio and high processing speed`
2024-01-01 01:28:42
I'm too lazy to do my own tests, but it usually kills any codec and project: ```flac.exe -peml 12 -r 8 -A subdivide_tukey(5) IN.wav```
afed
2024-01-01 01:45:12
it's more speed codec than for maximum possible compression
DZgas Ж
afed it's more speed codec than for maximum possible compression
2024-01-01 01:45:52
Although the speed looks tempting, it reminds me of the project of wavelet-based image codec, which will never be popular, because speed is not as important as quality nowadays. To be honest, among the codecs that take exclusively speed, I know only 3 examples, AVC for video, Vorbis for sound in game, and webp as a replacement for jpg. But I don't see any reason why lossless audio storage might need the speed of its packaging. As far as I know from my experience, audio compression to the original flac is performed only once in the history of the sound itself. You don't need to work with him more than once. Using a speed-specific codec for lossless compression looks completely hopeless Its only hope is to be a significant percentage stronger to compress than flac... But it's not like that... It would be better if HALAC was encoded 100 times longer, producing better results than flac... but at the moment, when the codec is not superior to its competitor, No one will pay attention to his speed this is not the ZSTD way, this is not the Vorbis way, and even more so not the JXL way. When speed is not the main advantage, but only a very good addition to an already best codec
Reddit • YAGPDB
2024-01-01 04:22:04
2024-01-01 11:08:03
2024-01-02 04:26:49
2024-01-03 12:52:28
2024-01-05 11:50:32
2024-01-06 01:24:12
2024-01-06 04:24:17
2024-01-06 10:11:47
2024-01-07 01:15:17
2024-01-07 01:50:02
DZgas Ж
2024-01-07 12:43:27
lol
Reddit • YAGPDB
2024-01-07 05:40:23
2024-01-07 07:19:27
2024-01-07 10:39:17
DZgas Ж
2024-01-08 11:20:55
wow! opusenc is genuis Using the built-in parameter **--set-ctl-int 4008=1104** gives better top quality than if you resampling to 24000 hz in advance apparently the codec uses information about the frequencies that are being cut off to make a block of frequencies for them
2024-01-08 11:22:16
And also, I noticed this a long time ago, but I want to say in particular that libopus ffmpeg encoding always makes everything worse than opusenc, even though it should be identical in quality, it is far from the case
2024-01-08 11:26:32
2024-01-08 11:28:19
And yes, opusenc is much more careful to observe the set bitrate over a long period of time, while ffmpeg always gives a little lower than the set one (while the parameters of the stereo frequency distribution are directly linked to the digits of the bitrate set during encoding)
Reddit • YAGPDB
2024-01-08 05:21:12
2024-01-09 08:08:05
2024-01-09 10:40:16
2024-01-10 12:20:25
DZgas Ж
2024-01-10 08:21:51
VVC dec in ffmpeg now
2024-01-10 08:22:00
<:H266_VVC:805858038014672896>
yoochan
2024-01-10 08:25:28
logo not far from wc, is it a sign ?
diskorduser
DZgas Ж VVC dec in ffmpeg now
2024-01-10 08:25:48
Is there any windows/linux video player with vvc support?
afed
2024-01-10 08:29:20
https://github.com/MartinEesmaa/VVCEasy
DZgas Ж
diskorduser Is there any windows/linux video player with vvc support?
2024-01-10 09:03:53
https://fxtwitter.com/FFmpeg/status/1742599774203691222
afed
2024-01-10 09:59:52
ffvvcdec has no support for palette and intra-block coding yet, also slower than vvdec but it is good that ffmpeg has a native decoder
jonnyawsom3
2024-01-10 03:05:15
> this is the most sophisticated decoder ever written in FFmpeg! An achievement and a concern, 1080p AV1 already stresses my CPU
Cacodemon345
2024-01-10 05:18:33
Also why VVC? No GPUs for desktop support it yet even.
Quackdoc
2024-01-10 05:25:55
hehe vvc
2024-01-10 05:26:18
can't wait for the shenanigans relating to it being distributed in gpl binaries
Reddit • YAGPDB
2024-01-10 05:55:45
2024-01-12 12:36:16
2024-01-13 01:41:50
2024-01-13 02:25:15
2024-01-13 11:14:30
DZgas Ж
2024-01-15 01:55:19
mp3 320 opus 320 aac 320 When inverting a track with the original
damian101
2024-01-15 02:02:19
this basically means Opus has worse PSNR
2024-01-15 02:02:44
well, almost
fab
2024-01-15 02:03:32
How you got Nino D'Angelo flaca alaC
2024-01-15 02:03:49
I want that website
2024-01-15 02:24:20
Which Browser to use: Guide https://chat.openai.com/share/f7ffb38e-0590-4e96-8e1a-e2ae69efb2da
Reddit • YAGPDB
2024-01-16 03:12:21
2024-01-16 07:10:56
2024-01-16 10:20:26
2024-01-17 12:00:11
2024-01-17 09:46:51
2024-01-17 04:48:41
yoochan
2024-01-18 08:46:07
<@1048625218190585988> emma development stopped in 2019, the main author Marcio Pais also contributed to paq8px, both are general purpose compressors optimised for some image formats, but this discord is not about the smallest lossless encoder, but about jxl, which is a best take on image compression, with some compromise
JKGamer69
2024-01-18 04:04:17
What's paq8px? Is it better than EMMA? Where can I find it?
Reddit • YAGPDB
2024-01-19 12:28:11
2024-01-19 11:33:51
2024-01-20 12:23:26
2024-01-20 12:41:46
2024-01-21 09:37:36
JKGamer69
2024-01-22 01:12:39
Well, I made 1 MB PNG files with VirtualDub2, but it's INCREDIBLY slow. Is there a faster way to make them?
Reddit • YAGPDB
2024-01-22 01:16:21
2024-01-22 04:29:35
diskorduser
JKGamer69 Well, I made 1 MB PNG files with VirtualDub2, but it's INCREDIBLY slow. Is there a faster way to make them?
2024-01-22 05:04:31
Try using an easier format like BMP or if possible set png compression to low.
Reddit • YAGPDB
2024-01-22 04:07:55
2024-01-24 12:19:01
2024-01-24 06:35:06
2024-01-25 02:58:55
2024-01-27 11:06:01
2024-01-28 12:19:01
2024-01-28 12:37:01
DZgas Ж
2024-01-30 09:43:39
vp9 2-pass is real rofl. random frames randomly lose the unblocking filters in the middle of the scene. incomprehensible quality jumps down in the middle of a static scene. 2pass avc looks better than 2pass vp9
2024-01-30 09:45:53
as I understand it, av1 has the same problems. although I just don't have time to do aomenc 2 pass tests when parallelizing into 3 damn Threads. it is much better to use hevc for 2pass. or even faster, avc
2024-02-01 05:15:24
https://evanhahn.com/worlds-smallest-png/
_wb_
2024-02-01 05:48:42
Reminds me of this: https://cloudinary.com/blog/one_pixel_is_worth_three_thousand_words
veluca
_wb_ Reminds me of this: https://cloudinary.com/blog/one_pixel_is_worth_three_thousand_words
2024-02-01 06:15:12
how big was the smallest jxl again?
_wb_
2024-02-01 06:19:20
The smallest valid jxl file is 12 bytes iirc, but it's not 1 pixel. Not sure what's the smallest 1 pixel jixel file, maybe 14 bytes or so.
jonnyawsom3
veluca how big was the smallest jxl again?
2024-02-01 07:10:14
512x256 The base64 encoding is the filename
2024-02-01 07:10:26
https://embed.moe/https://cdn.discordapp.com/attachments/805176455658733570/1202692404457504789/wrBwiDBAwASyAY.jxl?ex=65ce6196&is=65bbec96&hm=bcf90527b9b84e386cb9e1236901a39caff92d3847f0ba15fe7f3e439f490fc4&
2024-02-01 07:11:45
So 1 million times more black pixels per byte than PNG ;P
_wb_
2024-02-01 07:15:16
Well jxl can do multiple-of-8 dimensions a bit more concisely, and 512x256 is the largest dimension it can do in a short header 🙂
2024-02-01 07:15:46
1x1 would need more bytes than 8x8 or 512x256
jonnyawsom3
2024-02-01 07:16:41
Considering the header size for a packet is larger than that file, you can't get a whole lot smaller overall
Fraetor
_wb_ The smallest valid jxl file is 12 bytes iirc, but it's not 1 pixel. Not sure what's the smallest 1 pixel jixel file, maybe 14 bytes or so.
2024-02-01 07:37:51
According to [the JPEG XL overview presentation](https://docs.google.com/presentation/d/1LlmUR0Uoh4dgT3DjanLjhlXrk_5W2nJBDqDAMbhe8v8/edit#slide=id.gde87dfbe27_0_43) you can get a white pixel in 17 bytes, and a transparent one in 19.
_wb_
2024-02-01 07:44:02
Ah nice, thanks for reminding me of that table 🙂
Fraetor
2024-02-02 12:57:39
From trying to manually encode an image, I think it might be possible you can shave another byte off. I'll have to actually construct that to see if I've missed anything though.
sklwmp
https://embed.moe/https://cdn.discordapp.com/attachments/805176455658733570/1202692404457504789/wrBwiDBAwASyAY.jxl?ex=65ce6196&is=65bbec96&hm=bcf90527b9b84e386cb9e1236901a39caff92d3847f0ba15fe7f3e439f490fc4&
2024-02-02 01:56:02
URL: `data:image/jxl;base64,/wr/BwiDBAwASyAY` the slashes get lost in the filename lol
2024-02-02 01:56:31
much better than the PNG `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQAAAAA3bvkkAAAACklEQVR4AWNgAAAAAgABc3UBGAAAAABJRU5ErkJggg==`
jonnyawsom3
sklwmp URL: `data:image/jxl;base64,/wr/BwiDBAwASyAY` the slashes get lost in the filename lol
2024-02-02 02:17:36
The slashes and the colons got removed, so I thought I'd just make it the bare string rather than `dataimgagejxlbase64` Although now I see what you mean too
username
2024-02-03 09:50:40
WebKit has officially removed support for JPEG2000: https://commits.webkit.org/273978@main
_wb_
2024-02-03 09:55:57
Sad for J2K, though I guess it will still work in Safari, right?
Cacodemon345
2024-02-03 11:26:38
I doubt.
Jim
2024-02-03 03:02:34
J2K was never designed as a web format so it's odd they added support. But they at least gave it a good long run and now see that it is not going to pick up any steam.
_wb_ Sad for J2K, though I guess it will still work in Safari, right?
2024-02-03 03:12:02
So far it appears to be supported up to 17.4 - but that commit was made yesterday so Apple likely already solidified the version of WebKit they are using in that version of Safari. The commit only affects Nightly at the moment. As far as I can tell, Safari doesn't use a proprietary backend for handling media like Windows/Edge does. Once the commit lands in a future WebKit version and Safari comes out with a new major version supporting the newer WebKit version, I expect support in that version to turn red: https://caniuse.com/jpeg2000
spider-mario
Jim So far it appears to be supported up to 17.4 - but that commit was made yesterday so Apple likely already solidified the version of WebKit they are using in that version of Safari. The commit only affects Nightly at the moment. As far as I can tell, Safari doesn't use a proprietary backend for handling media like Windows/Edge does. Once the commit lands in a future WebKit version and Safari comes out with a new major version supporting the newer WebKit version, I expect support in that version to turn red: https://caniuse.com/jpeg2000
2024-02-03 03:43:07
when we asked about jpeg xl in webkit, they said: > The most important point you need to know is that Safari doesn't use WebKit's image decoders at all, so if you want JPEG XL to work in Safari, contributing JPEG XL support to WebKit is not likely going to achieve your goal.
2024-02-03 03:43:43
> This is pretty much accurate as far as the Apple port is concerned; image format support depends on OS library support, rather than anything in WebKit.
Quackdoc
2024-02-03 03:44:27
afaik only playstation and gnome web/epiphany use webkit for image support. some smaller things probably too
Jim
spider-mario > This is pretty much accurate as far as the Apple port is concerned; image format support depends on OS library support, rather than anything in WebKit.
2024-02-03 03:49:18
Interesting, so it is based on an OS-specific library. So it will really be up to Apple as to whether they continue to support J2K.
_wb_
2024-02-03 03:53:07
I see no real reason not to support it. I assume they want to keep OS support for J2K, so it's not like keeping support in Safari really costs anything.
Jim
2024-02-03 03:54:14
This also brings about another potential question: could the other browsers use the OS-specific library? I wonder if Firefox could add support for these libraries and fall-back to the built-in image support if the format is not supported by the OS or vice-versa (use the OS-library even if the format is not supported by the browser). Chrome probably won't do this but I wonder if there would be a way to do it via an extension. Granted, at least Firefox would likely not do this due to potentially supporting patent-encumbered formats - would that somehow cause an issue for them?
_wb_
2024-02-03 03:55:33
Using OS libraries is mostly just inconvenient for portability, if you want it to run on Windows/macOS/Linux...
Jim
2024-02-03 03:58:54
Not really inconvenient. They already have quite a bit of OS-specific code to support various things like DX, OpenGL, Wayland, etc. When they built it for an OS, it just leaves out all the OS-specific code for other OSes. It would mostly just be annoying that one OS may support format X while other OSes don't. Granted, if major OSes started supporting a given format it would likely put pressure on the browser devs to add support if other OSes can't use the format.
MSLP
2024-02-03 04:00:30
using os libraries as fallback would be also convinient in case of patented formats (especially video), since the OS may have a license for them
Quackdoc
2024-02-03 04:00:36
It has pros and cons, its nice to ensure a "uniform ecosystem". something android and apple actually care about :D
_wb_
2024-02-03 04:08:06
IIRC Chrome does have support for HEVC only if you happen to have hardware support for it (so the hardware covers the patent licensing)
Quackdoc
2024-02-03 04:09:19
https://cdn.discordapp.com/emojis/721359241113370664.webp?size=48&name=yep&quality=lossless
damian101
2024-02-03 04:10:18
oh, that makes sense
Jim
Quackdoc It has pros and cons, its nice to ensure a "uniform ecosystem". something android and apple actually care about :D
2024-02-03 04:18:05
Edge does this. It uses Window's supported formats on Windows but uses Chromium's formats on other OSes.
2024-02-03 04:20:59
But I don't think it falls back when something isn't supported.
Cacodemon345
2024-02-03 04:21:34
Wait, then does Edge actually support JXR?
2024-02-03 04:21:41
On Windows?
damian101
2024-02-03 04:23:37
isn't JXR completely uncompressed?
_wb_
2024-02-03 04:24:02
JXR is somewhere between JPEG and J2K in terms of compression
damian101
2024-02-03 04:24:45
oh, I think I confused it with EXR
Cacodemon345
2024-02-03 04:25:31
Wikipedia claims that Edge doesn't support JXR anymore since the Chromium switch, but using WIC would throw a wrench into that.
Quackdoc
oh, I think I confused it with EXR
2024-02-03 04:26:20
exr has compression, it can even do lossy, exr my beloved
damian101
2024-02-03 04:28:54
I think I only came across uncompressed ones...
2024-02-03 04:29:03
makes more sense for production I guess
Jim
2024-02-03 04:37:16
According to the Microsoft documentation, JXR appears to only be supported as a desktop background and only if the monitor is capable of HDR. So my guess is that it is some sort of "hacked-in" support? My guess it that it won't work with WIC.
username
2024-02-03 04:42:00
huh? JXR has been a built in WIC codec in Windows for years and years https://learn.microsoft.com/en-us/windows/win32/wic/jpeg-xr-codec
Jim
2024-02-03 04:45:38
Wow, their documentation is so fragmented. I must have been looking at something older.
username
2024-02-03 04:45:53
also a lot of things Microsoft have done or added to Windows ever since Win10 are horrible horrible unnecessary hacks
Jim
2024-02-03 04:46:20
But they don't even list the AV1/AVIF extension and this document was updated last month. https://learn.microsoft.com/en-us/windows/win32/wic/native-wic-codecs
2024-02-03 04:48:48
I know Edge doesn't support AV1/AVIF unless you have the extension installed.
sklwmp
2024-02-04 07:12:52
On my Win11 machine, I can open JXR files just fine on Photos (built-in photos app), but not Edge. Edge just downloads the file.
JKGamer69
2024-02-05 08:48:37
Any programs that can open BMF and EMMA files?
yoochan
2024-02-05 09:06:37
Emma is not a graphical format, just a general compressor. Only original apps can open them
2024-02-05 09:13:22
It was made by marcio pais long time ago and is not developed anymore https://encode.su/threads/2459-EMMA-Context-Mixing-Compressor
JKGamer69
2024-02-05 09:22:08
and BMF?
lonjil
2024-02-05 10:58:24
I find the Library of Congres's preferred format lists quite interesting. Here is what they prefer for video, with the caveat that they always prefer the original format (i.e., for motion pictures, they'd want a big bag of J2K image files, since that's how movies are distributed to theatres): 1. Interoperable Master Format. I have never heard of this, but apparently it involves a lot of XML and apparently uses J2K? 2. FFV1. Open source represent, hell yeah! They specifically want it in MKV, which makes sense. 3. ProRes. Um, Apple represent, I guess? 4. MPEG-2. Lol. 5. XDCAM. Isn't this just MPEG-2 in a Sony-shaped container?
2024-02-05 11:03:15
lol for textual works they want either certain XML-based markup stuff like EPUB3, BITS, DocBook, or PDF. They dislike but will accept XHTML, HTML, other XML-based document formats like DOCX (OOXML 2012), SGML, other even worse XML formats, other even even worse XML formats, web optimized PDFs, and finally, RTF, plain text, or "Widely-used proprietary word-processing formats"
2024-02-05 11:04:19
For still images they prefer TIFF, J2K, PNG, and JPEG. Dislike but accept PSD, J2K part 2, DNG, proprietary raw formats, and finally, GIF.
_wb_
2024-02-05 11:06:00
Archival is an interesting use case...
yurume
2024-02-06 01:01:53
to be frank any file format would be fine for archival provided that a working implementation is bundled
2024-02-06 01:02:22
so the problem is the implementation itself
2024-02-06 01:02:52
for example, if you can compile that implementation to wasm, the only thing matters now would be the wasm specification
2024-02-06 01:05:08
and the wasm itself would be allowed to be arbitrarily complex
VcSaJen
2024-02-06 05:50:07
Looks like MS Edge supports AVIF now. That was kinda weird, all other companies claimed that they can't deviate from upstream, meanwhile MS deviated just fine.
Quackdoc
VcSaJen Looks like MS Edge supports AVIF now. That was kinda weird, all other companies claimed that they can't deviate from upstream, meanwhile MS deviated just fine.
2024-02-06 02:25:09
at the very least, MS actually had experience with web browser devel and resources, so thats not really that out there
jonnyawsom3
2024-02-11 07:02:14
Huh, I noticed this in the gif2webp tool > -mixed ................. for each frame in the image, pick lossy or lossless compression heuristically Wonder if it's actually smart, or just brute forces and tries both
username
Huh, I noticed this in the gif2webp tool > -mixed ................. for each frame in the image, pick lossy or lossless compression heuristically Wonder if it's actually smart, or just brute forces and tries both
2024-02-11 07:23:14
in `anim_encode.c`
2024-02-11 07:23:29
it seems to do it based on the amount of colors?
jonnyawsom3
2024-02-11 07:34:38
Huh, I suppose that is a rather fast and easy way to check, even if not very exhaustive
JKGamer69
2024-02-13 02:46:50
How do I make jpgs without any artifacts?
Nova Aurora
JKGamer69 How do I make jpgs without any artifacts?
2024-02-13 08:21:10
The original JPEG is lossy even at q100 AFAIK, which means that even at the highest quality you'd have SOME compression artifacts, this is just how lossy codecs work, either you learn to live with them, and find a quality level that you're comfortable with, or you jump to lossless and eat the storage and transmission cost
yoochan
JKGamer69 How do I make jpgs without any artifacts?
2024-02-13 08:22:30
with cjxl and -d 0.0 you won't have a single artifact
Nova Aurora
yoochan with cjxl and -d 0.0 you won't have a single artifact
2024-02-13 08:25:08
Isn't jxl d0 q100?
yoochan
2024-02-13 08:26:12
indeed, both activate the lossless compression
JKGamer69
yoochan with cjxl and -d 0.0 you won't have a single artifact
2024-02-13 04:10:25
Is that for jpgs or jxls?
yoochan
2024-02-13 04:11:11
jxl, with -d 0.0 you will convert png to jxl losslessly
username
2024-02-14 02:59:29
the next version of libwebp (whenever it comes out) is going to re-enable usage of the color cache feature when encoding lossless alpha channels after it being disabled for around 9 years: https://github.com/webmproject/libwebp/commit/34c807491586d047586ef3b14ebaf945c188d1f0
2024-02-14 03:00:15
I had my own personal fork where I enabled this but it's great to see it actually getting enabled in mainline libwebp!
2024-02-14 03:00:49
I honestly thought they might have forgotten about it after 9 years
jonnyawsom3
2024-02-14 03:21:35
How much of an effect does it have?
username
How much of an effect does it have?
2024-02-14 03:26:09
it means this can now be used by the encoder for alpha channels. as for how much of an effect it has? I'm not really sure how useful it is for alpha channels specifically but I do remember it making one of my test images larger at the default effort level which is kinda a bad thing...
2024-02-14 03:26:42
so uh mixed I guess? with some images getting larger by the encoder being dumb at the default effort level
2024-02-14 03:27:14
I really haven't done much tests at all with it soo I don't have enough data for proper results
jonnyawsom3
2024-02-14 03:28:20
Yeah... I mean a 'color cache' on an alpha channel doesn't exactly sound promising based on the name alone
username
username so uh mixed I guess? with some images getting larger by the encoder being dumb at the default effort level
2024-02-14 03:30:00
also the size/output was the exact same at higher effort since the encoder figured out it was not beneficial to use the color cache on the image I gave it so it just turned it off
Yeah... I mean a 'color cache' on an alpha channel doesn't exactly sound promising based on the name alone
2024-02-14 03:31:39
yeah I figured the same thing. it will probably only really be useful for images with uncommon like alpha channels
2024-02-14 03:32:51
as for why it was disabled 9 years ago it's because the 0.4.x series of libwebp had problems like this: https://bugs.chromium.org/p/webp/issues/detail?id=291
a goat
2024-02-16 07:37:41
What's a good lossless GPU accelerated codec I can use to keep images compressed in memory?
HCrikki
2024-02-16 08:06:16
any derivative of binomial's basis, uastc in particular
fab
2024-02-19 03:55:04
Encoding vp9 is difficult I tried like 50 integral transforms to get this at 2mbps using my quantizer
2024-02-19 03:55:28
3840x2160px
2024-02-19 04:03:15
I did 32% better than this 17:03
2024-02-19 04:03:34
Even betta,r sound
2024-02-19 04:13:05
I don't think my brain can do better than this, i have short attention span
lonjil
2024-02-19 10:47:40
I recall reading that the fastest growing web image format after 2010 was progressive jpeg. Might have even seen a graph to that effect. Does anyone have a link to that data, or perhaps even to such a graph?
a goat
HCrikki any derivative of binomial's basis, uastc in particular
2024-02-20 09:06:58
This is perfect, thank you!
2024-02-20 09:10:45
On another note: what would be a good method for (visually) losslessly re-encoding 4k 10bit 4:2:2 h265 files out of my camera? My G9 has had some firmware updates since its initial 2018 release, but I'm assuming it's still using old codecs that are also optimized for compression speed than file size
2024-02-20 09:15:44
I don't mind some information loss, as long as it's relatively uniform along the luminance and chrominance channels as these are flat profile videos
HCrikki
2024-02-20 09:19:34
is the endgoal reducing the final filesize? if not, keeping the og files as they are is better than recompressing
a goat
HCrikki is the endgoal reducing the final filesize? if not, keeping the og files as they are is better than recompressing
2024-02-20 10:26:34
Yep, that's the end goal
HCrikki
2024-02-21 12:41:19
Whats the average video bitrate? Need it playable somewhere particular?
a goat
HCrikki Whats the average video bitrate? Need it playable somewhere particular?
2024-02-21 02:16:20
150-200 Mb/s. I'm just looking for a newer and less speed vs quality compromised container format
jonnyawsom3
2024-02-21 03:21:04
That's less a limit of the format and just a limit of the hardware
damian101
a goat 150-200 Mb/s. I'm just looking for a newer and less speed vs quality compromised container format
2024-02-21 01:12:53
what has the container format to do with this....
CrushedAsian255
2024-02-21 10:11:18
im pretty sure container format is not really the bottleneck
2024-02-21 10:12:50
a 11gb mkv file has overhead of `0.06%` (7mb)
2024-02-21 10:13:19
unless you're using mpeg-ts, then container overhead is pretty much nothing
2024-02-21 10:13:36
mpeg ts has `3.2%`
2024-02-21 10:13:45
which is around 300MB for an 11GB video
spider-mario
2024-02-21 10:18:02
I think it was just imprecise language
2024-02-21 10:18:27
not really a strong conviction that it was specifically the container that was to blame and not the codec
fab
2024-03-02 02:11:20
Netflix adopts AV1 codec for streaming content on its Android app In a recent announcement, the publisher Netflix revealed that they have begun online streaming of content using the AV1 codec on their Android app. This high-performance codec offers a 20% improvement in compression performance compared to VP9. AV1 is a next-gen video codec developed to replace the VP9 standard by the Alliance for Open Media, with founding members including Google, Netflix, Amazon, and other prominent content providers. Netflix emphasizes their plan to roll out AV1 content on all their platforms. The company notes that this codec is well-suited for mobile platforms as mobile networks can be unreliable, and their customers may have limited data plans. The increased compression performance results in relatively lower data consumption, making the integration of the AV1 standard into the mobile app a sensible move. Netflix now utilizes the AV1 codec for streaming content on its Android app - Download Netflix for Android. - Download Netflix for iPhone. Netflix reveals that their AV1 codec 'utilizes the dav1d open-source decoder developed by the Videolan, VLC, and FFmpeg communities, and is sponsored by the Alliance for Open Media'. The company mentions optimizing the decoder to stream Netflix's 10-bit color content. Netflix is also working to 'further optimize 10-bit performance' to enhance all applications using the codec. Currently, streaming with AV1 is limited to selected titles. Users wanting to try AV1 content or reduce mobile data usage can do so by enabling the Save Data feature in the app. With the gradual adoption of this video codec, both hardware-level and contributor-driven improvements, it will be interesting to see how AV1 will replace VP9, or even HEVC/H.265 in the future. https://Mytour.vn/netflix-bat-dau-dung-av1-codec-de-stream-noi-dung-tren-ung-dung-cho-android-26331n.aspx BurnAware Free is an efficient CD and DVD burning tool that
HCrikki
2024-03-02 02:38:31
only lossless way is to archive the original files on burnable bluray discs or a spare hard drive/NAS from which you can stream any bit you need ondemand (ie for video editing or rebroadcasting in current formats or different output)
2024-03-02 02:38:58
then compress to a format that minimizes deviation from the source material
2024-03-02 02:41:03
anyway youre starting with bitrate so high you could easily compress it down. try a sample video in av1ador with different outputs and visually confirm wich parameters give you a result youre fine with
2024-03-02 02:42:04
its a tool leveraging ffmpeg to run paralel encodes with preview/compareason
2024-03-02 03:35:01
just make sure you use software codecs, theyll consistently preserve more detail for your chosen bitrate compared to hardware encoders
fab
2024-03-02 03:54:45
Thanks for your tutorial
2024-03-02 05:16:55
2024-03-02 05:16:56
Obs developer denny working on huge progress
DZgas Ж
2024-03-03 08:05:48
more recently (1-2 years ago) I was laughing at svt-av1. But the current version 1.8.0 is currently superior to vp9 at an identical encoding speed. (tests on preset 12 and preset 13) for encode video-game-gameplay
afed
2024-03-03 08:12:17
svt-av1 still has blockiness artifact issues but, has become more useful for higher quality encoding, especially with the community fork https://github.com/gianni-rosato/svt-av1-psy
afed svt-av1 still has blockiness artifact issues but, has become more useful for higher quality encoding, especially with the community fork https://github.com/gianni-rosato/svt-av1-psy
2024-03-03 08:16:54
w
2024-03-03 09:49:55
these community "psy" forks need to stop
afed
2024-03-03 10:14:35
despite the name, without this fork, svt-av1 is less usable for higher quality encodings, because it's over-tuned for metrics and streaming quality and blockiness is a core issue in svt-av1, something wrong with bit distribution though, some not very hacky changes from the community are accepted in the svt-av1 main branch, unlike aom, which has very close development
Quackdoc
2024-03-03 10:19:11
the forks will stop when they don't need to exist [lul](https://cdn.discordapp.com/emojis/853492073301540894.webp?size=48&quality=lossless&name=lul)
afed
2024-03-03 10:29:01
yeah, rav1e doesn't have such forks because community based from the beginning <:KekDog:805390049033191445>
w
2024-03-03 10:33:25
i just mean that they are all garbage
2024-03-03 10:35:27
it's all just copium
afed
2024-03-03 10:38:01
nope, these are much more significant visible changes than the x26x forks (although they can be useful too, for better fine-tuning) but when these changes will be merged, this fork will be less needed, maybe tune 3 and sharpness adjustment other than that, just if needed Dolby Vision and some fancy features https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/2105
w
2024-03-03 10:38:25
nuh uh
Quackdoc
2024-03-03 10:38:42
It's a significant difference [yep](https://cdn.discordapp.com/emojis/1075610585141628928.webp?size=48&quality=lossless&name=yep) it helps a lot indeed
w
2024-03-03 10:39:17
literally the only response
2024-03-03 10:41:58
followed by 1 bitrate comp that only shows noise in encoder
2024-03-03 10:42:08
or cherry picked 100000 bitrate comp
afed
2024-03-03 10:42:12
response is enough, svt-av1 is pretty cooperative for community changes and plenty have already been accepted for me without these changes svt-av1 was completely useless for higher quality
w
2024-03-03 10:43:37
then there's no point in using the psy fork
afed
2024-03-03 10:44:12
but blockiness is still a major issue, although it's less of an issue for usual live or anime content, more for game content and high fps for some reason
w then there's no point in using the psy fork
2024-03-03 10:49:00
no point only if there is no point using svt-av1 or av1 at all
w
2024-03-03 10:49:16
ill stick to mainline aom
2024-03-03 10:49:21
<a:trollform:771932238748712979>
afed
2024-03-03 10:50:23
mainline aom is more stable in quality, but there are still a lot of issues with detail smoothness maybe for some anime that originally doesn't have high detail density and it's production upscaling it's ok, but for any content with a lot of high frequency details, it's a big issue
Quackdoc
2024-03-03 10:50:28
rav1e supremacy
DZgas Ж
afed svt-av1 still has blockiness artifact issues but, has become more useful for higher quality encoding, especially with the community fork https://github.com/gianni-rosato/svt-av1-psy
2024-03-03 09:04:29
I always disable psy when encoding use x264 x265 :ChizuWink:
jonnyawsom3
2024-03-04 11:32:19
"Uncompressed screenshots as AVIF" In Steam terms that's meant to mean lossless, but we all know that AVIF doesn't have *real* lossless either... Hmm
CrushedAsian255
2024-03-04 11:42:55
Is psy the perceptual encoding thing?
w
2024-03-04 11:44:50
no it's just a term they throw around for no reason
lonjil
2024-03-04 11:53:13
Presume that's short for psychovisual?
CrushedAsian255
w no it's just a term they throw around for no reason
2024-03-04 11:57:51
So it’s marketing nonsense?
w
2024-03-04 11:58:03
yes
CrushedAsian255
2024-03-04 11:58:26
What’s the point of it then?
w
lonjil Presume that's short for psychovisual?
2024-03-04 11:58:51
this, but yes, marketing nonsense
CrushedAsian255
2024-03-04 11:59:26
So it’s **meant** to help optimise the video to human perception?
2024-03-04 12:02:21
In theory isn’t that a good thing
2024-03-04 12:02:22
?
w
2024-03-04 12:02:34
but if it doesnt?
2024-03-04 12:03:08
it's always subjective
2024-03-04 12:03:10
therefore nonsense
CrushedAsian255
2024-03-04 12:03:42
Oh yeah, psychological tuning is inherently subjective
Quackdoc
CrushedAsian255 Is psy the perceptual encoding thing?
2024-03-04 12:06:39
yeah its tunning to on average score better on various psy metrics and direct eye comparisons
2024-03-04 12:07:54
its pretty well needed in stuff like svtav1 that has a tendency to make really stupid decisions sometimes if you want high quality snd consistent encodes
lonjil
w it's always subjective
2024-03-04 12:18:14
Are you saying x264 is nonsense? Though I could believe that "community forks" don't do it well.
Quackdoc yeah its tunning to on average score better on various psy metrics and direct eye comparisons
2024-03-04 12:19:28
Wait you're just using metrics mostly? Using metrics is the problem. Even the best metric is nowhere near good enough.
w
2024-03-04 12:19:30
99% of them are about tuning it for the last bit
2024-03-04 12:19:33
to me that's nonsense
lonjil
2024-03-04 12:19:56
🤔
w
2024-03-04 12:20:02
tuning it for the last bit for the same vmaf or some shit
lonjil
2024-03-04 12:20:37
What exactly do you mean by "last bit"?
w
2024-03-04 12:20:56
3 bytes smaller stuff like that
lonjil
2024-03-04 12:21:23
Oh lmao
w
2024-03-04 12:21:27
to squeeze out the bd rates shit like that
2024-03-04 12:23:14
makes the unknowing user wonder why the fork that's supposed to "fix" it doesn't work when it's a problem with the core design of the encoder
damian101
"Uncompressed screenshots as AVIF" In Steam terms that's meant to mean lossless, but we all know that AVIF doesn't have *real* lossless either... Hmm
2024-03-04 01:15:40
AVIF can compress losslessly
2024-03-04 01:15:50
it can encode straight RGB
2024-03-04 01:16:04
limited to 12 bpc of course
Quackdoc
lonjil Wait you're just using metrics mostly? Using metrics is the problem. Even the best metric is nowhere near good enough.
2024-03-04 01:39:28
in the end, unless you can pay thousands of people, yes. Metrics might not be "good enough" but its the best we got. In the end, it works very well, you can retain a lot more quality when you properly tune an encoder
lonjil
Quackdoc in the end, unless you can pay thousands of people, yes. Metrics might not be "good enough" but its the best we got. In the end, it works very well, you can retain a lot more quality when you properly tune an encoder
2024-03-04 01:56:08
x264 and JXL have managed quite well with usually just a few people making evaluations.
username
AVIF can compress losslessly
2024-03-04 03:27:57
Steam is using libavif and from what I saw libavif doesn't support RGB
2024-03-04 03:29:18
once I found Steam was using libavif I tired to check if it supported RGB and all I found was a warning saying it didn't
jonnyawsom3
AVIF can compress losslessly
2024-03-04 03:51:37
I know something only had 4:2:0...
username
2024-03-04 03:59:36
here's an exiftool output from a AVIF made with Steam