|
fab
|
2022-04-02 02:22:43
|
that is the state
|
|
2022-04-02 02:22:59
|
i was timeout on the seve
|
|
2022-04-02 02:23:06
|
cause of my wifi
|
|
2022-04-02 02:23:12
|
i keep eloading fiefox
|
|
2022-04-02 02:23:17
|
and phones and disconnetting
|
|
2022-04-02 02:23:27
|
while i was even connected to all the two
|
|
2022-04-02 02:31:48
|
Honestly i don't gaf about Linux
|
|
2022-04-02 02:32:27
|
I do like buying compyters while i want to like to please reddit to please English
|
|
2022-04-02 02:32:39
|
I do not have passion I can't game
|
|
2022-04-02 02:32:56
|
Also my music taste is far from great
|
|
2022-04-02 02:33:19
|
And i never had froends in my life
|
|
2022-04-02 02:33:28
|
Plus i have everything thats Linux
|
|
2022-04-02 02:33:40
|
To me av1 is Windows and autistic thing
|
|
2022-04-02 02:33:52
|
And i do not accept other opinions
|
|
2022-04-02 02:34:15
|
Is like a thing to please English that i should do instead of praying god
|
|
2022-04-02 02:34:25
|
Im not ashamed of That
|
|
2022-04-02 02:34:39
|
Im in the server from 4 years and half
|
|
2022-04-02 02:34:54
|
And reddit from 26 november 2017
|
|
2022-04-02 02:35:07
|
So im an absolute expert i know everything
|
|
2022-04-02 02:35:17
|
And i download everything i want
|
|
2022-04-02 02:35:59
|
Qencoder is bad
|
|
2022-04-02 02:36:20
|
I choose like two things if i can
|
|
2022-04-02 02:37:14
|
I want to suncronize shazamed songs but i do not have any patience
|
|
2022-04-02 02:38:46
|
I go in a server an type and copy whatever information i like
|
|
2022-04-02 02:39:43
|
I download what i want
|
|
2022-04-02 02:40:14
|
I do not spam since many year
|
|
2022-04-02 02:40:35
|
I do not pay for a service
|
|
2022-04-02 02:40:52
|
My ram in computer is screwed
|
|
2022-04-02 02:41:59
|
Me if i go out in evening i can't even open the eyes im one of them
|
|
2022-04-02 02:42:55
|
I got nervous and excited
|
|
2022-04-02 02:43:17
|
Now 16:42:56 i take syrup
|
|
2022-04-02 02:43:39
|
Probably at 8 second take valproic acid in my body
|
|
2022-04-02 02:44:51
|
I do analysis to check that
|
|
2022-04-02 02:45:12
|
Now im doing diet with subliminal
|
|
2022-04-02 02:45:45
|
I do not know what are my liquid nothing
|
|
2022-04-02 02:46:17
|
I change font five times a day
|
|
2022-04-02 02:47:01
|
........
|
|
2022-04-02 02:47:40
|
I gone to trips without any passport
|
|
2022-04-02 02:48:08
|
Then use gamma binaural beat then not using and throwing every shit possible
|
|
2022-04-02 02:48:16
|
And becoming fatter
|
|
2022-04-02 02:48:28
|
As my parents bring lemons to my teachers
|
|
2022-04-02 02:49:57
|
The pronunciation of downvotes don't make you more intelligent
|
|
2022-04-02 02:51:44
|
I havent Logic, schizofrenia isnt logic
|
|
2022-04-02 02:51:58
|
Ableton live is logic
|
|
2022-04-02 02:52:38
|
Listen to 198 binaural at a second to calm you isnt logic
|
|
2022-04-02 02:54:28
|
I think the same last thing even after 3 month
|
|
2022-04-02 02:55:03
|
People don't think an object in the same way even after 3 month
|
|
2022-04-02 02:56:54
|
I know about CAE Dynamic content optimization
|
|
|
improver
|
2022-04-02 03:33:03
|
epic blog tbh
|
|
2022-04-02 03:59:25
|
try 5-htp sometime
|
|
|
_wb_
|
2022-04-02 04:44:49
|
They added more space in r/place
|
|
2022-04-02 04:45:12
|
Can we put JXL at location 1024,512?
|
|
2022-04-02 04:51:33
|
```
X X X X
X X X
XX X X XX
```
in turquoise
|
|
|
diskorduser
|
2022-04-02 04:57:37
|
but who is going to maintain it?
|
|
|
_wb_
|
2022-04-02 04:57:41
|
We have a J
|
|
|
diskorduser
|
2022-04-02 05:04:11
|
may be run a bot or something to maintain jxl logo 😆
|
|
|
_wb_
|
2022-04-02 05:05:07
|
I think there's a script on github for that
|
|
|
diskorduser
|
2022-04-02 05:08:29
|
J is under threat
|
|
|
_wb_
|
2022-04-02 05:09:30
|
What is that thing on our left?
|
|
|
diskorduser
|
2022-04-02 05:11:59
|
idk. probably they will claim that rectangular boundary
|
|
|
_wb_
|
2022-04-02 05:19:48
|
Maybe we can negotiate to have jxl on a black background there
|
|
2022-04-02 05:30:50
|
|
|
2022-04-02 05:30:57
|
Getting close
|
|
2022-04-02 05:31:42
|
We can make the white black
|
|
|
diskorduser
|
2022-04-02 05:50:53
|
it is them
|
|
2022-04-02 05:50:56
|
|
|
|
_wb_
|
|
diskorduser
|
2022-04-02 06:16:16
|
|
|
2022-04-02 06:18:03
|
Why?
|
|
2022-04-02 06:18:47
|
Isn't that supposed to be black?
|
|
2022-04-02 06:21:45
|
|
|
|
_wb_
|
2022-04-02 07:22:33
|
Looks like they want to draw something there
|
|
2022-04-02 07:22:48
|
Is there another spot we could claim?
|
|
2022-04-02 07:23:09
|
11x5 pixels is enough
|
|
|
diskorduser
|
2022-04-02 08:11:49
|
Yes. There are lots of useless drawings and scribbles on right side.
|
|
|
BlueSwordM
|
2022-04-03 10:29:16
|
<@!853026420792360980> Thank you for the help with the ffmpeg/mpv stuff 🙂
|
|
|
Traneptora
|
2022-04-04 12:42:14
|
yw :)
|
|
|
novomesk
|
2022-04-21 02:43:15
|
One Japanese blogger wrote that webp is better than avif. They used 0xC0000054/avif-format plugin for Photoshop. https://momlove-fantasy.com/webp-vs-avif-which-one-is-really-light/
|
|
|
lithium
|
2022-04-21 03:00:35
|
I think current av1 lossless can't compare webp lossless at this moment,
but av1 lossy 444 will better than webp lossy 420,
and av1 palette prediction can handle some edge case(DCT worst case).
|
|
|
novomesk
|
2022-04-21 04:00:38
|
The button on the left side to enter, the button on the right side not to enter.
|
|
|
diskorduser
|
2022-04-21 04:01:39
|
Thanks
|
|
|
Yari-nyan
|
2022-04-21 04:50:25
|
is lossless AVIF always so embarrassing
|
|
2022-04-21 04:52:19
|
when does lossless AVIF shine
|
|
2022-04-21 04:52:34
|
animations?
|
|
|
diskorduser
|
2022-04-21 04:52:35
|
Never
|
|
|
Yari-nyan
|
2022-04-21 04:52:48
|
not even when animated?
|
|
|
diskorduser
|
2022-04-21 04:53:00
|
Idk about animated one.
|
|
|
Yari-nyan
|
2022-04-21 04:54:19
|
would be fun to test that, but firefox doesn't animate AVIFs for some dumb reason
|
|
2022-04-21 04:54:48
|
and libgdk-pixbuf doesn't support avif (at least not merged)
|
|
|
diskorduser
|
2022-04-21 04:55:08
|
Do you know to make lossless avif animations?
|
|
|
Yari-nyan
|
2022-04-21 04:55:12
|
yeah
|
|
2022-04-21 04:55:16
|
i made one
|
|
2022-04-21 04:55:27
|
or two
|
|
2022-04-21 04:55:38
|
i think i did it correctly
|
|
2022-04-21 04:56:33
|
take the yuv output from ffmpeg and pass to avifenc
|
|
|
diskorduser
|
2022-04-21 04:56:49
|
What about RGB
|
|
|
_wb_
|
2022-04-21 04:56:58
|
I think lossless was a 'checkbox' they felt they had to tick in the avif/av1 feature set, but I don't think they ever intended on actually making it compress well
|
|
|
Yari-nyan
|
2022-04-21 04:57:33
|
so lossless avif is never a fair comparison
|
|
2022-04-21 04:57:59
|
and that's fine
|
|
2022-04-21 04:58:28
|
PNGs will be with us for a long time
|
|
2022-04-21 04:58:53
|
and still does great
|
|
|
diskorduser
What about RGB
|
|
2022-04-21 05:01:45
|
does avifenc allow that for animations?
|
|
2022-04-21 05:02:08
|
i believe it specifically wants a yuv format
|
|
2022-04-21 05:04:08
|
Y4M
|
|
|
diskorduser
|
2022-04-21 05:04:30
|
Idk. I stopped using avif since last year. I forgot everything about it. Probably it's possible to use ycocg-r and RGB by using a separate experimental branch of avifenc.
|
|
|
Yari-nyan
|
2022-04-21 05:06:42
|
hardware AV1 encode (intel!) is something to look forward to
|
|
|
diskorduser
|
2022-04-21 05:07:20
|
But hardware encoders don't to RGB lossless
|
|
|
Yari-nyan
|
2022-04-21 05:07:31
|
and that's okay
|
|
2022-04-21 05:07:50
|
i was only curious how well lossless animated AVIF does
|
|
|
diskorduser
|
2022-04-21 05:08:54
|
The thing the shipped with Android 12 can't decode avif y444. I'm still angry about it.
|
|
|
Yari-nyan
|
2022-04-21 05:08:57
|
or i guess just regular lossless AV1 video for that matter
|
|
|
diskorduser
|
2022-04-21 05:10:03
|
Oh. I just updated to Android 12 L. I should test that again
|
|
|
|
JendaLinda
|
2022-04-21 05:17:53
|
I was testing AVIF a little and I found out that the AVIF extensions from MS Store are completely broken, displayed images are more or less glitched. In MS Edge, AVIF doesn't work at all.
|
|
|
novomesk
|
|
diskorduser
Do you know to make lossless avif animations?
|
|
2022-04-21 06:51:57
|
Lossless avif animation can be created using avifenc (from libavif). You can have every frame in separate .PNG file and pass all those png filenames to avifenc via command line. My gimp-avif-plugin can save avif animation too, but not true RGB-lossless, only lossless YUV444.
|
|
|
Yari-nyan
and libgdk-pixbuf doesn't support avif (at least not merged)
|
|
2022-04-21 06:56:51
|
libheif and libavif have plug-ins for gdk-pixbuf with AVIF support. The libavif plug-in can be improved to support avif animation if there is consumer demand.
|
|
|
Yari-nyan
|
2022-04-21 06:58:10
|
how to set that up? package name?
|
|
2022-04-21 06:59:11
|
`libavif-gdk-pixbuf` hmmm
|
|
2022-04-21 07:00:29
|
the fedora package appears to be `avif-pixbuf-loader`
|
|
2022-04-21 07:00:36
|
i will be sure to try it
|
|
|
novomesk
|
2022-04-21 07:01:35
|
On Gentoo:
USE="gdk-pixbuf" emerge media-libs/libavif
|
|
|
|
JendaLinda
|
2022-04-22 03:03:30
|
As PNG was mentioned, I was testing animated PNG and I was not impressed. APNG doesn't support local palettes as GIF do, so many GIFs can't be converted to 8bpp APNG. Although PNG compression can barely gain any improvement on dithered animations.
|
|
|
The_Decryptor
|
2022-04-22 03:58:26
|
I wonder which will get more interest from Mozilla, JXL or QOI https://bugzilla.mozilla.org/show_bug.cgi?id=1765908
|
|
|
190n
|
2022-04-22 04:04:28
|
doesn't fjxl beat qoi on efficiency and speed
|
|
|
BlueSwordM
|
|
190n
doesn't fjxl beat qoi on efficiency and speed
|
|
2022-04-22 05:00:31
|
Yes.
|
|
2022-04-22 05:01:44
|
At this point, do people realize it perform close to on par with PNG? One problem with QOI is a lack of performance consistency, where JXL can work very well at.
|
|
|
w
|
2022-04-22 05:04:17
|
what's the point of qoi for web
|
|
2022-04-22 05:04:37
|
worst idea ive heard in a long time
|
|
|
_wb_
|
2022-04-22 05:27:19
|
Even png beats qoi in both density and speed (simultaneously)
|
|
2022-04-22 05:28:43
|
Also qoi has no decent color profile support, good luck trying to do wide gamut with it in a consistent way
|
|
2022-04-22 05:31:59
|
https://twitter.com/richgel999/status/1485976101692358656?t=hxN1ZkVLsBmJxYZ8zoGz_w&s=19
|
|
2022-04-22 05:32:54
|
|
|
|
190n
|
2022-04-22 05:46:24
|
i feel like everyone asking for qoi support in software missed the point of qoi
|
|
|
Yari-nyan
|
2022-04-22 05:57:54
|
maybe eventually tinyvg support in browsers could be interesting
|
|
|
190n
|
2022-04-23 01:12:59
|
tinyvg seems cool
|
|
|
|
niutech
|
|
The_Decryptor
I'd love a simple SVG competitor, SVG has enough features in it to near replace HTML
|
|
2022-04-23 08:21:51
|
How about [IconVG](https://github.com/google/iconvg) ?
|
|
|
Yari-nyan
|
2022-04-23 08:29:55
|
that too
|
|
2022-04-23 08:30:14
|
and no you can't embed links like that, unless it's a webhook message
|
|
2022-04-24 12:13:26
|
yeah
|
|
2022-04-24 12:13:45
|
phishing is already enough of a problem
|
|
2022-04-24 12:14:18
|
or imagine
|
|
2022-04-24 12:14:57
|
[https://www.google.com/](https://www.definitelygoogle.com/)
|
|
|
The_Decryptor
|
|
niutech
How about [IconVG](https://github.com/google/iconvg) ?
|
|
2022-04-24 12:18:43
|
I remember seeing that one, the lack of text and image embedding is a bit of a weakness
|
|
2022-04-24 12:19:08
|
Text at least can be converted to a path, but I can easily see reasons to want to embed small raster images
|
|
|
|
niutech
|
2022-04-24 07:35:36
|
Can't you vectorize raster images by vector tracing?
|
|
|
The_Decryptor
|
2022-04-24 07:36:54
|
Yeah, but current methods don't work super well for photographic images
|
|
|
_wb_
|
2022-04-24 07:55:45
|
Even future methods probably will never work well for photographic images
|
|
2022-04-24 07:57:37
|
I mean of course if you add enough vectors, at some point you can just reproduce any raster image exactly (if needed using one vector per pixel), but it will be horribly inefficient in terms of both compression and render time, and there will be nothing scalable about it.
|
|
|
lonjil
|
|
Yari-nyan
|
2022-04-25 08:06:03
|
maybe in 2013
|
|
|
yurume
|
2022-04-25 08:28:19
|
bpg never got out of the PoC stage, didn't it
|
|
|
lonjil
|
2022-04-25 10:09:33
|
Off topic spam nonsense promoting "Linuxism"
|
|
2022-04-25 11:07:00
|
here's a screenshot xD
|
|
|
Yari-nyan
|
2022-04-26 05:42:10
|
the desire to be a cult
|
|
|
_wb_
|
2022-04-26 06:10:42
|
https://c.tenor.com/assf_6gEdn4AAAAM/monty-python-and-the-holy-grail-head-smack.gif
|
|
|
Yari-nyan
|
|
improver
|
2022-04-26 10:18:48
|
vaporeon good pokemon kek
|
|
|
Azza
|
2022-04-30 12:44:14
|
Hey,
I already have some bash scripts for video (av1) and music (opus) compression.
But i don't feel like there is a winner in the world of image codecs, so I was wondering what would be the best codec and/or parameters for images.
The goal is to get a quality matching this output : ffmpeg -i a.jpg b.jpg
(It is for gallery images btw)
So I searched a little and found the jxl codec that seem efficient with large images, but I don't know if it "better" in what I am searching for :)
|
|
|
w
|
2022-04-30 12:48:16
|
jxl is best for lossless, no competition
|
|
|
Azza
|
2022-04-30 12:48:45
|
And lossy?
|
|
|
w
|
2022-04-30 12:49:07
|
if you only do lossless then you dont ever have to think about it :^)
|
|
2022-04-30 12:53:01
|
if your inputs are jpg, a jxl lossless transcode will almost always be better
|
|
|
Azza
|
2022-04-30 12:54:14
|
Oh cool
Ill do some tests
Is there a ffmpeg binary with libjxl or do I need to compile it
|
|
|
w
|
2022-04-30 12:54:14
|
anything else falls into the "it depends"
|
|
2022-04-30 12:55:09
|
I think jpg recompression is only available in libjxl/cjxl right now
|
|
|
Azza
|
2022-04-30 12:57:52
|
Okay thanks
|
|
|
lithium
|
2022-05-01 09:57:48
|
Interesting lossy method. 🙂
> Image Compression with Singular Value Decomposition
> http://timbaumann.info/svd-image-compression-demo/
|
|
|
w
|
2022-05-01 10:14:16
|
linear algebra flashbacks
|
|
|
lithium
|
|
lithium
Interesting lossy method. 🙂
> Image Compression with Singular Value Decomposition
> http://timbaumann.info/svd-image-compression-demo/
|
|
2022-05-04 10:08:34
|
I test some different really non-photographic non-photo (anime) image on this lossy method,
look like this method is better for photo content,
I think delta palette probably a best lossy method for really non-photographic non-photo (anime) content.
|
|
|
_wb_
|
2022-05-06 02:51:05
|
I assume AVM is the verification model software for AV2?
|
|
2022-05-06 02:55:16
|
the usual stages of software when making a new codec are like this:
- Verification Model: experimental codebase to try out new coding tools etc
- Reference software: bitstream is frozen, this code is supposed to produce and correctly decode valid bitstreams
- Production software: code is mature, optimized and robust enough to be used at scale in practice
|
|
2022-05-06 02:55:54
|
with libjxl we are doing all those stages within the same project, but that's actually rather exceptional
|
|
2022-05-06 02:57:00
|
VM becoming reference software is not that exceptional, but usually it ends there, and production software is implemented from scratch or at least done in a separate fork
|
|
|
|
JendaLinda
|
2022-05-08 08:02:01
|
Looks like the worst flaws of Microsoft's AVIF implementation were fixed. The lossless AVIF now looks pretty good. However the colors are still off. I've used Gimp to create my test files and made sure all PNG and AVIF files (lossy and lossless) include the same color profile (sRGB). MS Paint still displays the pictures differently.
Anyway, I just wanted to say that the implementation is not as bad as it was during my previous testing.
|
|
|
w
|
2022-05-08 11:35:15
|
mspaint isn't color managed
|
|
|
|
JendaLinda
|
2022-05-09 11:05:51
|
That was a comparison, all tested formats has got the same testing conditions, so I expected they will produce the same output.
I tested HEIC too for good measure. The colors were also wrong. Lossless HEIC didn't load at all for some reason. I guess the problem with color distortion is in the conversion from the video color space to RGB.
|
|
|
Traneptora
|
|
_wb_
VM becoming reference software is not that exceptional, but usually it ends there, and production software is implemented from scratch or at least done in a separate fork
|
|
2022-05-09 01:33:42
|
libopus is a good example of production and reference software overlapping. I find that it's more common for production and reference software to overlap nowadays
|
|
2022-05-09 01:34:02
|
considering you have things like libaom for av1, or libopus for Opus, etc.
|
|
2022-05-09 01:34:15
|
libvorbis is still the reference software for Vorbis too
|
|
2022-05-09 01:38:50
|
as for AV2, the biggest issue I see with releasing a new codec every 2-4 years or so is longevity
|
|
2022-05-09 01:39:10
|
if the goal is to replace legacy codecs, then you can't have such a short lifecycle
|
|
2022-05-09 01:39:47
|
for video, I see av2 supplanting AV1, just like how AV1 supplants HEVC, but what I don't see is any of these supplanting H.264
|
|
|
_wb_
|
2022-05-09 01:47:29
|
not sure if libaom can be considered production software — there's svt-av1 that aims to be production-ready in the sense of speed, rav1e in the sense of safety, aurora is the one we
|
|
|
Traneptora
|
2022-05-09 01:47:57
|
rav1e is, well, not good when it comes to quality/bbp curve
|
|
2022-05-09 01:48:21
|
dav1d is definitely production software, tho
|
|
2022-05-09 01:49:33
|
biggest issue with av1 I find is it doesn't scale well with threads, although that can be fixed by using a tool like av1an
|
|
|
_wb_
|
2022-05-09 01:50:01
|
and yes, the short lifecycle is OK for a small closed system like browsers + youtube/netflix, where it's not too hard to follow the lifecycle (and ditch support once something better arrives)
|
|
2022-05-09 01:50:07
|
but not so much for longevity
|
|
|
Fraetor
|
2022-05-09 01:50:07
|
TBF, the new AOM codec might just be getting started as an experiment, and still be 5+ years out.
|
|
|
_wb_
|
2022-05-09 01:52:28
|
still, the lifecycle of video codecs is pretty short
|
|
2022-05-09 01:53:40
|
since h264 we've had vp8, vp9, hevc, av1, vvc, evc...
|
|
2022-05-09 01:56:12
|
still none of those have been able to "dethrone h264" in the sense that they're not just better in compression but also as universally supported and able to reach a comparable encode/decode speed while still getting some gains
|
|
|
Fox Wizard
|
2022-05-09 01:56:14
|
I just realized we have no VP8 emoji... guess it's not worthy of an emoji though <:KekDog:884736660376535040>
|
|
|
_wb_
|
2022-05-09 01:58:06
|
🇻 🇵 8️⃣
|
|
|
Fox Wizard
|
2022-05-09 01:58:57
|
Good enough. Added it just for the memes, because apparently we had 35 emoji slots left
|
|
|
Traneptora
|
2022-05-09 01:59:31
|
yea, a lot of users still rely on x264 cause none of the other encoders can match up to it when it comes to encode speed
|
|
2022-05-09 01:59:56
|
if you have a newer GPU then maybe you can beat it with a hardware HEVC encoder but that's about it
|
|
2022-05-09 02:00:07
|
(while also maintaining a reasonable quality and bpp)
|
|
|
Fox Wizard
|
2022-05-09 02:01:38
|
And then there are forums like 4chan where people still use it... for whatever reason
|
|
2022-05-09 02:02:25
|
When I see a webm on Discord: <:happy:853648793017778196>
When I see it uses VP8 and Vorbis: <:PepeSad:815718285877444619>
|
|
|
Traneptora
|
2022-05-09 02:02:43
|
vorbis is still like, the 2nd best audio codec there is, behind opus
|
|
|
Fox Wizard
|
2022-05-09 02:03:02
|
Eh, AAC sounds better in my opinion, especially when you use CoreAudio
|
|
|
Traneptora
|
2022-05-09 02:03:03
|
JXL is attempting to be like the "Opus of images" it seems tho
|
|
|
Fox Wizard
Eh, AAC sounds better in my opinion, especially when you use CoreAudio
|
|
2022-05-09 02:03:43
|
at low bitrates yes but at anything higher than, like, 48 kbps per channel, vorbis should be at least as good as every aac encoder
|
|
|
Fox Wizard
|
2022-05-09 02:03:49
|
Really hope jxl succeeds in becoming the new general purpose image format. It's about time we get something that's good and can be used for basically everything
|
|
|
Traneptora
|
2022-05-09 02:03:59
|
that isn't png lol
|
|
2022-05-09 02:04:22
|
I don't believe PNG will ever be replaced simply because the overhead to implement it is so low
|
|
2022-05-09 02:04:40
|
like there's PNG decoders in GRUB.
|
|
2022-05-09 02:04:44
|
a bootloader.
|
|
|
Fox Wizard
|
2022-05-09 02:05:05
|
Tbh, I often get annoyed by PNG not supporting 10 bit, but having to go all the way to 16 bit. For some things like flat art with a dark gradient as background 8b PNG just doesn't cut it
|
|
|
Traneptora
|
2022-05-09 02:07:15
|
right but PNG being so primitive and widely supported makes it useful in a way that JXL can't do. like I don't forsee screenshots of your desktop being saved as lossless jxl, for example.
|
|
2022-05-09 02:07:35
|
or your desktop clipboard being jxl
|
|
2022-05-09 02:08:07
|
screenshots to file, maybe, but not screenshots to clipboard
|
|
|
Fox Wizard
|
2022-05-09 02:19:33
|
Hm, don't know if I prefer LC-AAC or Vorbis for 96kbps stereo tbh. Vorbis sounds more open, but has more obvious artifacts and AAC sounds flatter, but doesn't really have the annoying artifacts
|
|
2022-05-09 02:19:43
|
But tbh, Vorbis performed better than I expected <:KekDog:884736660376535040>
|
|
|
Traneptora
|
2022-05-09 02:22:47
|
what's annoying is that discord does not embed `.opus` uploads but if you rename them `.ogg` then it embeds them and plays them fine
|
|
|
Fox Wizard
|
2022-05-09 02:24:06
|
Yeah
|
|
2022-05-09 02:24:22
|
And if you download .m4a files then it renames them to .mp3
|
|
2022-05-09 02:24:52
|
And Discord doesn't allow a lot of characters in file names which is also annoying... including spaces
|
|
|
|
JendaLinda
|
2022-05-09 02:28:33
|
When encoding music, I don't go below 192 kbps. I guess modern codecs are doing very well at 128 kbps too. I personally didn't have a real need for encoding music in very low bitrates, unless you want to fit a whole song on a floppy.
|
|
|
Fraetor
|
2022-05-09 02:33:30
|
Yeah, same for my usecase. 128kbps opus is supposed to be transparent, but I do 192kbps to be safe, and then my entire music library fits on my phone no problem.
|
|
|
Fox Wizard
|
2022-05-09 02:37:36
|
If 128kbps is transparent depends a lot on the source tbh. Usually it's (near) transparent, but when there's a lot going on in the highs then compression can become noticeable
|
|
|
|
JendaLinda
|
|
_wb_
still, the lifecycle of video codecs is pretty short
|
|
2022-05-09 02:41:49
|
The short lifespan of video codecs is not good. Video playback really benefits from hardware decoding. However, before enough people gets the hardware supporting a certain video codec, there's another new codec and the hardware is obsolete.
|
|
2022-05-09 02:42:19
|
I'm wondering why they can't add support for new video codecs to older GPUs by driver update. GPUs are capable of doing lots of things these days, not only graphics. Most video codecs are based on the same principes, so I don't think it would be too difficult.
|
|
|
Fraetor
|
2022-05-09 02:49:29
|
Typically the video components in GPUs are dedicated hardware.
|
|
2022-05-09 02:49:45
|
But GPU compute based video decoders could be cool.
|
|
|
_wb_
|
2022-05-09 02:50:41
|
GPU vendors want to sell GPUs, not spend effort in making already sold GPUs last longer
|
|
|
|
JendaLinda
|
2022-05-09 02:51:45
|
GPU manufacturers don't have to worry because they sell everything they can produce.
|
|
|
Fraetor
|
2022-05-09 02:52:56
|
I guess something like OpenCL could be useful for it.
|
|
2022-05-09 02:53:11
|
As that is cross platform, while CUDA is NVIDA only.
|
|
2022-05-09 02:54:10
|
Or maybe SYCL, as that seems more modern, and Intel is pushing it hard with their oneAPI.
|
|
|
Traneptora
|
2022-05-09 04:46:03
|
Certain components of vid encoding and decoding are very hard to gpu accelerate because they're highly branching
|
|
2022-05-09 04:46:28
|
particularly things like CABAC which are expensive
|
|
|
BlueSwordM
|
2022-05-09 04:50:56
|
Also, DRM!
|
|
|
|
JendaLinda
|
2022-05-09 05:54:55
|
So you can use GPU for rendering complex 3D scenes, you can compute physics and AI using GPU, you can use GPU for crypto mining, but you can't implement an arbitrary video codec on GPU? Unbelievable.
|
|
|
BlueSwordM
|
2022-05-09 05:59:16
|
Yeah, but that's not how this works.
There are lots of things where CPUs are just better at.
There's also the fact fixed-function hardware like ASICs can't really be updated.
|
|
|
_wb_
|
2022-05-09 06:28:59
|
A lot of _parts_ of video codecs are suitable for GPUs, like transforms, filters, etc. Everything that has similar and non-branching computations per pixel or per block is great for GPU.
Entropy coding is inherently branchy and sequential though, so better suited for cpu than for gpu.
|
|
2022-05-09 06:35:11
|
If you want to do a full gpu codec, it has to be like the texture formats do it: fixed bpp per block
|
|
|
|
veluca
|
2022-05-09 07:06:17
|
> Entropy coding is inherently branchy and sequential though
https://github.com/NVIDIA/nvcomp would like to disagree 😛
|
|
2022-05-09 07:06:56
|
(although in general it's true that at least *existing* image/video formats' entropy coders are not exactly GPU friendly)
|
|
|
_wb_
|
2022-05-09 07:27:57
|
Yes, I meant existing formats. You could design a format that avoids branching and sequential streams, to some extent. Probably does come at some cost in compression though, at least if you want to be able to do both encode and decode purely on gpu
|
|
|
BlueSwordM
|
2022-05-09 09:07:07
|
Also what's good for GPU isn't always good for dedicated HW like ASICs 😛
|
|
|
The_Decryptor
|
2022-05-09 11:01:05
|
The GTX 980 had a "hybrid" HEVC decoder, reused what parts it could from the H.264 decoding hardware and did everything else in software via compute
|
|
2022-05-09 11:01:31
|
I'm pretty sure it worked so well that it was disabled via a driver update
|
|
|
BlueSwordM
|
|
The_Decryptor
The GTX 980 had a "hybrid" HEVC decoder, reused what parts it could from the H.264 decoding hardware and did everything else in software via compute
|
|
2022-05-10 02:07:51
|
Only for 8b.
|
|
2022-05-10 02:07:58
|
10b was deemed too complex and demanding at the time.
|
|
|
The_Decryptor
|
2022-05-10 02:26:37
|
Yeah, I never actually tried it much, but it wouldn't surprise me
|
|
2022-05-10 02:27:21
|
I think to this day I've only seen like 3-4 HEVC files in the wild, having to pay extra for the decoder on Windows doesn't help (But VLC does)
|
|
|
|
JendaLinda
|
2022-05-10 04:20:08
|
HEVC was enforced by TV broadcasters so every TV has to support it to be able to pickup TV channels.
|
|
2022-05-10 04:22:14
|
At least DivX/XviD and variants are finally dying out. This format was never properly supported in hardware. No wonder, it's a hacky mess. Even today the HW decoding is pretty buggy, especially on ARM based media players, and it's better to do in software.
|
|
|
The_Decryptor
|
2022-05-10 04:37:36
|
Yeah I'm pretty sure our TV can do it, but any chance of actual broadcasts utilising it is years off
|
|
2022-05-10 04:37:56
|
Main channels here (Australia) are still SD MPEG-2, HD channels are only 1080i
|
|
|
|
JendaLinda
|
2022-05-10 04:48:31
|
Here in the middle of Europe, most TV channels are in SD HEVC, they just have to pack as much ads in the small space as possible.
|
|
2022-05-10 07:31:43
|
At least the audio improved a lot after switching from MPEG2. AAC sounds much much better than MP2 audio. MP2 was really awful even at 192 kbps.
|
|
|
Traneptora
|
2022-05-10 06:41:48
|
I thought broadcast in the US was H.264 for HDTV but I'm not sure
|
|
2022-05-10 06:41:53
|
SD I believe is still mpeg-2
|
|
|
Fraetor
|
2022-05-10 06:59:18
|
In the UK SD is MPEG-2 and HD is H.264
|
|
|
fab
|
|
JendaLinda
At least the audio improved a lot after switching from MPEG2. AAC sounds much much better than MP2 audio. MP2 was really awful even at 192 kbps.
|
|
2022-05-11 03:48:45
|
in italy neve used aac the codec is e ac3
|
|
|
Jim
|
2022-05-11 05:38:39
|
https://helpx.adobe.com/illustrator/using/whats-new/2022-3.html
|
|
2022-05-11 05:38:47
|
Adobe Illustrator now has AVIF support
|
|
|
_wb_
|
2022-05-11 06:42:52
|
Not sure if it's a very useful export format for Illustrator. I would expect people to want to use SVG or PDF as export format when they have vector images, maybe PNG or lossless WebP if they really want it rasterized for some reason (e.g. because rendering the svg is too slow?)
|
|
2022-05-11 06:43:55
|
On the other hand, for lossy rasterized illustrations, avif does manage to keep nice crisp lines...
|
|
|
lithium
|
2022-05-11 06:57:56
|
I think probably full implement `more_patches ` improvement also can handle crisp lines from 2d drawing?
I thought for still image use image codec always a good idea,
use video codec replace other still image codec probably not a good idea.
|
|
|
_wb_
|
2022-05-11 07:13:02
|
For rasterized vector graphics, modular should perform quite well. My point was though that in a vector graphics authoring tool, I think the main thing you want is export to vector graphics formats (svg, pdf, postscript, maybe even html+css), not so much export to raster graphics and certainly not lossy raster graphics...
|
|
|
lithium
|
2022-05-11 07:25:15
|
For 2d chart use modular and svg is a great choose,
but I guess `Adobe` `Illustrator` creator also use `Illustrator` feature for create 2d drawing
(also have hard and crisp lines).
I notice some offical japanese manga jpeg and png image have adobe exif data...
|
|
|
Jim
|
2022-05-11 08:05:59
|
I remember it was heavily promoted for anime/manga type illustrations as it does well with mostly straight lines and solid color filled areas.
|
|
|
_wb_
|
2022-05-11 08:24:58
|
Yeah, it does, if you don't mind the occasional rounding of line directions to the nearest directional prediction mode
|
|
2022-05-11 08:25:29
|
For lossy raster illustrations it does work pretty well
|
|
2022-05-11 08:26:59
|
But .svg.br should also work pretty well, and is fine for any viewport width
|
|
2022-05-11 08:27:21
|
If you have vector sources, going to raster is a waste imo
|
|
2022-05-11 08:28:04
|
It's like converting a video to gif and removing the original
|
|
2022-05-11 08:30:27
|
Sure, sometimes you may need to do it, but preferably you just put svg on a website instead of making avif versions of it (for various resolutions, with jpeg and/or webp fallbacks, etc)
|
|
|
Jim
|
2022-05-11 09:57:06
|
For storage, yes. For sticking on a website? Prefer JXL, but that's not available yet. <:SadCat:805389277247701002>
|
|
2022-05-11 09:57:24
|
Most websites that let people upload content don't accept SVG.
|
|
|
improver
|
2022-05-11 11:59:59
|
& thats a good thing, last time i checked its still very easy to make xml bomb w svg
|
|
|
Jim
|
2022-05-12 02:18:31
|
Yep, SVG can be dangerous - that's why so few places accept them. You can also embed javascript in them and if the software runs it, could potentially be dangerous.
|
|
|
_wb_
|
2022-05-12 05:36:45
|
Yes, for user-generated content it's maybe not a good idea...
|
|
|
|
JendaLinda
|
2022-05-12 07:40:43
|
SVG is nice, but it's too bloated to be used as a general purpose vector format. Writing SVG by hand was pretty fun though, kinda reminded me drawing in Qbasic.
|
|
|
lithium
|
2022-05-12 08:08:08
|
I really hoping jxl lossy can replace jpeg and lossless can replace png for
`really non-photographic non-photo`(manga, 2d drawing) content,
butteraugli, XYB and patches,noise,dots features is really great for still image...
|
|
|
The_Decryptor
|
2022-05-12 08:09:22
|
I'd hope lossless JXL could replace PNG for every use case
|
|
|
|
JendaLinda
|
2022-05-12 08:29:48
|
Agreed, using JPEG for drawings is dumb. PNG is showing the signs of its age and the compression is not great, especially for complex artworks.
|
|
|
lithium
|
2022-05-12 08:42:33
|
I like a near-lossless(like webp near-lossless 60) version for network transfer,
and a mathematically lossless version for cold storage.
|
|
|
monad
|
2022-05-12 09:34:30
|
I like ethereally lossless for communication with the dead.
|
|
|
Traneptora
|
|
lithium
I like a near-lossless(like webp near-lossless 60) version for network transfer,
and a mathematically lossless version for cold storage.
|
|
2022-05-12 03:39:57
|
VarDCT d=0.1 is better than pre-filtered and then lossless, tbh
|
|
2022-05-12 03:40:17
|
since JXL has converging generation loss, recompressing files with VarDCT distance=0.1 won't cause them to get worse and worse and worse
|
|
|
_wb_
|
2022-05-12 03:52:24
|
well, it's not literally idempotent, there is still generation loss in vardct
|
|
2022-05-12 03:53:37
|
in lossy FLIF I could make it literally idempotent: no amount of recompressing at various qualities would ever make the result different from what you had at the worst quality setting in the image history
|
|
2022-05-12 03:56:17
|
but that only works because it's a lossless codec using integer arithmetic and more importantly there is nothing that can make errors spread or accumulate (no filters, no transforms even, FLIF is all just weird interlacing and fancy entropy coding)
|
|
|
lithium
|
2022-05-12 04:51:13
|
d 0.1 is great, but sometime file size will large than lossless,
I usually use d 0.3~0.5~1.0 e 8~9,
but I think probably implement more improvement for non-photo content,
can help reach transparency on d 0.5.
|
|
|
DZgas Ж
|
2022-05-12 08:23:48
|
BPG, QOI, FLIF, - are good examples of the fact that without influence, simply by making a good product, absolutely no one needs it, except for self-sufficient closed systems
|
|
|
Traneptora
|
|
_wb_
well, it's not literally idempotent, there is still generation loss in vardct
|
|
2022-05-12 08:32:39
|
it's still converging though, isn't it? like there's a steady state where it will still be "worse" but it won't just stack up and become unviewable after any amount of recompressions, i.e. in the limit it reaches an idempotent value
|
|
|
DZgas Ж
BPG, QOI, FLIF, - are good examples of the fact that without influence, simply by making a good product, absolutely no one needs it, except for self-sufficient closed systems
|
|
2022-05-12 08:33:24
|
isn't BPG basically just HEIF
|
|
|
DZgas Ж
|
|
Traneptora
isn't BPG basically just HEIF
|
|
2022-05-12 08:36:58
|
oh no no no
|
|
|
Traneptora
|
2022-05-12 08:38:03
|
as for flif, it was cool but it was way slower than JXL modular
|
|
2022-05-12 08:38:06
|
unusably slow
|
|
2022-05-12 08:38:15
|
well not unsusably but impractically slow
|
|
|
DZgas Ж
|
2022-05-12 08:39:46
|
For starters, HEIF is a container that also uses the AV1 codec for AVIFFor starters, HEIF is a container that also uses the AV1 codec for AVIF
|
|
|
Traneptora
isn't BPG basically just HEIF
|
|
2022-05-12 08:42:06
|
this is sad capitalist story, but HEIF for example for Apple is a 100% compatible keyframe with the HEVC codec, that is, literally, from a video, while BPG is the use of the same algorithms that are in the open source, but BPG is incompatible with the original HEVC
|
|
2022-05-12 08:42:39
|
unfortunately no one has used BPG anywhere at all
|
|
|
DZgas Ж
BPG, QOI, FLIF, - are good examples of the fact that without influence, simply by making a good product, absolutely no one needs it, except for self-sufficient closed systems
|
|
2022-05-12 08:42:58
|
it’s the same story with WEBP2, they just made him, and silently dropped, and, no plans are planned because Google is make up the avif and it makes no sense to support another codec
WEBP2 from the very beginning looked to me like that, - "We didn’t want to upset the developers who made it," in the sense that it was clearly developed for this decade, and some of the algorithms were transferred to AV1 and AVIF, but, to tell the developers that all your other works - "the do in nonsensical, useless, wasted", and therefore it simply drop out the codec in such a state in which it is, nobody needs them and there will be no question of its support, because why? in numbers, it is no better than AVIF, and for the end user there is no difference that some of the codecs were encoded on the server side for longer, users would have to load the picture faster (or just can load/look)
|
|
|
Traneptora
|
|
DZgas Ж
this is sad capitalist story, but HEIF for example for Apple is a 100% compatible keyframe with the HEVC codec, that is, literally, from a video, while BPG is the use of the same algorithms that are in the open source, but BPG is incompatible with the original HEVC
|
|
2022-05-12 08:46:00
|
I don't see how this can exist if the algorithms themselves are patent-encumbered
|
|
2022-05-12 08:46:27
|
even if you re-implement them in a way that is incompatible with HEVC
|
|
|
DZgas Ж
|
|
Traneptora
as for flif, it was cool but it was way slower than JXL modular
|
|
2022-05-12 08:46:30
|
again, did anyone support flif? maybe facebook? maybe a tweeter? telegram? google? at least some kind of noname danboru?
|
|
|
Traneptora
|
2022-05-12 08:46:51
|
nobody supported flif because it was impractically slow and had very little gain over ffv1 (the design inspiration)
|
|
2022-05-12 08:47:08
|
ffv1 was orders of magnitude faster than FLIF and provided more than 90% of the compression ratio
|
|
2022-05-12 08:47:24
|
flif's main claim to fame was progressive decoding
|
|
|
DZgas Ж
|
2022-05-12 08:47:25
|
just look at the discord that supports APNG for their animated stickers but can't make it support APNG as a file
|
|
|
Traneptora
|
2022-05-12 08:47:46
|
that's because discord is LOL
|
|
2022-05-12 08:48:00
|
discord is a big meme
|
|
2022-05-12 08:48:04
|
when it comes to supporting formats
|
|
2022-05-12 08:48:25
|
discord also doesn't play `.opus` audio files unless you rename them to `.ogg` and then it plays fine, despite using Opus for its voice chat
|
|
|
DZgas Ж
|
2022-05-12 08:48:40
|
Thanks for you too
|
|
|
Traneptora
|
2022-05-12 08:48:40
|
discord's supported media choices are not a good example
|
|
|
DZgas Ж
|
|
Traneptora
discord also doesn't play `.opus` audio files unless you rename them to `.ogg` and then it plays fine, despite using Opus for its voice chat
|
|
2022-05-12 08:49:47
|
a few years ago i had the same problem in telegram, i had to rename all my files to .ogg instead of .opus
|
|
|
Traneptora
|
2022-05-12 08:49:58
|
why do you keep posting the exact same message duplicated
|
|
|
_wb_
|
2022-05-12 08:50:32
|
Flif was just a fun side project that somehow blew up a bit
|
|
2022-05-12 08:51:26
|
It got me interested in image compression though
|
|
|
Traneptora
|
2022-05-12 08:51:53
|
wait, I thought that was something you did *because* you were interested in it
|
|
|
DZgas Ж
|
|
Traneptora
why do you keep posting the exact same message duplicated
|
|
2022-05-12 08:52:17
|
oh that's very funny because i'm not very good in english for real time speech, i use a translator and then i'll technically check the words, but, i'm use discord in browser, and you won't believe it, but if i switch tab to discord and first my action will be CTRL+V then it is duplicated, this is a very funny bug
|
|
2022-05-12 08:53:06
|
is few weeks old
|
|
|
_wb_
|
|
Traneptora
wait, I thought that was something you did *because* you were interested in it
|
|
2022-05-12 08:53:32
|
Chicken, egg, I dunno which was first
|
|
|
DZgas Ж
|
|
Traneptora
when it comes to supporting formats
|
|
2022-05-12 08:54:57
|
I hope I live to see the anime in 8 mb av1 which is already done in files
|
|
2022-05-12 08:55:53
|
|
|
|
Traneptora
|
2022-05-12 09:01:11
|
that's 360p
|
|
|
BlueSwordM
|
|
DZgas Ж
For starters, HEIF is a container that also uses the AV1 codec for AVIFFor starters, HEIF is a container that also uses the AV1 codec for AVIF
|
|
2022-05-12 09:03:53
|
Ok wait wait, what?
|
|
2022-05-12 09:03:59
|
Last I checked, it's the opposite.
|
|
2022-05-12 09:04:04
|
AVIF use HEIF as a base for the container.
|
|
|
|
veluca
|
2022-05-12 09:04:23
|
IIRC it's basically the same container
|
|
2022-05-12 09:04:41
|
to the point where you can use libheif to decode avif too
|
|
|
DZgas Ж
|
|
BlueSwordM
AVIF use HEIF as a base for the container.
|
|
2022-05-12 09:16:09
|
I said this...
|
|
|
|
JendaLinda
|
|
DZgas Ж
|
|
2022-05-12 09:16:55
|
I'm not very familiar with Opus audio but this doesn't sound bad for 14 kbps. It sounds even better than MP2 192 kbps performed by local TV broadcasters.
360p is kinda low but it's sufficient for a phone, I guess. I wonder how much of AV1 video I could fit on a floppy. I might try it.
|
|
|
DZgas Ж
|
|
JendaLinda
I'm not very familiar with Opus audio but this doesn't sound bad for 14 kbps. It sounds even better than MP2 192 kbps performed by local TV broadcasters.
360p is kinda low but it's sufficient for a phone, I guess. I wonder how much of AV1 video I could fit on a floppy. I might try it.
|
|
2022-05-12 09:19:26
|
nono no no better use PAPERBACK on a 600 dpi printer to save 400kb of porn photos from the danBoru in Avif quality 360x Q 40 on an a4 list
|
|
2022-05-12 09:21:13
|
It was fun
|
|
|
|
JendaLinda
|
2022-05-12 09:24:19
|
That's neat. Unfortunately I don't have a printer handy but I have a Windows 10 computer with an internal floppy drive, so I can play videos directly from it.
|
|
|
DZgas Ж
|
|
JendaLinda
That's neat. Unfortunately I don't have a printer handy but I have a Windows 10 computer with an internal floppy drive, so I can play videos directly from it.
|
|
2022-05-12 09:25:49
|
having this, I think there is nothing more useful than audiobooks in "CODEC2"
|
|
|
|
JendaLinda
|
2022-05-12 09:27:13
|
Literally speaking pages.
|
|
|
DZgas Ж
|
2022-05-12 09:27:13
|
unfortunately I have not checked how it works in combination with the attached neural network LPCNet
|
|
2022-05-12 09:27:53
|
but the examples sounded very, very good
|
|
2022-05-12 09:28:02
|
for 2.4 kbit
|
|
|
|
JendaLinda
|
2022-05-12 09:37:42
|
Indeed, but this is more suitable for communication. i wouldn't like to listen to audio books in this.
|
|
|
lonjil
|
|
DZgas Ж
BPG, QOI, FLIF, - are good examples of the fact that without influence, simply by making a good product, absolutely no one needs it, except for self-sufficient closed systems
|
|
2022-05-13 01:11:19
|
BGP is and always was heavily patent encumbered, not surprising that it didn't catch on.
QOI is just straight up not useful, not sure how it's an example of a good product.
|
|
|
DZgas Ж
this is sad capitalist story, but HEIF for example for Apple is a 100% compatible keyframe with the HEVC codec, that is, literally, from a video, while BPG is the use of the same algorithms that are in the open source, but BPG is incompatible with the original HEVC
|
|
2022-05-13 01:14:48
|
BPG frames are just a alight modification of a subset of HEVC. It's not really any different from just using straight HEVC.
|
|
|
improver
|
2022-05-13 02:05:20
|
FLIF actually did catch on to some extent, but browsers didn't want it because of slowness
|
|
|
_wb_
|
2022-05-13 03:07:46
|
which makes sense - and also a lossless format is not that useful for browsers anyway
|
|
|
DZgas Ж
|
|
lonjil
BPG frames are just a alight modification of a subset of HEVC. It's not really any different from just using straight HEVC.
|
|
2022-05-13 03:25:07
|
can decode bpg using hevc decoder...?
|
|
|
lonjil
|
2022-05-13 03:27:07
|
I do not know, but I know that the BPG spec is quite short, and seems to defer almost entirely to the HEVC spec on coding details, so at a minimum it should be pretty close. Might be close enough to straight up work in HEVC decoders, might not be.
|
|
|
DZgas Ж
|
2022-05-13 03:29:47
|
it was possible to make less resolution and up quality of pixel, but then without neural networks or "madvr ngu" algorithms - it will be blurry pixels
|
|
|
lonjil
I do not know, but I know that the BPG spec is quite short, and seems to defer almost entirely to the HEVC spec on coding details, so at a minimum it should be pretty close. Might be close enough to straight up work in HEVC decoders, might not be.
|
|
2022-05-13 03:33:03
|
in any case, Apple, and later Google, decided to use exactly "hevc compatible" algorithms, and not *work* with "some kind of noname on the Internet"
|
|
|
lonjil
|
2022-05-13 03:33:46
|
exactly HEVC compatible means you can use the same hardware to accelerate both.
|
|
|
DZgas Ж
|
|
lonjil
exactly HEVC compatible means you can use the same hardware to accelerate both.
|
|
2022-05-13 03:38:54
|
this is also an argument, but implementation of the hevc key frame has a worse quality, than hevc photography algorithm,
without losing Legasy, they to make compression better for "one frame only"
|
|
|
_wb_
|
2022-05-13 03:58:16
|
afaik bpg is just a compact header plus a payload that is a subset of hevc (where the hevc header is skipped since it is implied by the bpg header)
|
|
2022-05-13 03:58:58
|
so can probably pass bpg to hardware hevc implementations, to the extent that those hardware hevc implementations actually support the hevc features that are used
|
|
2022-05-13 03:59:15
|
e.g. most hw only supports 420 while bpg also allows 422 and 444
|
|
2022-05-13 04:01:57
|
bpg is basically heic but done in a nice compact way
|
|
|
DZgas Ж
|
2022-05-13 04:40:01
|
years have passed, and now it makes no sense to talk about bpg, because there is avif, it is better, it is free, it has the same problems as bpg, because it is based on a video codec
|
|
|
|
JendaLinda
|
2022-05-13 05:20:29
|
Am I wrong or is it the "lossless" mode of video codecs (AV1, AVC, HEVC) the same thing as JPEG at quality 100? There are still rounding errors due to conversion between color spaces, so it's not actually lossless.
|
|
|
|
veluca
|
2022-05-13 05:25:10
|
AV1 is definitely truly lossless
|
|
2022-05-13 05:25:19
|
(it can stick to RGB)
|
|
2022-05-13 05:25:32
|
not sure about AVC or HEVC but I suspect they can too
|
|
2022-05-13 05:25:50
|
JPEG at quality 100 has *more* losses than colorspace conversions AFAIU
|
|
2022-05-13 05:26:27
|
(I'm not sure the DCT in libjpeg is truly reversible, and it certainly isn't *guaranteed* to give you the same YUV pixels back)
|
|
2022-05-13 05:26:40
|
(FWIW, you could also do RGB JPEG, if you really wanted to ;))
|
|
|
_wb_
|
2022-05-13 05:35:02
|
Could test how lossy a q100 rgb jpeg is, I suspect a little but not much
|
|
2022-05-13 05:36:35
|
I think all codecs since j2k can do lossless (actually jpeg also had a lossless mode but nobody implemented it and it sucks)
|
|
2022-05-13 05:37:27
|
A pitfall though is that some implementations will not allow 444, let alone rgb, but only work for yuv420
|
|
2022-05-13 05:37:42
|
This is almost always the case for hw implementations
|
|
2022-05-13 05:39:12
|
All video codecs I know suffer from this: they can do lossless in theory, but if you want an interoperable bitstream that works on anything that supports the codec, you're stuck with yuv420
|
|
|
BlueSwordM
|
2022-05-13 05:39:25
|
Sadly, yeah, especially on mobile.
|
|
2022-05-13 05:39:48
|
On desktop, there at least exists HW support for 4:4:4, but it's still niche.
|
|
|
_wb_
|
2022-05-13 05:40:31
|
Even on my macbook I can only load 420 h264 and h265, including heic
|
|
2022-05-13 05:41:35
|
When I export an image to heic using Preview, and I use the setting labeled "Lossless", what I get is an 8-bit yuv420 heic file
|
|
|
|
JendaLinda
|
2022-05-13 05:46:28
|
Considering AVIF, Gimp only allows to set the quality and bit depth, that's all. I couldn't find an RGB option in avifenc either.
|
|
|
BlueSwordM
|
|
JendaLinda
Considering AVIF, Gimp only allows to set the quality and bit depth, that's all. I couldn't find an RGB option in avifenc either.
|
|
2022-05-13 05:51:31
|
For lossless, it is lossless, but don't bother with it.
|
|
|
Fraetor
|
2022-05-13 05:58:51
|
From my understanding a q100 JPEG typically has all 1s in its quantisation matrix.
|
|
2022-05-13 05:59:36
|
So the loss would be in rounding the fractional values.
|
|
2022-05-13 05:59:52
|
But that should be quite small as you have 1024 levels for the DCT coefficients.
|
|
|
|
JendaLinda
|
2022-05-13 06:00:31
|
Interesting, avifenc uses RGB in the lossless mode, although I have no idea how to select RGB manually. And it is indeed lossless, however the file is bigger than the original PNG, so no gain there.
|
|
|
BlueSwordM
|
|
JendaLinda
Interesting, avifenc uses RGB in the lossless mode, although I have no idea how to select RGB manually. And it is indeed lossless, however the file is bigger than the original PNG, so no gain there.
|
|
2022-05-13 06:03:22
|
I'm surprised honestly. With separate avifenc through aomenc, I always get similar/slightly better performance than PNG through ECT.
|
|
|
|
JendaLinda
|
2022-05-13 06:04:05
|
I've tried a simple cartoon image and the original PNG was optimized using PNGOUT.
|
|
2022-05-13 06:04:51
|
But there are the compatibility problems. In Microsoft's apps, the RGB AVIF is displayed all purple. And Gimp simply crashes.
|
|
2022-05-13 06:19:41
|
I suppose that PNGOUT is pretty slow. The PNG compression is not very smart, so PNG optimizers have to brute force the optimal settings.
|
|
|
|
veluca
|
|
JendaLinda
But there are the compatibility problems. In Microsoft's apps, the RGB AVIF is displayed all purple. And Gimp simply crashes.
|
|
2022-05-13 06:29:17
|
I'd open bugs 😄
|
|
2022-05-13 06:29:51
|
also, avif lossless is OK for photographic images, but it will be utterly destroyed by PNG (not to mention i.e. webp) for nonphoto
|
|
|
|
JendaLinda
|
2022-05-13 06:33:04
|
That's right. Also for photos 4:2:0 or 4:2:2 is alright. After all, photos are always slightly soft.
|
|
|
|
veluca
|
|
JendaLinda
Interesting, avifenc uses RGB in the lossless mode, although I have no idea how to select RGB manually. And it is indeed lossless, however the file is bigger than the original PNG, so no gain there.
|
|
2022-05-13 06:33:07
|
the way to select RGB manually is to specify *something* as the cicp
|
|
2022-05-13 06:33:47
|
typically 1/13/0
|
|
2022-05-13 06:33:54
|
*clearly*
|
|
2022-05-13 06:36:51
|
(i.e. `avifenc --cicp 1/13/0 whatever_other_options`)
|
|
|
|
JendaLinda
|
2022-05-13 06:38:23
|
This setting is not very clear to be honest.
|
|
|
|
veluca
|
2022-05-13 06:39:03
|
indeed xD
|
|
|
|
JendaLinda
|
2022-05-13 06:42:47
|
Anyway, I'm not going to use AVIF myself, but I guess it might be used by HW encoders, where the use case would be mostly photos.
|
|
|
|
veluca
|
2022-05-13 06:43:17
|
it won't be lossless anyway
|
|
|
|
JendaLinda
|
2022-05-13 06:44:38
|
That's right.
|
|
|
BlueSwordM
|
2022-05-13 06:46:36
|
HW all-intra encoders for images 🤮
|
|
2022-05-13 06:46:51
|
Get ready to see borders my friends 🙂
|
|
|
|
JendaLinda
|
2022-05-13 06:51:29
|
Not sure if JXL encoder on a mobile device would be much better with the limited amount of memory.
|
|
|
|
veluca
|
2022-05-13 06:52:26
|
FWIW there's no real reason why it *has* to use that much memory
|
|
2022-05-13 06:53:04
|
fairly sure one could cut it down by a good factor 4-6 with... some... pain
|
|
|
|
JendaLinda
|
2022-05-13 06:54:42
|
Or they could just do tiles.
|
|
|
|
veluca
|
2022-05-13 06:56:16
|
still would take quite a bit of pain 🤣
|
|
|
lonjil
|
|
_wb_
When I export an image to heic using Preview, and I use the setting labeled "Lossless", what I get is an 8-bit yuv420 heic file
|
|
2022-05-13 06:58:28
|
Last I heard, Apple's "lossless" export option also isn't even close to a high quality setting. You get visible artefacting even if the in data was 8 bit yuv420.
|
|
|
|
JendaLinda
|
2022-05-13 07:00:57
|
I was testing HEIC a little just because it's available in Gimp, but I don't really care about HEIC. I think HEIC is a format nobody asked for and it just annoys and confuses users. Also web browsers don't seem to be interested in it.
|
|
|
lonjil
|
2022-05-13 07:01:56
|
Cameras are using it now though, so it's probably here to stay.
|
|
|
|
JendaLinda
|
2022-05-13 07:03:29
|
As far as I know, only one smartphone manufacturer uses it. But you have to always convert HEIC to something else to do anything with it.
|
|
|
|
veluca
|
2022-05-13 07:07:48
|
I'm fairly sure it's more than one by now
|
|
|
|
JendaLinda
|
2022-05-13 07:12:14
|
I guess web services will support HEIC uploads but the photos will be automatically converted to something universal. IMHO reencoding photos from a phone camera is not a big loss.
|
|
|
lonjil
|
2022-05-13 07:16:25
|
Apple and Samsung both use it.
|
|
|
|
JendaLinda
|
2022-05-13 07:18:23
|
Alright. I guess they needed an image format to support those gimmicky features like HDR, but those tiny sensors will never be as good as a proper digital camera.
|
|
|
lonjil
|
2022-05-13 07:19:09
|
Even those sensors are good enough to capture more than 8 bits of dynamic range.
|
|
2022-05-13 07:19:39
|
Both Canon and Sony are selling cameras with HEIC support.
|
|
|
|
JendaLinda
|
2022-05-13 07:21:50
|
Or you can capture 8 bits and get rid of the noise.
|
|
2022-05-13 07:24:14
|
And yeah, if the camera can record 4K video in HEVC, the support for HEIC is a simple addition. Although I wouldn't use it.
|
|
|
Fraetor
|
|
JendaLinda
As far as I know, only one smartphone manufacturer uses it. But you have to always convert HEIC to something else to do anything with it.
|
|
2022-05-13 07:27:51
|
Most android devices (in my experience) do have it as a option, but don't have it picked by default.
|
|
|
|
JendaLinda
|
2022-05-13 07:28:27
|
Having a high quality camera, I would consider using RAW and then export to 16 bits.
|
|
|
Fraetor
|
2022-05-13 07:29:42
|
Phone cameras don't tend to be good enough for the image format to be the limit, but proper cameras really should use a raw/lossless format.
|
|
|
_wb_
|
2022-05-13 07:49:04
|
HEIC did cause quite some quality complaints (besides interoperability constraints) when Apple introduced it on their iPhones though.
|
|
2022-05-13 07:49:36
|
But that's probably because they use a too low quality setting, HEIC could be better than what they do
|
|
|
lonjil
|
2022-05-13 07:50:55
|
Honestly, I tend to find that phones are better at converting raw sensor data into a nice looking jpeg than me. I reckon the same would be true with higher dynamic range content. But that requires the phone to be able to produce images in a format that can represent such things. Though ideally I'd like high quality JXL output rather than HEIC...
|
|
|
_wb_
|
2022-05-13 07:50:56
|
My suspicion is that Apple used PSNR to calibrate between HEIC and JPEG quantization settings, and hevc is a psnr optimizing beast
|
|
2022-05-13 07:51:34
|
(but good psnr can still look like crap)
|
|
|
|
JendaLinda
|
2022-05-13 08:24:13
|
I guess you can have a blurry image and the PSNR is still good.
|
|
|
novomesk
|
|
JendaLinda
But there are the compatibility problems. In Microsoft's apps, the RGB AVIF is displayed all purple. And Gimp simply crashes.
|
|
2022-05-13 08:34:33
|
Can you send us the AVIF image which crashes GIMP?
https://gitlab.gnome.org/GNOME/gimp/-/issues
BTW. GIMP 2.99 has better AVIF export than old 2.10.x
|
|
|
|
JendaLinda
|
|
novomesk
Can you send us the AVIF image which crashes GIMP?
https://gitlab.gnome.org/GNOME/gimp/-/issues
BTW. GIMP 2.99 has better AVIF export than old 2.10.x
|
|
2022-05-13 08:37:09
|
I'm using version 2.10.30, so it's kinda old. I have to recreate the picture.
|
|
2022-05-13 08:53:38
|
Weird, I tested two completely random RGB AVIF files, each of them crashed once, but now they don't crash anymore.
|
|
2022-05-13 08:54:44
|
Even after reboot I can't make them crash.
|
|
|
novomesk
Can you send us the AVIF image which crashes GIMP?
https://gitlab.gnome.org/GNOME/gimp/-/issues
BTW. GIMP 2.99 has better AVIF export than old 2.10.x
|
|
2022-05-14 11:21:00
|
Gimp 2.99 never crashed during loading AVIF.
|
|
|
VEG
|
2022-05-15 06:04:34
|
https://css-ig.net/pingo
|
|
2022-05-15 06:04:50
|
Seems like a cool optimizer for PNG and some other popular formats
|
|
2022-05-15 06:05:19
|
They claim that they are fast and provide the best compression level
|
|
|
Petr
|
|
JendaLinda
Am I wrong or is it the "lossless" mode of video codecs (AV1, AVC, HEVC) the same thing as JPEG at quality 100? There are still rounding errors due to conversion between color spaces, so it's not actually lossless.
|
|
2022-05-15 06:28:36
|
AVC also supports true lossless, with RGB.
|
|
|
|
JendaLinda
|
|
Petr
AVC also supports true lossless, with RGB.
|
|
2022-05-15 08:08:51
|
I see. There's a nice table on the Wikipedia page with many features of the codec, but there's no mention about RGB, so I wasn't sure if it's supported.
|
|
|
DZgas Ж
|
2022-05-17 10:03:48
|
Wow 7tv for twitch chat use the Animated Webp
|
|
2022-05-17 10:06:33
|
https://cdn.7tv.app/emote/61433e7d962a60904864b0dc/4x
|
|
2022-05-18 10:35:41
|
im create the little jpeg artefact
|
|
|
yurume
|
2022-05-18 10:40:39
|
how did you do that? it seems not just AC corruption but something more directional.
|
|
|
audry
|
|
DZgas Ж
im create the little jpeg artefact
|
|
2022-05-19 01:19:22
|
yeah howd you do that
|
|
|
Traneptora
|
2022-05-19 06:09:49
|
looks to me like the quantizer table changes each block
|
|
2022-05-19 06:11:13
|
and the quality decreases in each direction as a function of the location in that direction
|
|
|
DZgas Ж
|
2022-05-19 07:35:19
|
very interesting what you like.to be honest, I have a feeling that I discovered some kind of effect that no one talked about, but I also liked it
|
|
2022-05-19 07:37:19
|
DZgas jpeg artefact effect haha
|
|
2022-05-19 07:40:23
|
ok im just drop the Python code for this, and the essence of the effect is that I completely break the DCT grid by resize the image by 1 pixel
|
|
2022-05-19 07:41:23
|
20 times on upscale and 20 times on downscale - I thought it was the best
|
|
2022-05-19 07:42:13
|
|
|
2022-05-19 07:49:40
|
|
|
2022-05-19 07:54:04
|
|
|
|
w
|
2022-05-19 08:50:59
|
deep fried effect
|
|
2022-05-19 08:51:12
|
aka baked
|
|
|
DZgas Ж
|
|
w
deep fried effect
|
|
2022-05-19 08:54:13
|
only this effect uses only compression of the original image thousands of times without resizing, which means that the DCT grid remains untouched
|
|
2022-05-19 08:57:00
|
oh no, this effect is even simpler, it just sharpens the border of the blocks
|
|
2022-05-19 08:58:18
|
not at all what I did
|
|
2022-05-19 08:59:14
|
mine is
|
|
2022-05-19 09:01:02
|
Strong degradation effect with loss of definition
|
|
2022-05-19 09:04:44
|
|
|
2022-05-19 09:06:51
|
4x
|
|
2022-05-19 09:07:28
|
looks like VHS degradation but for digital content
|
|
2022-05-19 09:28:00
|
it for JPEG XL
|
|
2022-05-19 09:30:39
|
very boring
|
|
2022-05-19 09:34:35
|
|
|
2022-05-19 09:35:00
|
jpeg and JXL
|
|
|
_wb_
|
2022-05-19 09:49:03
|
Can try with different epf settings...
|
|
|
DZgas Ж
|
|
_wb_
Can try with different epf settings...
|
|
2022-05-19 10:03:59
|
Now I'm doing a comparison of the work of transparency and quality with AVIF and of course the result is extremely deplorable
|
|
2022-05-19 10:05:22
|
although by choosing anime I already put jxl at a disadvantage
|
|
|
DZgas Ж
Now I'm doing a comparison of the work of transparency and quality with AVIF and of course the result is extremely deplorable
|
|
2022-05-19 10:07:45
|
why does alpha with color 000000 take colors from other parts of the image, algorithm problems? I observed the same problem in WEBP
|
|
2022-05-19 10:08:29
|
|
|
|
_wb_
|
2022-05-19 10:08:40
|
you can do --keep_invisible=1 if you don't want that
|
|
|
DZgas Ж
|
|
DZgas Ж
|
|
2022-05-19 10:09:19
|
this is the original
|
|
|
_wb_
|
2022-05-19 10:09:40
|
by default when doing lossy, it doesn't care about preserving the color of invisible pixels, so it does some kind of blurring to make them compress better and to reduce edge artifacts
|
|
|
DZgas Ж
|
|
DZgas Ж
Now I'm doing a comparison of the work of transparency and quality with AVIF and of course the result is extremely deplorable
|
|
2022-05-19 10:09:58
|
this removed the alpha without taking into account the actual significance
|
|
|
_wb_
you can do --keep_invisible=1 if you don't want that
|
|
2022-05-19 10:12:56
|
it doesn't work... i use СJXL v0.7.0 f2ea6da
|
|
2022-05-19 10:13:33
|
that is, the function --keep_invisible=1 does not change the file in any way, it is identical in cache
|
|
2022-05-19 10:15:08
|
<:JXL:805850130203934781>
|
|
|
DZgas Ж
|
|
2022-05-19 10:16:05
|
|
|
2022-05-19 10:27:54
|
epf 3
|
|
2022-05-19 10:28:42
|
epf 1
|
|
2022-05-19 10:29:46
|
epf 2 - some faster
|
|
2022-05-19 10:30:48
|
epf 0
|
|
2022-05-19 10:33:03
|
30x epf 0
|
|
2022-05-19 10:33:17
|
|
|
2022-05-19 10:33:43
|
40x jpeg
|
|
|
_wb_
you can do --keep_invisible=1 if you don't want that
|
|
2022-05-19 10:37:21
|
I just did this test for https://encode.su/threads/3397-JPEG-XL-vs-AVIF/page6
if this is a bug of the encoder, then I will not attach a file without transparency, maybe I think you will fix it, in general, it would be much better if it was by default, and without separate parameters, in the future I'm sure someone will bait to this, because that AVIF, even at the minimum alpha quality - does not have color artifacts of this type
|
|
|
_wb_
|
2022-05-19 10:44:57
|
well in avif you can do premultiplied alpha which just zeroes all the invisible pixels
|
|
2022-05-19 10:45:09
|
(jxl can also do that but I don't think we have an option for it atm)
|
|
2022-05-19 10:46:38
|
do you think it's an unreasonable assumption that when you do lossy compression, you don't care about the color values of transparent pixels?
|
|
|
DZgas Ж
|
|
_wb_
do you think it's an unreasonable assumption that when you do lossy compression, you don't care about the color values of transparent pixels?
|
|
2022-05-19 11:01:49
|
probably for this they can stick a finger into the fact that the format is worse, although this is not so
|
|
2022-05-19 11:02:46
|
just, if it doesn't matter, then why does AVIF avoid it? after all, the same WEBP also had extra unnecessary colors in transparency
|
|
|
.vulcansphere
|
|
DZgas Ж
|
|
2022-05-19 11:11:37
|
Baked JPEG, fresh from encoder oven
|
|
|
DZgas Ж
|
|
.vulcansphere
Baked JPEG, fresh from encoder oven
|
|
2022-05-19 11:12:23
|
completely different effect, only slightly reminiscent of
|
|
2022-05-19 11:12:57
|
different goal, different essence and implementation
|
|
2022-05-19 11:13:56
|
it is certainly similar, but only remotely, because Baked JPEG is sharpening and self-adding extra colors and effects
|
|
|
w
|
2022-05-19 11:14:17
|
"baked" to me is all encompassing
|
|
2022-05-19 11:14:47
|
and just means a mess
|
|
|
DZgas Ж
|
2022-05-19 11:15:08
|
it's better to call the dementation effect
|
|
2022-05-19 11:15:20
|
my
|
|
2022-05-19 11:16:01
|
because the information is literally distorted and lost in multiple DCT transformations
|
|
|
_wb_
|
|
DZgas Ж
just, if it doesn't matter, then why does AVIF avoid it? after all, the same WEBP also had extra unnecessary colors in transparency
|
|
2022-05-19 11:28:09
|
probably because in avif, RGB and alpha are encoded in completely different av1 streams, so they probably just send the RGB to an av1 encoder, which will not know which of these pixels are transparent...
|
|
|
DZgas Ж
|
|
_wb_
probably because in avif, RGB and alpha are encoded in completely different av1 streams, so they probably just send the RGB to an av1 encoder, which will not know which of these pixels are transparent...
|
|
2022-05-19 11:34:45
|
sounds like a loss of efficiency, but nonetheless
|
|
|
lithium
|
|
DZgas Ж
although by choosing anime I already put jxl at a disadvantage
|
|
2022-05-19 03:23:31
|
I guess when Jon complete more modular patches PR (better heuristic),
probably can get better lossy result for anime content?
> https://github.com/libjxl/libjxl/pull/1395
|
|
|
DZgas Ж
|
|
lithium
I guess when Jon complete more modular patches PR (better heuristic),
probably can get better lossy result for anime content?
> https://github.com/libjxl/libjxl/pull/1395
|
|
2022-05-19 03:26:17
|
👌 well, if it's better... so far the net loss is 5 times compared to AVIF, which can be with the same poor quality as JXL but weighs 5 times less
|
|
2022-05-19 03:26:55
|
for anime
|
|
|
_wb_
|
2022-05-19 04:08:22
|
well i'm not really interested in doing poor quality more efficiently, I'm aiming more at making d0.5 to d3 produce better and smaller results
|
|
2022-05-19 04:21:11
|
Beating avif in the area of low-bitrate artistically smudged and smoothed versions of an image that have very low fidelity but good appeal (for their bitrate) is probably going to be hard. Not saying it cannot be done, but I just don't see the use case except pleasing those who like to compare codecs by looking at overcompressed images.
|
|