|
RaveSteel
|
2024-08-23 05:44:09
|
I assume at higher resolutions x264 is overtaken by x265? Not that it really matters for streaming, Twitch still has very limited support for anything other than h264
|
|
|
DZgas Ж
|
2024-08-23 05:45:25
|
I've been testing different combinations of x264 settings for 5 years now. In the last six months, I have started calling such presets AVC ultra - because sometimes they are at the AV1 level in quality (with identical encoding speed and same out size)
|
|
|
RaveSteel
I assume at higher resolutions x264 is overtaken by x265? Not that it really matters for streaming, Twitch still has very limited support for anything other than h264
|
|
2024-08-23 05:47:02
|
Yes. the maximum resolution when AVC has an advantage is 960x540. starting from 720p and up, it is completely loses because of the h264 service data
|
|
|
RaveSteel
|
2024-08-23 05:48:02
|
The twitch enhanced broadcasting beta was sadly a huge disappointment in terms of bringing support for new formats such as h265 and AV1. h264 at the maximum 6000 kbit/s is sufficient for many things, but its limitations become clear in high movement scenes and even with smaller amounts of grain.
|
|
|
DZgas Ж
|
|
RaveSteel
The twitch enhanced broadcasting beta was sadly a huge disappointment in terms of bringing support for new formats such as h265 and AV1. h264 at the maximum 6000 kbit/s is sufficient for many things, but its limitations become clear in high movement scenes and even with smaller amounts of grain.
|
|
2024-08-23 05:49:41
|
I don't understand why twitch just can't add a damn Av1. I've been looking at this for 3 years. And I don't understand. SVT-AV1 is faster on any parameter than the current AVC tweak settings and will be faster and better in everything. But I don't understand! WHERE
|
|
2024-08-23 05:50:07
|
av1 is the only codec that surpasses AVC in 360p resolution at the moment
|
|
|
RaveSteel
|
2024-08-23 05:50:26
|
It's like they don't want to save money by saving bandwith
|
|
|
DZgas Ж
|
2024-08-23 05:50:38
|
hevc. vp9. vp8 just suck
|
|
|
Quackdoc
|
|
RaveSteel
The default nvidia userspace driver and firmware are still proprietary, only the kernel modules are open source
|
|
2024-08-23 05:50:49
|
indeed, if only NVK supported it T.T
|
|
|
DZgas Ж
|
|
RaveSteel
It's like they don't want to save money by saving bandwith
|
|
2024-08-23 05:51:55
|
I think the answer is the same as why Discord didn't add native AV1 support - Well they have a fucker on a technician who receives a salary
|
|
|
RaveSteel
|
2024-08-23 05:52:39
|
NVK and Nova (Red Hat's own implemenation of an open Nvidia userpsace driver) are under heavy development still, the only question is when they will be ready for primetime in terms of feature parity
|
|
|
DZgas Ж
I think the answer is the same as why Discord didn't add native AV1 support - Well they have a fucker on a technician who receives a salary
|
|
2024-08-23 05:54:49
|
Discord doesn't even support animated WebP (except for stickers and emotes), AVIF or any other format that could replace GIF, despite many feature requests on their support forums
|
|
2024-08-23 05:54:49
|
I am getting mad at discord again, darn
|
|
2024-08-23 05:56:04
|
I'd gladly use AVIF or WebP for animated content, but it remains impossible
|
|
|
DZgas Ж
|
|
DZgas Ж
Yes. the maximum resolution when AVC has an advantage is 960x540. starting from 720p and up, it is completely loses because of the h264 service data
|
|
2024-08-23 05:56:44
|
I have a small telegram channel where I record streamers. When switching to HEVC and AV1, I encountered a non-trivial problem - it quickly drains the phones. the ratio is almost identical to the decoding codec time. The AVC 540p turned out to be the perfect option for everything, including I use the Main profile for TV legacy so that people can download the stream file and watch it on TV.
|
|
2024-08-23 05:57:10
|
This is a dead end
|
|
|
RaveSteel
|
|
DZgas Ж
I have a small telegram channel where I record streamers. When switching to HEVC and AV1, I encountered a non-trivial problem - it quickly drains the phones. the ratio is almost identical to the decoding codec time. The AVC 540p turned out to be the perfect option for everything, including I use the Main profile for TV legacy so that people can download the stream file and watch it on TV.
|
|
2024-08-23 05:58:14
|
IIRC most CPUs used in Android phones (Qualcomm based ones) simply did not include an AV1 decoder, this has only changed since around 2-3 years ago, but don't quote me on that
|
|
|
DZgas Ж
|
2024-08-23 05:58:46
|
another super not obvious thing is 16 ref frames. that is, with 16 b-frames, this means that the codec can completely copy data 250 frames back in time. This is not possible with any other codec due to the excessive load. this is only possible in AVC
|
|
2024-08-23 05:58:52
|
<:H264_AVC:805854162079842314> <:This:805404376658739230>
|
|
|
Quackdoc
|
|
RaveSteel
NVK and Nova (Red Hat's own implemenation of an open Nvidia userpsace driver) are under heavy development still, the only question is when they will be ready for primetime in terms of feature parity
|
|
2024-08-23 05:59:16
|
while true, if NVK supported the kernel, then we wouldn't need to ask that question xD
|
|
|
DZgas Ж
|
|
RaveSteel
IIRC most CPUs used in Android phones (Qualcomm based ones) simply did not include an AV1 decoder, this has only changed since around 2-3 years ago, but don't quote me on that
|
|
2024-08-23 05:59:57
|
I know about it. I know about everything. I have my own fork of SVT-AV1 so I know everything.
|
|
|
Quackdoc
|
|
RaveSteel
IIRC most CPUs used in Android phones (Qualcomm based ones) simply did not include an AV1 decoder, this has only changed since around 2-3 years ago, but don't quote me on that
|
|
2024-08-23 05:59:59
|
indeed. many qualcomm refresh models still dont have hwdec, and android 12-android 14 use libgav1 and not libdav1d
|
|
2024-08-23 06:00:21
|
I think there might be a magisk module to override this comming?
|
|
|
username
|
2024-08-24 11:52:16
|
this is still funny/interesting to me https://bugzilla.mozilla.org/show_bug.cgi?id=327074 19 years ago when Firefox version 1.5 was the newest this was reported and it was only fixed 2 years ago in Firefox version 107
|
|
|
CrushedAsian255
|
|
username
this is still funny/interesting to me https://bugzilla.mozilla.org/show_bug.cgi?id=327074 19 years ago when Firefox version 1.5 was the newest this was reported and it was only fixed 2 years ago in Firefox version 107
|
|
2024-08-24 11:52:52
|
i guess who tf is using 8BPP RLE BMPs when PNG exists
|
|
2024-08-24 11:53:08
|
so it didn't get that much attention
|
|
|
username
|
2024-08-24 11:54:12
|
the thing that gets me is that it was fixed randomly 17 years after it was reported which is way after it was relevant
|
|
|
CrushedAsian255
|
2024-08-24 11:54:53
|
Maybe some dev was just bored and decided to fix it?
|
|
|
username
|
2024-08-24 11:55:59
|
I think some people go around looking at random old reported bugs for Firefox and try to fix them, I remember there was an instance of that happening that some tech news sites started reporting about
|
|
|
CrushedAsian255
|
|
username
I think some people go around looking at random old reported bugs for Firefox and try to fix them, I remember there was an instance of that happening that some tech news sites started reporting about
|
|
2024-08-24 11:56:35
|
Some people just like seeing squeaky clean bug trackers
|
|
|
_wb_
|
2024-08-24 03:13:18
|
It has always baffled me that BMP is a universally supported web format. And I don't get why it doesn't get deprecated like XBM was deprecated.
|
|
|
Meow
|
2024-08-24 03:46:11
|
Better to add BMP to this comparison
|
|
|
_wb_
|
2024-08-24 04:19:06
|
Maybe it would be good to make a new version of that comparison table, some things could be quantified a bit better now the various implementations are getting more stable...
|
|
|
|
JendaLinda
|
2024-08-24 07:29:23
|
Is there any software capable of writing RLE BMP? Even Microsoft is using just the uncompressed variant.
|
|
|
A homosapien
|
2024-08-24 08:00:40
|
Gimp does RLE BMP
|
|
|
|
JendaLinda
|
2024-08-24 08:12:24
|
Ah yes, Gimp implements BMP format completely, including alpha transparency. Windiows can read 32 bpp BMP images but ignores the alpha.
|
|
|
KKT
|
2024-08-24 09:47:34
|
New table underway for the website!
Maybe put feedback here and I'll implement. I guess BMP needs to be added?
|
|
2024-08-24 09:50:42
|
And any other debates? Maybe HEIC should be 3.5 stars for Photos?
|
|
|
RaveSteel
|
2024-08-24 09:51:32
|
Maybe add the fact that avif images can exceed the listed dimensions using tiles?
|
|
|
KKT
|
2024-08-24 09:52:13
|
I'm wondering if we should add a notes field?
|
|
|
RaveSteel
|
2024-08-24 09:52:30
|
Not a bad idea imo
|
|
2024-08-24 09:53:53
|
Maybe too much effort, but would it be useful to add BPP for the compression items?
|
|
|
KKT
|
2024-08-24 09:54:28
|
Be gentle. We also need to build this in HTML and make it work in mobile size <:AngryCry:805396146322145301>
|
|
2024-08-24 09:55:01
|
Sure, I can add another column if you think it's worth it.
|
|
|
jonnyawsom3
|
2024-08-24 09:55:10
|
I was thinking an info hover for fields with an asterisk, but then mobile becomes an issue
|
|
|
A homosapien
|
2024-08-24 10:21:00
|
Just have the asterisk listed on the bottom the chart
|
|
2024-08-24 10:22:01
|
For example `* = can exceed listed dimensions with tiling`
|
|
2024-08-24 10:22:59
|
~~Also the defacto jpeg standard only has three channels.~~ I was wrong.
|
|
|
KKT
|
2024-08-24 10:23:46
|
I thought the 4 was CMYK
|
|
2024-08-24 10:24:08
|
I'm also going to flip the order so XL is next to the header column
|
|
2024-08-24 10:24:46
|
Then we can lock those in place and the others can scroll
|
|
|
A homosapien
|
2024-08-24 10:26:25
|
CMYK is a color space? ~~Defacto Jpeg encoders still maps everything in YUV or RGB. Still three channels.~~
|
|
|
Quackdoc
|
2024-08-24 10:28:44
|
cmyk is a colour model, not a color space
|
|
2024-08-24 10:29:10
|
colour space means primaries, transfer and white point
|
|
|
A homosapien
|
2024-08-24 10:29:25
|
Ah, thanks for clearing that up
|
|
2024-08-24 10:30:05
|
~~Anyways my point still stands, defacto jpeg is 3 channels only.~~
|
|
|
RaveSteel
|
2024-08-24 10:31:14
|
The jpg animation feature field has a typo, it should be MJPEG
|
|
|
KKT
|
2024-08-24 10:35:21
|
Ahh, no alpha.
|
|
|
A homosapien
|
2024-08-24 10:37:04
|
For consistency rename "Precision Max Depth" to "Maximum Bit Depth"
|
|
2024-08-24 10:37:14
|
Considering other categories start with the word "maximum"
|
|
2024-08-24 10:37:42
|
it just sounds better to me ¯\\_(ツ)\_/¯
|
|
|
KKT
|
2024-08-24 10:39:20
|
Was just changing "Can do (lossy) 4:4:4" to Lossy 4:4:4
|
|
2024-08-24 10:51:59
|
So Maximum Bit Depth = color depth in this case?
|
|
2024-08-24 10:52:18
|
(thinking out loud)
|
|
2024-08-24 10:54:18
|
OK someone with lots of BMP knowledge is going to have to help out here, cause https://cloudinary.com/guides/image-formats/bmp-vs-png-4-key-differences-and-how-to-choose this https://en.wikipedia.org/wiki/BMP_file_format say different things.
|
|
|
RaveSteel
|
2024-08-24 10:55:08
|
Realistically no one is using BMP, it has long been deprecated. I would not add it to the comparison chart
|
|
2024-08-24 10:55:27
|
If anything, PNG or TIFF are used
|
|
|
Quackdoc
|
|
RaveSteel
Realistically no one is using BMP, it has long been deprecated. I would not add it to the comparison chart
|
|
2024-08-24 10:56:18
|
ha
|
|
2024-08-24 10:56:20
|
funny
|
|
2024-08-24 10:56:31
|
I still occasionally see bmp in assets
|
|
|
RaveSteel
|
2024-08-24 10:57:14
|
Yeah, but not due to its compression, but rather backwards compatibility I reckon. Or old assets
|
|
2024-08-24 10:58:16
|
The only BMPs I have are from software that is well over 15-20 years old
|
|
|
Quackdoc
|
2024-08-24 10:58:57
|
sure, but its still used occasionally whether regretfully or now
|
|
|
RaveSteel
|
2024-08-24 11:00:00
|
Fair point, but I still would not add it to the comparison chart
|
|
2024-08-24 11:00:29
|
If BMP is added, TIFF could be as well
|
|
2024-08-24 11:00:36
|
etc. etc.
|
|
|
KKT
|
2024-08-24 11:01:08
|
Yeah, as a mostly Mac guy, I rarely run into them. If we don't have to put it on, let's not…
|
|
|
jonnyawsom3
|
2024-08-24 11:04:29
|
Probably go for the most common formats in general (Jpeg, GIF, PNG, ect), most common on the web (WebP, AVIF, ect), and most common for 'Professionals' (DNG/TIFF, EXR, ect)
Then at a glance, everyone can tell where their usecase lies
|
|
|
KKT
|
2024-08-24 11:05:10
|
|
|
2024-08-24 11:05:20
|
We have this on the website right now.
|
|
2024-08-24 11:05:49
|
We weren't adding AVIF at the time cause we didn't think anyone was that crazy. But maybe we should? Anyone know the number?
|
|
|
RaveSteel
|
2024-08-24 11:06:38
|
It varies depending on the encoded material
|
|
2024-08-24 11:07:28
|
There should be some datasets you can take a look at, or run a benchmark yourself using the cloudinary image set which is linked somewhere on this server IIRC
|
|
|
Quackdoc
|
|
RaveSteel
If BMP is added, TIFF could be as well
|
|
2024-08-24 11:07:36
|
tiff should absolutely be added
|
|
|
RaveSteel
|
|
Quackdoc
tiff should absolutely be added
|
|
2024-08-24 11:07:48
|
Tbh, I agree
|
|
|
Quackdoc
|
2024-08-24 11:07:54
|
tiff is pretty much "the" image format for professional work
|
|
|
RaveSteel
|
2024-08-24 11:08:00
|
Yeah
|
|
|
Probably go for the most common formats in general (Jpeg, GIF, PNG, ect), most common on the web (WebP, AVIF, ect), and most common for 'Professionals' (DNG/TIFF, EXR, ect)
Then at a glance, everyone can tell where their usecase lies
|
|
2024-08-24 11:09:47
|
Instead of adding DNG as its own category, a note linking to the DNG 1.7 spec should suffice? DNG is using jxl compression nowadays after all
|
|
|
KKT
|
2024-08-24 11:10:24
|
Yeah, I don't think DNG make sense to put on
|
|
|
RaveSteel
There should be some datasets you can take a look at, or run a benchmark yourself using the cloudinary image set which is linked somewhere on this server IIRC
|
|
2024-08-24 11:11:32
|
Yeah, I have a list several miles long. Looking for a bit of a shortcut. I think <@794205442175402004> supplied the other numbers. They were an average from somewhere.
|
|
2024-08-24 11:12:10
|
Really at this point we just have to worry about whether it should be included or not.
|
|
2024-08-24 11:12:17
|
THe actual number can come later.
|
|
|
RaveSteel
|
2024-08-24 11:12:38
|
Maybe it would make also sense to add a list element for current adoption? Or just linking to caniuse to compare browser support
|
|
|
jonnyawsom3
|
2024-08-24 11:12:40
|
DNG *is* TIFF with extensions, hence why I put DNG/TIFF, but I agree only the latter would suffice, but it is very complex
|
|
2024-08-24 11:14:15
|
I'd say it's worth having AVIF listed, then we have somewhere to point to when people bring it up (Happened a lot this past week...)
|
|
|
RaveSteel
|
2024-08-24 11:15:17
|
Agreed, AVIF and JXL are the two most modern formats we have at this time, so it makes sense to put AVIF in the comparison
|
|
|
KKT
|
2024-08-24 11:18:30
|
So I'm guessing worse than WebP but better than PNG for placement? They're animated, so… would be nice to know the order.
|
|
|
RaveSteel
|
2024-08-24 11:18:51
|
AVIF and WebP are not necessarily animated
|
|
|
KKT
|
2024-08-24 11:19:09
|
No, no. Those images on the website are animated.
|
|
|
RaveSteel
|
2024-08-24 11:19:14
|
ahh ok, sorry
|
|
|
KKT
|
|
RaveSteel
|
|
KKT
|
2024-08-24 11:24:29
|
Found it! https://docs.google.com/spreadsheets/d/1ju4q1WkaXT7WoxZINmQpf4ElgMD2VMlqeDN2DuZ6yJ8/edit?gid=174429822#gid=174429822
|
|
2024-08-24 11:28:42
|
63% it is.
|
|
2024-08-24 11:46:59
|
Actually just realized those are % larger, so I'll have to calc the reciprocal to calc % smaller.
|
|
|
A homosapien
|
|
KKT
|
|
2024-08-25 12:02:11
|
I would recommend replacing bmp with tiff in that section, most people are more familiar with tiff as a lossless alternative to png
|
|
2024-08-25 12:02:29
|
At least in the photography world
|
|
2024-08-25 12:02:52
|
NASA also still distributes tiff files
|
|
|
Quackdoc
|
|
A homosapien
I would recommend replacing bmp with tiff in that section, most people are more familiar with tiff as a lossless alternative to png
|
|
2024-08-25 12:04:15
|
yeah but man, saying it's "X" smaller then tiff is a shit show, at least PNG is somewhat standardized in this point
|
|
|
A homosapien
|
2024-08-25 12:05:14
|
thats true, tiff is kinda a mess 😅
|
|
2024-08-25 12:05:53
|
tiff is closer to a container like mp4 rather than a specific codec
|
|
|
RaveSteel
|
2024-08-25 12:06:08
|
Does Lightroom still ask everytime if TIFF should export using compression which "may make it not backwards compatible"?
|
|
|
CrushedAsian255
|
|
Quackdoc
yeah but man, saying it's "X" smaller then tiff is a shit show, at least PNG is somewhat standardized in this point
|
|
2024-08-25 12:13:51
|
Can’t tiff store anything from raw pixels to JPEG?
|
|
|
A homosapien
|
2024-08-25 12:18:15
|
it's more than just that, look at all the extensions tiff 6.0 part 2 includes
|
|
2024-08-25 12:18:15
|
https://en.wikipedia.org/wiki/TIFF#Part_2:_TIFF_Extensions
|
|
|
Quackdoc
|
2024-08-25 12:18:57
|
and thats just one tiff spec lol
|
|
|
CrushedAsian255
|
2024-08-25 12:23:00
|
> Private tags
Have fun implementing everything
|
|
|
KKT
|
2024-08-25 01:08:36
|
Yeah, I think that's why TIFF was originally left off the Battle of the Codecs card. Like what the hell do you even do?
|
|
|
Quackdoc
|
2024-08-25 01:11:40
|
simplicity and reliability section lol
|
|
|
CrushedAsian255
|
|
KKT
Yeah, I think that's why TIFF was originally left off the Battle of the Codecs card. Like what the hell do you even do?
|
|
2024-08-25 01:31:17
|
Theoretically you could throw a JXL code stream in a TIFF
|
|
2024-08-25 01:31:23
|
(If an extension is made)
|
|
|
Meow
|
2024-08-25 04:26:35
|
Would the JPEG column be addressed with Jpegli as well?
|
|
|
|
JendaLinda
|
|
A homosapien
CMYK is a color space? ~~Defacto Jpeg encoders still maps everything in YUV or RGB. Still three channels.~~
|
|
2024-08-25 05:18:42
|
CMYK JPEG actually has four channels. It's encoded as YCCK.
|
|
|
RaveSteel
Realistically no one is using BMP, it has long been deprecated. I would not add it to the comparison chart
|
|
2024-08-25 05:22:27
|
BMP is still the default format for pictures embedded inside Windows executables.
|
|
2024-08-25 05:27:14
|
Windows clipboard is using it as well.
|
|
2024-08-25 05:35:52
|
Windows 11 supports alpha in BMP. It didn't work in Win10 IIRC.
|
|
|
_wb_
|
|
A homosapien
~~Anyways my point still stands, defacto jpeg is 3 channels only.~~
|
|
2024-08-25 05:44:00
|
Some would consider CMYK part of the de facto JPEG standard. Most JPEG implementations (like libjpeg-turbo) have no problem decoding CMYK jpegs. But it is a bit of a gray area, because proper application support is often lacking...
|
|
|
|
JendaLinda
|
|
KKT
OK someone with lots of BMP knowledge is going to have to help out here, cause https://cloudinary.com/guides/image-formats/bmp-vs-png-4-key-differences-and-how-to-choose this https://en.wikipedia.org/wiki/BMP_file_format say different things.
|
|
2024-08-25 05:45:04
|
Wikipedia has better information. Cloudinary is considering only the older BMP versions.
|
|
|
A homosapien
|
|
_wb_
Some would consider CMYK part of the de facto JPEG standard. Most JPEG implementations (like libjpeg-turbo) have no problem decoding CMYK jpegs. But it is a bit of a gray area, because proper application support is often lacking...
|
|
2024-08-25 05:49:52
|
Would you consider CMYK jpegs as a definitive feature as a 4 channel defacto jpeg?
|
|
|
_wb_
|
2024-08-25 05:51:01
|
I would not include BMP since it's basically a Windows-specific thing. TIFF makes more sense to include since it's meant for interchange. Maybe best to stick to baseline TIFF v6 or something, otherwise it gets a bit tricky to define what TIFF actually is.
|
|
|
A homosapien
Would you consider CMYK jpegs as a definitive feature as a 4 channel defacto jpeg?
|
|
2024-08-25 05:53:06
|
JPEG itself supports up to 4 components, and it does not care what they are (the original spec does not talk about component interpretation). De facto, it does not support RGBA but it does support CMYK.
|
|
|
A homosapien
|
2024-08-25 05:58:52
|
I understand now, when I saw 4 channels I thought of RGBA instead of CMYK. Thanks for clearing that up for me. <:Stonks:806137886726553651> <:Hypers:808826266060193874>
|
|
|
CrushedAsian255
|
2024-08-25 06:10:38
|
lossless AVIF 🤣
|
|
|
HCrikki
|
|
RaveSteel
Maybe it would make also sense to add a list element for current adoption? Or just linking to caniuse to compare browser support
|
|
2024-08-25 06:11:11
|
the way caniuse tallies adoption is only a starting point for impressions but misleading since it doesnt go into detail.
take jxl, when only the tracked mobile users are displayed, 30-35% of *all* mobile users in us, uk, canada and japan support jxl.
caniuse also track *actual* usage of browsers, not idle installs capable of decoding jxl. decoding by OSes is not tallied either and we know macos has like hundreds millions active installs decoding jxl out of the box
|
|
|
|
JendaLinda
|
2024-08-25 06:11:46
|
I think BMP should be listed. It's the native format in the most popular OS on desktop. It's ubiquitous. Web browsers support it, although nobody sane would use BMP on the web.
|
|
|
CrushedAsian255
|
2024-08-25 06:12:25
|
people know BMP to mean "uncompressed image"
|
|
2024-08-25 06:12:31
|
so it's a good way to show compression ratio
|
|
|
HCrikki
|
2024-08-25 06:12:57
|
disagree. everything is far better than bmp, the baseline reference are jpg and png
|
|
|
|
JendaLinda
|
|
CrushedAsian255
so it's a good way to show compression ratio
|
|
2024-08-25 06:14:56
|
That's true. It's the uncompressed format people are familiar with.
|
|
2024-08-25 06:17:38
|
BMP can do RLE but only for paletted images so RLE can't be used for truecolor images..
|
|
|
CrushedAsian255
|
2024-08-25 06:20:06
|
most people's understanding of image formats:
BMP: uncompressed, really big
JPEG: standard, not amazing quality, good for photos
PNG: transparency, good for graphics
GIF: animated, good for looping memes
WebP: get out of my face
HEIC: Apple fanboy alert
AVIF: what? another one?
|
|
|
Meow
|
|
JendaLinda
Windows 11 supports alpha in BMP. It didn't work in Win10 IIRC.
|
|
2024-08-25 10:17:50
|
Can confirm that macOS supports BMP with the Alpha channel
|
|
2024-08-25 10:19:22
|
By the way the identical lossless JXL is 2.6 MB
|
|
|
|
JendaLinda
|
2024-08-25 10:24:00
|
BMP supported alpha since WinXP but it was implemented in Windows only in ICO at the time. ICO is very close to BMP but there are some differences.
|
|
2024-08-25 10:24:13
|
BMP even supports ICC profiles.
|
|
|
CrushedAsian255
|
2024-08-25 10:26:03
|
BMP is just bad TIFF at this point
|
|
|
Meow
|
2024-08-25 10:30:56
|
The size of uncompressed PNG is equal to BMP
|
|
|
|
JendaLinda
|
2024-08-25 10:31:17
|
It's like PPM/PAM
|
|
|
CrushedAsian255
|
|
Meow
The size of uncompressed PNG is equal to BMP
|
|
2024-08-25 10:31:26
|
uncompressed PNG?
|
|
|
Meow
|
2024-08-25 10:31:38
|
It's doable with GIMP
|
|
|
CrushedAsian255
|
2024-08-25 10:31:42
|
oh
|
|
2024-08-25 10:31:57
|
at that point why bother
|
|
|
|
JendaLinda
|
2024-08-25 10:32:13
|
Yes, you can use gzip strategy "store"
|
|
2024-08-25 10:33:15
|
Maybe they added the option for completeness.
|
|
2024-08-25 10:37:21
|
TIFF never appealed to me personally.
|
|
|
Quackdoc
|
2024-08-25 10:38:47
|
TIFF is one one of the very few image formats that can do both high bitdepth content, proper colormanagement, as well as proper alpha support
|
|
|
CrushedAsian255
|
2024-08-25 10:39:03
|
I think EXR can as well
|
|
|
Quackdoc
|
2024-08-25 10:40:24
|
EXR kinda can, there are a lot of baked in assumptions which make it ideal for some things but not others, for instance EXR images are expected to be stored in linear float. they are also entirely scene refereed images more or less by design, and allow greater then 0.0..1.0 range
|
|
|
jonnyawsom3
|
2024-08-25 10:40:33
|
I mean that's because TIFF is every format under the sun with some metadata attached
|
|
|
Quackdoc
|
2024-08-25 10:41:03
|
while true, before JXL there was nothing that could really serve in it's place.
|
|
2024-08-25 10:42:05
|
does JXL truncate to 0.0..1.0?
|
|
|
CrushedAsian255
|
2024-08-25 10:42:19
|
what's the PGX image format?
|
|
|
|
JendaLinda
|
2024-08-25 10:43:35
|
cjxl can't read TIFF unfortunately.
|
|
|
CrushedAsian255
|
|
JendaLinda
cjxl can't read TIFF unfortunately.
|
|
2024-08-25 10:43:59
|
it would probably be a nightmare to implement every little detail
|
|
2024-08-25 10:44:12
|
if it did, it would probably just use a 3rd party library
|
|
|
|
JendaLinda
|
2024-08-25 10:44:24
|
TIFF can do anything but it's overwhelming.
|
|
2024-08-25 10:46:23
|
Have anybody tried encoding deflate TIFF using zopfli? I couldn't find any project like that. There are several for PNG.
|
|
|
Quackdoc
|
2024-08-25 10:47:07
|
indeed, when transcoding tiff images, ill just being using oiiotool
|
|
|
|
JendaLinda
|
|
Quackdoc
indeed, when transcoding tiff images, ill just being using oiiotool
|
|
2024-08-25 11:12:26
|
Looks like a similar idea like Imagemagick. Didn't find any mention about zopfli, though.
|
|
|
Quackdoc
|
2024-08-25 11:13:50
|
oiiotool isnt very fancy, it's designed to be accurate first and foremost
|
|
|
jonnyawsom3
|
2024-08-25 11:21:57
|
oiio is also what Blender uses... One day we'll have JXL... one day...
|
|
|
Quackdoc
|
2024-08-25 11:25:55
|
jxl was added to oiio a while ago
|
|
2024-08-25 11:25:59
|
[Hmm](https://cdn.discordapp.com/emojis/1113499891314991275.webp?size=48&quality=lossless&name=Hmm)
|
|
|
jonnyawsom3
|
2024-08-25 11:33:07
|
Yeah, but then this happened https://projects.blender.org/blender/blender/pulls/118989
|
|
2024-08-25 11:33:08
|
https://projects.blender.org/blender/blender/pulls/119257
|
|
2024-08-25 11:33:11
|
And nothing since
|
|
|
|
JendaLinda
|
2024-08-25 11:41:04
|
I thought there could be something like ECT that would do TIFF.
|
|
|
Quackdoc
|
2024-08-25 11:44:57
|
maybe its wroth bumping
|
|
|
_wb_
|
|
Quackdoc
does JXL truncate to 0.0..1.0?
|
|
2024-08-25 01:38:23
|
No. You can represent out of range values in jxl. When requesting float32 buffers from libjxl you will get the result as out of range values. When requesting uint buffers then it will be clamped to nominal range.
|
|
|
Quackdoc
|
2024-08-25 03:40:58
|
thats useful, it would be interesting to see some EXR tooling get ported to libjxl
|
|
|
spider-mario
|
2024-08-25 03:43:14
|
which tooling do you have in mind?
|
|
2024-08-25 03:43:43
|
viewing support in tev? support in pfstools? something like exrnormalize?
|
|
|
Quackdoc
|
2024-08-25 03:49:39
|
One of the tools I used a little bit is DJV https://darbyjohnston.github.io/DJV/ which was used for previewing renders
|
|
2024-08-25 04:01:47
|
ah found the video, I think doing a video like this for JXL would be a neat demo https://www.youtube.com/watch?v=-UjJqwwMJc8
|
|
|
jonnyawsom3
|
2024-08-25 05:24:34
|
Ahh, I remember that video. Makes me want to do some comparisons in Blender against JXL
|
|
|
Quackdoc
|
2024-08-25 05:34:28
|
ah weird
|
|
2024-08-25 05:34:46
|
ffmpeg doesn't work with this image
|
|
2024-08-25 05:42:09
|
sadly it doesn't look like ffmpeg (6.1) supports working in jxl like this
|
|
2024-08-25 05:42:22
|
this was just using `cjxl -d 0 -e 4 Tree.exr Tree.exr.jxl`
|
|
2024-08-25 05:47:43
|
another example
|
|
2024-08-25 05:54:37
|
https://openexr.com/en/latest/test_images/index.html images are here for testing
|
|
|
jonnyawsom3
|
|
Quackdoc
sadly it doesn't look like ffmpeg (6.1) supports working in jxl like this
|
|
2024-08-25 06:11:57
|
What program is that?
|
|
|
Quackdoc
|
|
What program is that?
|
|
2024-08-25 06:12:17
|
olive video editor
|
|
|
jonnyawsom3
|
2024-08-25 06:14:55
|
Looks interesting
|
|
|
Quackdoc
|
2024-08-25 06:20:43
|
its good
|
|
2024-08-25 06:35:55
|
as far as I can tell its still the only open source video editor that handles color right
|
|
|
DZgas Ж
|
|
DZgas Ж
<:PepeOK:805388754545934396> Unfortunately, that function i did looks worse. therefore, I will leave only the overboost (variance boost = 5-9) of the original function
|
|
2024-08-25 07:17:16
|
So my fork is SVT-AV1 v2
What is taken from svt-av1 2.2.0
1. Switching from YASM to NASM (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/4095469a8ff516053bc7ba10d4938d37f9499d30 ?view=parallel) (tafuck)
2. AVX2 microfixes (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/a4bd642290e028e97282833722bbe98371f846bb )
3. Load optimization for 2-5 cores (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/911c76502938498c34af50865b2279fa575c7811 )
That is all. The rest of the committees are shit.
But since I've been using my fork for 3 months now, hardcode has made significant changes that work on all presets:
1. Use a 64x64 superblock instead of 128x128 (instead of (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/9d6572dc4fa256d5daff9de3b222931ceb75ae3e ?view=parallel#8d0aaf3e3054aa9edddd62214850756d026f7b44))
2. De-block the filter to maximum quality by cutting out all optimizations in which its calculation was skipped (instead of (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/20c8dcc29b1230bc36e558a911f389654eb9ec78 ))
3. CfL (https://gist.github.com/luctrudeau/e12497a081b94bbbe5bb889b3f169417 ) counts 2 iterations instead of 1 or skips — Increases the complexity of color compression (instead of (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/9d6572dc4fa256d5daff9de3b222931ceb75ae3e ?merge_request_iid=2253#55b67158b0326e8442be9307de2707b12447a39c))
X speed difference on presets
```
old p new
0.47 3 0.41
1.06 5 0.87
1.45 7 1.20
1.82 9 1.51
```
|
|
2024-08-25 07:17:46
|
<:This:805404376658739230>
|
|
2024-08-25 07:18:07
|
old new preset 3 crf 63
|
|
2024-08-25 07:20:49
|
— I manually looked at all *hundreds *of commits in 3 months and decided that some kind of bullshit there, like disabling superblocks at high quality for 480p (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/9d6572dc4fa256d5daff9de3b222931ceb75ae3e?view=parallel#8d0aaf3e3054aa9edddd62214850756d026f7b44 ) or reduced vector search radius for some quality options (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/3a7b34c75c81784fbade35e23c1332a396514e5b?expanded=1#8dee898a87eca47a71a7212ddc73a3ed6d2973e5_7687_9105) — But they reported on +performance (https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases#220---2024-08-19 ) (which repeatedly drops at lower quality because fuck (img № 1) (https://wiki.x266.mov/blog/svt-av1-second-deep-dive )) in fact, 90% of the comits look like this
|
|
|
Quackdoc
|
|
Looks interesting
|
|
2024-08-25 10:06:32
|
ah found a video I wanted to share https://cdn.discordapp.com/attachments/587033245061873759/1200779163162910840/out.mp4?ex=66cc74bd&is=66cb233d&hm=b99c06cc26c95e46c5369e0be5c2c9f2842a4a08d6f38ed8a330c8bef73ad730&
|
|
2024-08-25 10:06:46
|
this is olive scrubbing perf when using jxl d0.5 with faster_decoding=2
|
|
2024-08-25 10:07:42
|
I was actually being held back by the raw render performance since this is a 32bit 1080p render on a undervolted rx 580 lol
|
|
|
Quackdoc
sadly it doesn't look like ffmpeg (6.1) supports working in jxl like this
|
|
2024-08-26 08:08:53
|
looking through ffmpeg code, I think this is happening because in 6.1 it only supports integer, seems to not be the case for ffmpeg 7.x, but olive doesn't build against that due to some API changes in ffmpeg
|
|
|
CrushedAsian255
|
2024-08-27 11:47:50
|
<@174118775753408512> <@1028567873007927297>
|
|
|
Demiurge
|
2024-08-27 11:47:54
|
Here is good
|
|
|
CrushedAsian255
|
2024-08-27 11:47:56
|
continuing from <#822105409312653333>
|
|
2024-08-27 11:48:20
|
> sure, you need a codec library for whatever codec you're using
I would count that as making them different formats
|
|
2024-08-27 11:48:32
|
you don't need a different program for JXL modular and VarDCT
|
|
|
username
|
|
CrushedAsian255
continuing from <#822105409312653333>
|
|
2024-08-27 11:48:33
|
from https://discord.com/channels/794206087879852103/822105409312653333/1277957551451013182 to be exact
|
|
|
Demiurge
|
2024-08-27 11:48:43
|
Sure, they're different formats, the same way ogg opus and ogg vorbis are different.
|
|
2024-08-27 11:48:47
|
Still ogg though
|
|
|
CrushedAsian255
|
|
Demiurge
Still ogg though
|
|
2024-08-27 11:48:52
|
that's a container
|
|
2024-08-27 11:48:56
|
not a format
|
|
|
Demiurge
|
2024-08-27 11:50:03
|
or an mp4 with hevc or avc
|
|
2024-08-27 11:50:36
|
The payload is different but most of the external structure is the same.
|
|
|
CrushedAsian255
|
|
Demiurge
The payload is different but most of the external structure is the same.
|
|
2024-08-27 11:51:18
|
the external structure is the same, sure, however the payload is over 99% of the content of the file
|
|
|
Demiurge
|
2024-08-27 11:51:20
|
TIFF can contain different codecs too
|
|
2024-08-27 11:51:28
|
but we still call it TIFF
|
|
|
CrushedAsian255
|
|
Demiurge
TIFF can contain different codecs too
|
|
2024-08-27 11:51:31
|
well we can all agree tiff is a mess
|
|
|
Demiurge
|
2024-08-27 11:53:20
|
well jxl has different boxes that can contain completely different payloads and ways to encode image data. I don't really see that as conceptually much different from how a container can have different codecs.
|
|
|
CrushedAsian255
|
|
Demiurge
well jxl has different boxes that can contain completely different payloads and ways to encode image data. I don't really see that as conceptually much different from how a container can have different codecs.
|
|
2024-08-27 11:54:12
|
sure, i'll rephrase my original question
Which codec is better for image compression, HEVC or AV1?
|
|
|
Demiurge
|
2024-08-27 11:56:50
|
I'm not an expert but I think av1 was designed to surpass hevc. But x265 seems to do a decent job and is way faster than any av1 encoder I've seen.
|
|
2024-08-27 11:58:25
|
I would be kind of surprised if x265 was significantly behind av1. My impression so far is that av1 has been a very bad tradeoff in complexity.
|
|
|
HCrikki
|
2024-08-27 12:00:39
|
anime scene is cutting edge at av1. the way they encode is not representative of general av1 performance. they encode every short scene separately with ML compares and mux back the whole
|
|
|
CrushedAsian255
|
2024-08-27 12:02:15
|
sounds like the anime scene tbh
|
|
|
HCrikki
|
2024-08-27 12:02:44
|
they still badmouth avif at every ocasion hoho. the ressource consumption cost of acceptable filesizes is brutal whatever you use
|
|
|
Demiurge
|
2024-08-27 12:21:25
|
Jyrki seems really good at what he does and really motivated. He improves jxl/jpegli quality all the time :)
|
|
|
Quackdoc
|
|
Demiurge
I'm not an expert but I think av1 was designed to surpass hevc. But x265 seems to do a decent job and is way faster than any av1 encoder I've seen.
|
|
2024-08-27 12:24:12
|
av1 is generally better then HEVC for quality at medium to low fidelity. svtav1 is generally better then hevc for encode speed and fidelity when working within the constraints of yuv420p.
no encoder right now cares really about high fidelity compression except for rav1e which, calling it on life support would be an understatement. it's slow as molasses because of that.
|
|
2024-08-27 12:25:04
|
one of the issues with high fidelity encoding with av1 right now is you have to really wrangle the encoders. svt-av1-psy does a decent job at that, but a dedicated fork shouldn't be necessary for this
|
|
|
Demiurge
|
2024-08-27 12:26:52
|
rav1e was good at still images (avif)
|
|
2024-08-27 12:27:04
|
but recently libaom improved a lot so idk if rav1e is still better
|
|
2024-08-27 12:27:15
|
probly not
|
|
|
DZgas Ж
|
|
DZgas Ж
So my fork is SVT-AV1 v2
What is taken from svt-av1 2.2.0
1. Switching from YASM to NASM (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/4095469a8ff516053bc7ba10d4938d37f9499d30 ?view=parallel) (tafuck)
2. AVX2 microfixes (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/a4bd642290e028e97282833722bbe98371f846bb )
3. Load optimization for 2-5 cores (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/911c76502938498c34af50865b2279fa575c7811 )
That is all. The rest of the committees are shit.
But since I've been using my fork for 3 months now, hardcode has made significant changes that work on all presets:
1. Use a 64x64 superblock instead of 128x128 (instead of (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/9d6572dc4fa256d5daff9de3b222931ceb75ae3e ?view=parallel#8d0aaf3e3054aa9edddd62214850756d026f7b44))
2. De-block the filter to maximum quality by cutting out all optimizations in which its calculation was skipped (instead of (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/20c8dcc29b1230bc36e558a911f389654eb9ec78 ))
3. CfL (https://gist.github.com/luctrudeau/e12497a081b94bbbe5bb889b3f169417 ) counts 2 iterations instead of 1 or skips — Increases the complexity of color compression (instead of (https://gitlab.com/AOMediaCodec/SVT-AV1/-/commit/9d6572dc4fa256d5daff9de3b222931ceb75ae3e ?merge_request_iid=2253#55b67158b0326e8442be9307de2707b12447a39c))
X speed difference on presets
```
old p new
0.47 3 0.41
1.06 5 0.87
1.45 7 1.20
1.82 9 1.51
```
|
|
2024-08-27 12:27:18
|
the other day I made a fork of svtav1 "super-placebo" for myself. the search radius of the vector is 256x256 and the number of iterations of CfL=100. it is 3 times slower than the minimum preset -1. and yet it gives a slightly better picture, visible even to the eye when comparing 2 images. it's strange why it's not in the encoder.
|
|
|
CrushedAsian255
|
|
DZgas Ж
the other day I made a fork of svtav1 "super-placebo" for myself. the search radius of the vector is 256x256 and the number of iterations of CfL=100. it is 3 times slower than the minimum preset -1. and yet it gives a slightly better picture, visible even to the eye when comparing 2 images. it's strange why it's not in the encoder.
|
|
2024-08-27 12:27:43
|
how slow is this?
|
|
2024-08-27 12:27:52
|
like 25 seconds per frame on 1080p?
|
|
|
Quackdoc
|
|
Demiurge
but recently libaom improved a lot so idk if rav1e is still better
|
|
2024-08-27 12:28:22
|
for only intra I would doubt it. but it may be still, not sure I don't test it very often, don't really have a reason too since I only use av1 on images where yuv420p makes sense, so it's svt all the way
|
|
|
DZgas Ж
|
2024-08-27 12:28:44
|
AV1 can really be better (the encoding speed for 6 "zen 4" cores is about 100 times slow than the input duration)
|
|
2024-08-27 12:28:55
|
<:AV1:805851461774475316>
|
|
|
CrushedAsian255
like 25 seconds per frame on 1080p?
|
|
2024-08-27 12:32:47
|
for 1080p, I would probably increase the search radius even more by killing the speed. but personally, I stick to the rule — 10 bit 1280x720 30 fps, or 8 bit 1280x720 60 fps, or 10 bit 960x540 60 fps. everything above is absolute death, both encoding and decoding, since my goal is strong compression in telegram for smartphones, 1080 is a waste of pixels.
|
|
2024-08-27 12:33:39
|
it is better to make 720p by increasing the quality and low preset — the quality of pixels is more important than their quantity <:This:805404376658739230>
|
|
|
CrushedAsian255
|
|
DZgas Ж
it is better to make 720p by increasing the quality and low preset — the quality of pixels is more important than their quantity <:This:805404376658739230>
|
|
2024-08-27 12:34:38
|
nah, what about my 1mbps 8k stream?
|
|
2024-08-27 12:34:49
|
you're telling me that was a waste of time?
|
|
|
DZgas Ж
|
|
CrushedAsian255
you're telling me that was a waste of time?
|
|
2024-08-27 01:18:49
|
absolutely. I wouldn't even be able to play it.
|
|
|
yoochan
|
2024-08-27 01:28:12
|
At 1 fps
|
|
|
DZgas Ж
|
|
_wb_
|
|
Demiurge
I'm not an expert but I think av1 was designed to surpass hevc. But x265 seems to do a decent job and is way faster than any av1 encoder I've seen.
|
|
2024-08-27 02:01:39
|
Not sure about that. I think it's more like av1 was meant to be a royalty-free alternative to hevc, with roughly equivalent compression performance (while avoiding the patent minefield).
|
|
|
DZgas Ж
|
|
Demiurge
I'm not an expert but I think av1 was designed to surpass hevc. But x265 seems to do a decent job and is way faster than any av1 encoder I've seen.
|
|
2024-08-27 02:04:48
|
lie
|
|
2024-08-27 02:05:33
|
the aomenc just suck
|
|
2024-08-27 02:06:18
|
SVT-AV1 surpasses all other encoders, both in speed and quality/speed and in quality limit
|
|
|
Quackdoc
|
|
_wb_
Not sure about that. I think it's more like av1 was meant to be a royalty-free alternative to hevc, with roughly equivalent compression performance (while avoiding the patent minefield).
|
|
2024-08-27 02:07:30
|
I can't speak for the spec because I really can't be bothered to read through av1's behemoth of a spec, but the actual encoders themselves are out performing x265 in compression:quality by quite a large margin now for medium and low fidelity. and for higher fidelity, if you can manage to wrangle aomenc it's decent too
|
|
|
RaveSteel
|
|
DZgas Ж
SVT-AV1 surpasses all other encoders, both in speed and quality/speed and in quality limit
|
|
2024-08-27 02:08:19
|
Not as long as SVT-AV1 only supports yuv420
|
|
|
DZgas Ж
|
2024-08-27 02:08:25
|
avc
vp9
hevc
av1
maximum possible parametr ( avg speed 0,005x)
|
|
|
RaveSteel
Not as long as SVT-AV1 only supports yuv420
|
|
2024-08-27 02:08:43
|
and 10 bits.
|
|
|
RaveSteel
|
|
DZgas Ж
|
2024-08-27 02:09:08
|
That's full enough
|
|
|
Quackdoc
|
|
RaveSteel
Not as long as SVT-AV1 only supports yuv420
|
|
2024-08-27 02:09:22
|
i cri ery tiem [pepehands](https://cdn.discordapp.com/emojis/1075509930502664302.webp?size=48&quality=lossless&name=pepehands)
|
|
|
DZgas Ж
|
|
Quackdoc
|
2024-08-27 02:09:38
|
svtav1's 420 limitation blows
|
|
|
DZgas Ж
|
2024-08-27 02:09:57
|
avc vp9 hevc av1 10 bit
|
|
2024-08-27 02:10:38
|
all looks gread 👍
|
|
|
RaveSteel
|
2024-08-27 02:12:20
|
It's not too bad if the source is 444 or RGB, but 420 to 420 via AV1 is recognizably worse looking, even without zooming in a lot
|
|
2024-08-27 02:13:28
|
It's not "bad" by any means, but still visible
|
|
|
DZgas Ж
|
|
Quackdoc
svtav1's 420 limitation blows
|
|
2024-08-27 02:13:55
|
I don't understand why this is a problem.
in my super-placebo fork, I set a brute force (100 iterations) CfL and now no problems with the colors
in my usual fork, I do 2 iterations on all presets and have no more problems with colors.
|
|
|
RaveSteel
|
2024-08-27 02:14:30
|
Maybe the defaults are not ideal?
|
|
|
Quackdoc
|
2024-08-27 02:14:34
|
because 420 is unacceptable for stuff like text
|
|
|
RaveSteel
|
2024-08-27 02:15:43
|
420 is also mostly alright for non-animated content, since red is not too prevalent in real life footage
|
|
|
DZgas Ж
|
2024-08-27 02:15:48
|
svt-av1 cfl 0-2 iterations by default do not save color so well, although the function consumes almost nothing
|
|
|
_wb_
|
2024-08-27 02:21:04
|
HEIF is indeed only a container, though it somewhat blurs the boundary between container and payload codec since it does bring some functionality that would be codec functionality in an image codec (but since the payload codec is not necessarily an image codec, it has to be brought to the container level). For example: alpha, orientation, tiling, color profiles, blending multiple layers. Those are things jxl does at the codec level, but video codecs don't support these things and HEIF bridges that gap.
|
|
|
DZgas Ж
|
|
Quackdoc
because 420 is unacceptable for stuff like text
|
|
2024-08-27 02:21:36
|
increasing the number of iterations also solves this problem.
|
|
|
_wb_
|
2024-08-27 02:22:20
|
So it is a container that does bring some functionality of its own, and requires significant implementation effort, to the extent that Nokia is claiming it has patents relevant to it.
|
|
|
DZgas Ж
|
2024-08-27 02:27:07
|
|
|
2024-08-27 02:27:50
|
the color problem is solved by a stupid increase in the number of CfL iterations
|
|
2024-08-27 02:28:11
|
this is crf 60
|
|
2024-08-27 02:34:14
|
It was certainly difficult. And it killed as much as 5% of the performance on preset 3 and 10% of the performance on preset 7
|
|
2024-08-27 02:36:17
|
And no more complaints about yuv420.
because yuv444
1. Slow encoding performance much more
2. Slow Decoding speed
3. Not included in the main profile av1
|
|
|
Quackdoc
|
2024-08-27 02:47:27
|
Im working with VDI, I need a lot higher fidelity then a game
|
|
|
DZgas Ж
|
2024-08-27 02:48:25
|
<:megapog:816773962884972565> then a game
|
|
|
Quackdoc
Im working with VDI, I need a lot higher fidelity then a game
|
|
2024-08-27 02:51:33
|
This is understandable, for pixel-to-pixel streaming is really a very specific request. And yes, there is nothing better than avc x264 for this.
|
|
2024-08-27 02:52:39
|
with -x264-params deadzone-inter=0:deadzone-intra=0:trellis=0
|
|
2024-08-27 02:53:31
|
and aq-mode=3:aq-strength=1.40:qpstep=10:qcomp=0.70 for dark game
|
|
|
DZgas Ж
with -x264-params deadzone-inter=0:deadzone-intra=0:trellis=0
|
|
2024-08-27 02:55:20
|
In all other codecs, it is impossible to disable functions that destroy details, noise (and everything else that harms compression). Only in AVC there are functions like that that are absolutely not documented anywhere, and you will not find a description of what they do anywhere on the Internet (because lies are written everywhere)
|
|
|
_wb_
Not sure about that. I think it's more like av1 was meant to be a royalty-free alternative to hevc, with roughly equivalent compression performance (while avoiding the patent minefield).
|
|
2024-08-27 03:03:24
|
It doesn't seem to be quite right. Because before that, Google had already made Vp9 (which should be superior to HEVC, but not lol)
Judging by the fact that there are so many companies, patents in the Aomedia alliance, and the fact that the final documentation has never been updated over the past 6 years. The goal was precisely that everyone was tired of different codecs that compete with themselves, and all are bad. Therefore, after collecting all the patents, they chose the most versatile functions that it was possible to collect from all existing developments. So that AV1 is the best in everything at the same time. Both movies and animation, 1080p and 360p.
And it should all be uncompromisingly better. The best technologies that were just invented at that time. And super innovations in the form of CfL and CDEF filter
|
|
2024-08-27 03:07:17
|
The best algorithm for finding motion vectors, the best deblocking filter, the best temporal filter
|
|
2024-08-27 03:08:04
|
The best noise reduction filter, at the NLMeans level
|
|
|
_wb_
|
2024-08-27 03:10:35
|
Timing-wise, av1 sits between hevc and vvc, like vp8 sits between h264 and hevc.
|
|
|
DZgas Ж
|
2024-08-27 03:11:53
|
And all sorts of very complex things like encoding motion vectors after the movement. When the object is in the future, but the codec saw it, and took information about it from the future. I don't remember, but it seems like it was in HEVC
|
|
|
_wb_
Timing-wise, av1 sits between hevc and vvc, like vp8 sits between h264 and hevc.
|
|
2024-08-27 03:14:07
|
I don't think it makes sense to talk about vp8 in general. This codec is completely dead. Unlike x264, which is still being dev, and which is much much wider in its capabilities (yes, take at least the search area of the vector that x264 can set to 512x512)
|
|
2024-08-27 03:14:23
|
(pic with last x264 commits)
|
|
|
_wb_
|
2024-08-27 03:15:13
|
Any codec is only as good as the best encoder that is available.
|
|
|
DZgas Ж
|
|
_wb_
Timing-wise, av1 sits between hevc and vvc, like vp8 sits between h264 and hevc.
|
|
2024-08-27 03:17:02
|
And no, HEVC has such a problem - on presets less than Medium, it play in quality like AVC, which will be encoded at the same speed. Moreover, at 360p resolution, AVC completely outperforms HEVC at any speed when they are equal. This is also due to the monstrous bad parallelization of HEVC
|
|
2024-08-27 03:18:02
|
The parallelization of SVT-AV1 is much much better, it is even better than that of AVC. This is the most parallelizable codec in general.
|
|
|
_wb_
Any codec is only as good as the best encoder that is available.
|
|
2024-08-27 03:19:32
|
I don't agree with that. Zstandard is better than Deflate. Absolutely wherever possible.
|
|
|
LMP88959
|
2024-08-27 03:56:57
|
isnt that a different codec though <@226977230121598977>
|
|
|
Quackdoc
|
|
DZgas Ж
This is understandable, for pixel-to-pixel streaming is really a very specific request. And yes, there is nothing better than avc x264 for this.
|
|
2024-08-27 03:58:52
|
currently we are using both h264 and vp9, typically we use 444p but for lower bandwidth reqs we do drop down to 422p most people care about quality more then they do frame rate so 25-30fps on the low end is fine.
|
|
|
DZgas Ж
|
|
Quackdoc
currently we are using both h264 and vp9, typically we use 444p but for lower bandwidth reqs we do drop down to 422p most people care about quality more then they do frame rate so 25-30fps on the low end is fine.
|
|
2024-08-27 04:00:51
|
ok
|
|
|
LMP88959
isnt that a different codec though <@226977230121598977>
|
|
2024-08-27 04:01:06
|
Is this a problem?
|
|
|
LMP88959
|
2024-08-27 04:01:28
|
yes because you disagreed with the statement "any codec is only as good as the best encoder that is available"
|
|
2024-08-27 04:01:38
|
that statement is true if the codec is the same but the encoder is different
|
|
2024-08-27 04:01:44
|
your example is of two different codecs
|
|
|
DZgas Ж
|
2024-08-27 04:48:47
|
well vp8 has only libvpx
|
|
2024-08-27 04:49:36
|
And from AVC, I just choose the best one (x264)
|
|
|
LMP88959
your example is of two different codecs
|
|
2024-08-27 04:53:30
|
I understand what you mean, but I don't look at the world that way.
There is a task, and I need to solve it, and there are tools that can solve it. And I'm just taking the best tool I have.
And it absolutely will never be vp8. because it wasn't made to be the best. it was made at the time to be at least some kind of the only alternative, before the patent codes.
The same way as Vorbis. Only LibVorbis was not abandoned as vp8. And vorbis is still the fastest audio codec in terms of decoding speed, and has been used in all games for compress music for over 20 years
|
|
|
LMP88959
|
2024-08-27 04:57:09
|
Yeah that's what wb is saying
|
|
2024-08-27 04:57:27
|
You wouldn't be using h264 if x264 wasnt really good
|
|
2024-08-27 04:58:00
|
and even though vp8 is better that h264 on paper its available encoder(s) are not as good as x264
|
|
|
DZgas Ж
|
|
LMP88959
and even though vp8 is better that h264 on paper its available encoder(s) are not as good as x264
|
|
2024-08-27 05:02:03
|
despite the fact that vp8 is still being updated. I just can't understand why they can't make it better. In 2024, it would be possible to spend 100 times more calculations to get better quality. But it seems these are fundamental limitations of the documentation. Limitations that kill potential. And this is the opposite of H264, which has extremely complex and potentially better feature . There are so many different Ways that we could use much much later, 10 years later, and this is what vp8 does not have
|
|
2024-08-27 05:04:08
|
VP9 has the same problem. Although its much bigger problem is parallelization
|
|
2024-08-27 05:05:38
|
How much potential was killed by the lack of yuv444 in **webp**. Or a limit of 16k x 16k size
|
|
2024-08-27 05:07:57
|
It's good that neither AV1 nor Jpeg XL have such problems - which allows them to get better and better
|
|
2024-08-27 05:08:09
|
the next 10 years <:JXL:805850130203934781>
|
|
|
|
JendaLinda
|
2024-08-27 05:41:35
|
I was encoding 720p x264 on a dualcore CPU, that was fun.
|
|
2024-08-27 05:54:00
|
That was the moment I realized I should get a better CPU.
|
|
|
DZgas Ж
|
|
JendaLinda
I was encoding 720p x264 on a dualcore CPU, that was fun.
|
|
2024-08-27 06:37:52
|
Literally me. I can give you my innovative compression preset, 4 years of studying x264
Although I did it mainly for XEON 24-48 cores. It is also suitable for fewer cores.
```
fast
ffmpeg -i input_file -pix_fmt yuv420p -vf "scale=960:540:flags=bicublin,hqdn3d=luma_spatial=2:chroma_spatial=2:chroma_tmp=5:luma_tmp=5" -c:a copy -c:v libx264 -profile:v main -preset veryslow -bf 3 -refs 5 -crf 25 -g 1200 -x264-params "me=dia:scenecut=40:chroma-qp-offset=-6:psy=0:subme=7:weightp=0:weightb=0:deadzone-inter=0:deadzone-intra=0:direct=none:b_adapt=0:b_pyramid=1:trellis=0:rc_lookahead=250:aq-mode=3:aq-strength=1.40:qpstep=10:ref=5:qcomp=0.70" -f -f matroska OUTPUT
slow
ffmpeg -i input_file -pix_fmt yuv420p -vf "scale=960:540:flags=spline,hqdn3d=luma_spatial=1:chroma_spatial=1:chroma_tmp=3:luma_tmp=3" -c:a copy -c:v libx264 -profile:v main -preset veryslow -bf 3 -refs 5 -crf 25 -g 1200 -x264-params "me=esa:scenecut=40:chroma-qp-offset=-6:psy=0:subme=9:weightp=1:weightb=0:deadzone-inter=0:deadzone-intra=0:direct=auto:b_adapt=2:b_pyramid=2:trellis=0:rc_lookahead=250:aq-mode=3:aq-strength=1.50:qpstep=8:ref=5:qcomp=0.70" -f matroska OUTPUT
```
|
|
|
RaveSteel
|
|
DZgas Ж
|
2024-08-27 06:42:44
|
Since I have a powerful processor, I also have a "Legacy" - super preset for myself.
```
very slow
ffmpeg -i input_file -pix_fmt yuv420p -vf scale=960:540:flags=spline+full_chroma_inp,hqdn3d=luma_spatial=0:chroma_spatial=0:chroma_tmp=3:luma_tmp=3 -c:a copy -c:v libx264 -profile:v main -preset veryslow -bf 9 -refs 5 -crf 25 -g 1200 -x264-params me=esa:scenecut=40:chroma-qp-offset=-4:psy=0:subme=9:weightp=1:weightb=1:deadzone-inter=0:deadzone-intra=0:direct=auto:b_adapt=2:b_pyramid=2:trellis=0:rc_lookahead=250:aq-mode=3:aq-strength=1.50:qpstep=8:ref=5:qcomp=0.70:fast_pskip=0:me_range=64:lookahead_threads=1 -f matroska OUTPUT
```
|
|
|
|
JendaLinda
|
2024-08-27 06:43:01
|
Meanwhile I moved to 6 cores, 12 threads, although I could always use more.
|
|
2024-08-27 06:44:38
|
I was using just simple slow preset with satisfactory results.
|
|
|
DZgas Ж
|
|
JendaLinda
I was using just simple slow preset with satisfactory results.
|
|
2024-08-27 06:45:16
|
Try mine, compare the speed, the quality. You may be surprised<:H264_AVC:805854162079842314>
|
|
|
|
JendaLinda
|
2024-08-27 06:47:46
|
It was a while. ffmpeg didn't yet have a stable AAC encoder back then so I was using libmp3lame for audio, making Frankenstein mp4s with AVC video and MP3 audio.
|
|
|
DZgas Ж
|
2024-08-27 06:48:19
|
It's quite normal
|
|
|
RaveSteel
|
|
JendaLinda
It was a while. ffmpeg didn't yet have a stable AAC encoder back then so I was using libmp3lame for audio, making Frankenstein mp4s with AVC video and MP3 audio.
|
|
2024-08-27 06:49:05
|
Actually cursed. I still have some old encodes lying around with that codec-combo
|
|
|
DZgas Ж
|
2024-08-27 06:49:19
|
In very rare cases, I use MP3 for some super-legacy moments, for example, LCD TV from 2007 or something like that
|
|
2024-08-27 06:51:48
|
Or for example, I have a 2013 TV. and for some reason, about once every 1 hour, the stream from the twitch, from which I copied the AAC track, has a glitch sound, or playback is completely cut off (the audio codec breaks) - I have no idea why this happens, some legacy shit - it can be useful to just take the Mp3 exclusively for yourself
|
|
|
|
JendaLinda
|
2024-08-27 06:52:07
|
I can't hear any difference between 192 kbps AAC and 192 kbps MP3 so it's fine for me.
|
|
|
DZgas Ж
|
2024-08-27 06:53:01
|
-q 9 -b 320 leeeets go
|
|
|
|
JendaLinda
|
2024-08-27 06:53:50
|
Kinda overkill for a mono audio from a camera mic.
|
|
|
DZgas Ж
|
2024-08-27 06:55:18
|
💀 for this, 64 kpbs will be overkill
|
|
|
RaveSteel
|
2024-08-27 06:56:34
|
Opus 8kbps and be square <:kekw:808717074305122316>
|
|
|
|
JendaLinda
|
2024-08-27 06:58:50
|
I think 64 kbps MP3 is the absolute minimum for mono audio. I was actually using 64 kbps for recordings from an older camera which recorded audio in 11025Hz 😄
|
|
2024-08-27 07:00:21
|
The uncompressed PCM was 88kbps, you can't go much worse.
|
|
|
RaveSteel
|
2024-08-27 07:01:17
|
I have an audiobook copied from one of those "MP3 CDs", encoding is horrible at 22KHz and 80Kbps Stereo
|
|
|
|
JendaLinda
|
2024-08-27 07:08:36
|
Ah aduio books. I know these. I was copying some CDs and they were already damaged brand new. The drive was constantly slowing down as it had difficulties reading them.
|
|
2024-08-27 07:13:03
|
Everything was readable at the end but the disks were apparently sloppily made.
|
|
|
DZgas Ж
|
|
DZgas Ж
I don't understand why this is a problem.
in my super-placebo fork, I set a brute force (100 iterations) CfL and now no problems with the colors
in my usual fork, I do 2 iterations on all presets and have no more problems with colors.
|
|
2024-08-27 07:27:16
|
standart svt-av1 placebo
my super-placebo fork
the great speed=0.0357x (fps=1.1 q=62.0)
|
|
2024-08-27 07:27:54
|
It's a pity that MP3 doesn't have some kind of BruteForce mode. Although FLAC has it
|
|
2024-08-27 07:28:17
|
flac.exe -peml 12 -r 8 -A subdivide_tukey(5) IN.wav ❤️🩹
|
|
|
|
JendaLinda
|
2024-08-27 07:33:49
|
I also had some audio in APE format. No idea why would anybody use it over FLAC.
|
|
2024-08-27 07:37:33
|
No big deal, lossless formats can be converted back and forth.
|
|
|
DZgas Ж
|
2024-08-27 07:40:59
|
As funny as ALAC
|
|
|
|
JendaLinda
|
2024-08-27 07:46:36
|
There were also funny uncompressed PCM formats. Does anybody remember VOC, for example?
|
|
|
DZgas Ж
|
2024-08-27 07:50:28
|
🧱 wav.xz my beloved
|
|
|
|
JendaLinda
|
2024-08-27 07:56:27
|
Yay, not that great for realtime playback, though.
|
|
2024-08-27 07:57:30
|
You could use avi.xz for lossless video as well. Did you know uncompressed AVI is basically animated BMP?
|
|
|
DZgas Ж
|
|
DZgas Ж
standart svt-av1 placebo
my super-placebo fork
the great speed=0.0357x (fps=1.1 q=62.0)
|
|
2024-08-27 08:19:10
|
I'm fucked right now at what I'm getting at with the fork super placebo. From how super complicated the encoded picture, it completely breaks legacy-level-profile. It decodes 2-3 times slower than standard presets
|
|
2024-08-27 08:19:31
|
<:AV1:805851461774475316>
|
|
2024-08-27 08:24:03
|
Well, it seems that I will have to spend another couple of weeks disabling all possible elements of the encoding settings in order to understand at what point in the encoding it fills the file with something that is extremely difficult to decode.
It's good that I know for sure that this is not a problem in the length of the vector search, CfL, or a strong deblock filter.
|
|
2024-08-27 08:24:53
|
Perhaps the problem is the insane number of non-square elements like 4x8 or 8x2 or 3x2 blocks
|
|
2024-08-27 08:49:26
|
OK, something that happens on preset 1, but doesn't happen on preset 2. Even though they should be exactly the same in terms of features enabled. Obviously SomeOne lie in the DOCS https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/CommonQuestions.md?ref_type=heads
|
|
2024-08-27 08:50:01
|
and this "that happens" kills the decoding speed by 2-3 times
|
|
2024-08-27 08:59:07
|
on standard svt-av1 same
|
|
|
Demiurge
|
2024-08-27 09:30:05
|
The limitations of video codecs being ram-rodded into an image format are laughable and embarrassing compared to the future-minded approach of jxl
|
|
2024-08-27 09:31:39
|
I think the shame and embarrassment of inadequacy is probably playing a factor in Jim's decision to remove competing formats.
|
|
2024-08-27 09:35:21
|
4:2:0 color, literally unusable-bad lossless, huge bloated container, tile boundaries, size limitations, extremely slow performance...
|
|
2024-08-27 09:36:06
|
I would be really embarrassed if I turned in an assignment like that and the guy next to me made JXL
|
|
2024-08-27 09:37:01
|
Maybe that is playing a psychological role.
|
|
|
|
JendaLinda
|
2024-08-27 09:44:57
|
Damaged Intel CPUs seem to be often failing in data compression. Perhaps zopflifying some PNGs could be a good reliability test.
|
|
2024-08-27 09:45:35
|
Letting ECT running overnight.
|
|
|
DZgas Ж
|
2024-08-27 10:25:42
|
i found
|
|
2024-08-27 10:27:11
|
I suggest comparing how the image looks after disabling this function, the same encoding time, the same bitrate, the decoding speed up is 2 times
|
|
2024-08-27 10:28:17
|
|
|
2024-08-27 10:31:59
|
(I'm not even going to say which picture it's on and which one it's off, lol)
|
|
|
|
Just me
|
|
JendaLinda
I can't hear any difference between 192 kbps AAC and 192 kbps MP3 so it's fine for me.
|
|
2024-08-29 08:31:00
|
I can spot MP3 at 320 kbps from anything else with music.
|
|
|
RaveSteel
|
2024-08-29 08:37:12
|
I cannot, but I still strongly prefer FLAC because of its lossless nature
|
|
|
|
JendaLinda
|
2024-08-29 08:52:53
|
Sure if I compare the samples decoded from 320kbps MP3 with the source PCM, there will be differences.
|
|
2024-08-29 08:55:28
|
Hearing differences in audio is not that easy like comparing two pictures. You can't "zoom-in" the audio.
|
|
2024-08-29 09:08:22
|
I'm also using FLAC, just not for encoding audio from a cheap noisy microphone.
|
|
|
CrushedAsian255
|
2024-08-30 08:55:36
|
I’m in the mindset of MP3 (preferably Opus) is fine for distribution, but do NOT convert your WAV/FLAC to any lossy format without keeping the original
|
|
|
RaveSteel
|
2024-08-30 09:02:49
|
Agreed
|
|
|
CrushedAsian255
|
2024-08-30 09:03:13
|
I’m personally a fan of WavPack hybrid
|
|
|
RaveSteel
|
2024-08-30 09:04:28
|
FLAC for me with Opus on mobile
|
|
|
CrushedAsian255
|
|
RaveSteel
FLAC for me with Opus on mobile
|
|
2024-08-30 09:29:31
|
Probably what I’m gonna switch to
|
|
|
spider-mario
|
2024-08-30 12:05:27
|
the mobile music playing device I use is an iPod Touch, so AAC for me
|
|
2024-08-30 12:06:09
|
(fdk-aac via ffmpeg)
|
|
|
RaveSteel
|
2024-08-30 12:10:26
|
I have heard very good things about the exhale encoder
|
|
2024-08-30 12:14:12
|
https://gitlab.com/ecodis/exhale
|
|
2024-08-30 12:14:15
|
https://gitlab.com/ecodis/exhale/-/wikis/faq
|
|
|
|
JendaLinda
|
2024-08-30 12:31:23
|
I have bunch of WAV files using ADPCM compression. It's some kind of simple lossy compression with fixed compression ratio. There are several different ADPCM codecs, not sure what are the differences between them.
|
|
|
spider-mario
|
|
RaveSteel
https://gitlab.com/ecodis/exhale
|
|
2024-08-30 12:32:53
|
seems to be for low bitrates; I’d rather just use AAC-LC
|
|
2024-08-30 12:33:07
|
`ffmpeg -c:a libfdk_aac -vbr 5` is my go-to
|
|
|
RaveSteel
|
2024-08-30 12:35:11
|
QAAC is a better encoder that fdk from what I remeber, but QAAC is not open source 🤮 or rather, it requires blobs from iTunes
|
|
|
|
JendaLinda
|
2024-08-30 12:36:43
|
I'm just using the builtin AAC encoder as I don't feel like compiling ffmpeg myself.
|
|
2024-08-30 12:40:30
|
As suggested, if I needed flawless quality, I'd use FLAC.
|
|
|
spider-mario
|
2024-08-30 12:41:51
|
yeah, that’s what I keep on my PC
|
|
2024-08-30 12:42:01
|
but realistically, for my iPod Touch, fdk with -vbr 5 should do
|
|
|
|
JendaLinda
|
2024-08-30 12:57:06
|
The ADPCM doesn't sound that great considering the relatively high bitrate, but the best option is probably just leave it.
|
|
2024-08-30 01:05:39
|
I discovered them by accident when the `flac` utility couldn't read the wav files. `ffmpeg` would convert them without issues but it wouldn't do any good.
|
|
|
CrushedAsian255
|
|
JendaLinda
The ADPCM doesn't sound that great considering the relatively high bitrate, but the best option is probably just leave it.
|
|
2024-08-30 01:06:56
|
I have tried `adpcm-xq`, it's not actually terrible, it's not great though
|
|
|
|
JendaLinda
|
2024-08-30 01:07:32
|
This is Microsoft ADPCM in particular.
|
|
|
CrushedAsian255
|
2024-08-30 01:09:49
|
`adpcm-xq` is an IMA ADPCM encoder, which is what WAV's ADPCM setting uses
|
|
2024-08-30 01:10:00
|
it's an ADPCM encoder with noise shaping
|
|
2024-08-30 01:11:50
|
|
|
2024-08-30 01:11:56
|
this is with speed setting 3 out of 6
|
|
2024-08-30 01:13:06
|
i'm planning to try to build an adpcm hardware decoder in some hdl language as a challenge
|
|
|
|
JendaLinda
|
2024-08-30 01:13:30
|
As I said, I don't know what's the difference between individual ADPCM implementations.
And I didn't encode the files, I just found them.
|
|
|
CrushedAsian255
|
2024-08-30 01:13:40
|
most of them are the same
|
|
|
|
JendaLinda
|
2024-08-30 01:14:07
|
Supposedly MS ADPCM should be the default as WAV is MS format.
|
|
|
CrushedAsian255
|
2024-08-30 01:15:14
|
hmm, apparently MS ADPCM is slightly different, but IMA ADPCM is also supported in WAV, so probably use that instead, it's apparently better
|
|
|
|
JendaLinda
|
2024-08-30 01:16:40
|
That's possible. Microsoft is not exactly good at making audio codecs.
|
|
|
CrushedAsian255
|
2024-08-30 01:17:07
|
cough cough wma
|
|
2024-08-30 01:17:43
|
also, IMA ADPCM is more supported, as it's the de-facto standard ADPCM specification
|
|
|
RaveSteel
|
|
CrushedAsian255
cough cough wma
|
|
2024-08-30 01:19:49
|
https://tenor.com/view/vade-retro-satanas-gif-13170841
|
|
|
|
JendaLinda
|
2024-08-30 01:21:03
|
You can also force MP3 as payload inside WAV file to trick someone.
|
|
|
CrushedAsian255
|
2024-08-30 01:21:17
|
just because why not?
|
|
2024-08-30 01:21:54
|
yep
|
|
2024-08-30 01:22:00
|
|
|
2024-08-30 01:22:08
|
huh, discord supports it?
|
|
|
|
JendaLinda
|
2024-08-30 01:22:49
|
Perhaps it thinks it's an mp3 file with weird padding at the beginning.
|
|
|
CrushedAsian255
|
2024-08-30 01:22:56
|
yeah
|
|
2024-08-30 01:23:08
|
it's probably just skipping the beginning and syncing with the internal MP3 data
|
|
2024-08-30 01:24:35
|
|
|
2024-08-30 01:27:59
|
when downloading it from Discord, it's called an MP3 file
|
|
|
|
JendaLinda
|
2024-08-30 01:30:04
|
The structure of MP3 files varies so the software has to do more digging. As a result, it can find MP3 data like this.
|
|
|
CrushedAsian255
|
2024-08-30 01:30:38
|
like how ID3 metadata is just yeeted at the beginning?
|
|
|
|
JendaLinda
|
2024-08-30 01:30:53
|
Yes, like that
|
|
|
CrushedAsian255
|
2024-08-30 01:31:46
|
this actual MP3 has an entire JPEG at the beginning
|
|
2024-08-30 01:32:49
|
Album art I think
|
|
|
|
JendaLinda
|
2024-08-30 01:33:20
|
I wonder if the WAV MP3 can be put inside another WAV 😄
Did you use ffmpeg? It did some cleaning, it seems. Would be fun to put the JPEG in the WAV as well.
|
|
|
CrushedAsian255
|
2024-08-30 01:33:41
|
I think FFmpeg would detect the WAV header
|
|
|
JendaLinda
I wonder if the WAV MP3 can be put inside another WAV 😄
Did you use ffmpeg? It did some cleaning, it seems. Would be fun to put the JPEG in the WAV as well.
|
|
2024-08-30 01:33:54
|
Yes I used ffmpeg
|
|
2024-08-30 01:34:06
|
Ffmpeg demultiplexes the metadata and thumbnail separately
|
|
2024-08-30 01:34:21
|
I could probably force it to stream copy everything as “Junk data”
|
|
2024-08-30 01:34:45
|
But theoretically you can just Comcast the headers to the mp3
|
|
2024-08-30 01:34:50
|
Concat *
|
|
|
|
JendaLinda
|
2024-08-30 01:35:04
|
MP3 is weird one as it doesn't use container.
|
|
|
CrushedAsian255
|
2024-08-30 01:35:16
|
Yeah it’s just a stream
|
|
|
|
JendaLinda
|
2024-08-30 01:35:47
|
So demuxing is just stripping non-audio data.
|
|
|
CrushedAsian255
|
2024-08-30 01:36:01
|
There are defacto headers like Xing but that’s mainly just for VBR seeking
|
|
|
|
JendaLinda
|
2024-08-30 01:41:45
|
Speaking of retro. What about MP2? In my experience, MP2 sounds actually terrible.
|
|
2024-08-30 01:43:20
|
MP2 produces unpleasant high frequency spikes.
|
|
2024-08-30 01:53:09
|
Or did everybody just used very bad encoders? libtwolame doesn't seem to have this issue.
|
|
|
Meow
|
2024-08-30 01:58:34
|
Someone tried QOA?
|
|
|
CrushedAsian255
|
2024-08-30 02:00:17
|
Twolame is actually decent
|
|
|
JendaLinda
MP2 produces unpleasant high frequency spikes.
|
|
2024-08-30 02:00:35
|
The FFmpeg in build mp2 decoder SUCKS
|
|
|
|
JendaLinda
|
2024-08-30 02:02:54
|
I have no idea what encoder was used in TV broadcasting but I'm glad MP2 died with DVB-T
|
|
|
CrushedAsian255
|
2024-08-30 02:03:22
|
and DVDs
|
|
|
|
JendaLinda
|
2024-08-30 02:03:34
|
The audio was atrocious.
|
|
|
CrushedAsian255
|
2024-08-30 02:03:45
|
they technically support mp2 but i've never seen one that actually uses it
|
|
2024-08-30 02:04:00
|
VCDs exclusively use 224 kbps mp2
|
|
|
|
JendaLinda
|
2024-08-30 02:04:34
|
Most DVDs used AC3, that's alright.
|
|
|
CrushedAsian255
|
2024-08-30 02:04:38
|
yeah
|
|
2024-08-30 02:04:54
|
and Blu-Rays get that oh so sweet lossless audio
|
|
2024-08-30 02:04:59
|
(most of the time)
|
|
|
|
JendaLinda
|
2024-08-30 02:09:07
|
I don't want to listen to audio where every sibilant is like a needle stabbing me in the ears.
|
|
2024-08-30 02:10:46
|
The MP2 was that bad.
|
|
|
spider-mario
|
|
JendaLinda
Speaking of retro. What about MP2? In my experience, MP2 sounds actually terrible.
|
|
2024-08-30 02:29:15
|
I’ve seen it claimed that MP3 doesn’t achieve full transparency at any bitrate but that MP2 can
|
|
2024-08-30 02:29:21
|
not sure how much truth there is to it
|
|
2024-08-30 02:29:28
|
is MP3 a strict superset of MP2?
|
|
|
|
JendaLinda
|
2024-08-30 02:37:16
|
MP2 was also used for pre-recorded announcements in public transport etc. and that's probably the only fitting use case IMO.
|
|
|
Demiurge
|
2024-08-30 05:53:36
|
Musepack is supposed to be pretty good quality and it's based on mp2 and very fast
|
|
|
|
Just me
|
2024-08-31 07:39:29
|
I don't think that JPEG XL is bad given its partial compatibility with JPEG. AVIF and WebP 2 are very competitive in terms of file size alone... Maybe this wasn't the case several years ago. Multimedia is much more complex than just file size...
|
|
|
DZgas Ж
|
|
Just me
I can spot MP3 at 320 kbps from anything else with music.
|
|
2024-08-31 06:09:52
|
I have a friend who designs the highest quality headphones... which he makes manually to order. And yes, I did blind tests with him, he was able to distinguish everything. Moreover, it can easily distinguish ALL mp3 qualities for 320 kbps (lame q3 q5 9) from the best to the worst
But, on lame -q 0 -b 320, for the first time he was unable to do this. (as far as I know, this is the highest possible quality that MP3 can achieve in 2024)
|
|
2024-08-31 06:10:00
|
try <:This:805404376658739230>
|
|
|
yoochan
|
|
Just me
I don't think that JPEG XL is bad given its partial compatibility with JPEG. AVIF and WebP 2 are very competitive in terms of file size alone... Maybe this wasn't the case several years ago. Multimedia is much more complex than just file size...
|
|
2024-08-31 07:48:20
|
You can always produce smaller files, but quality must also be a factor. When you do, jpegxl is very competitive too. Even more so in lossless
|
|
|
Demiurge
|
|
DZgas Ж
I have a friend who designs the highest quality headphones... which he makes manually to order. And yes, I did blind tests with him, he was able to distinguish everything. Moreover, it can easily distinguish ALL mp3 qualities for 320 kbps (lame q3 q5 9) from the best to the worst
But, on lame -q 0 -b 320, for the first time he was unable to do this. (as far as I know, this is the highest possible quality that MP3 can achieve in 2024)
|
|
2024-09-01 10:36:23
|
I hope your friend takes care of his ears and isn't losing his powers!
|
|
|
DZgas Ж
|
2024-09-01 10:44:59
|
I mean, it's possible.
|
|
|
CrushedAsian255
|
|
DZgas Ж
I have a friend who designs the highest quality headphones... which he makes manually to order. And yes, I did blind tests with him, he was able to distinguish everything. Moreover, it can easily distinguish ALL mp3 qualities for 320 kbps (lame q3 q5 9) from the best to the worst
But, on lame -q 0 -b 320, for the first time he was unable to do this. (as far as I know, this is the highest possible quality that MP3 can achieve in 2024)
|
|
2024-09-01 11:08:52
|
hopefully they aren't one of those people who say they can hear the difference between WAV and FLAC
|
|
|
DZgas Ж
|
|
CrushedAsian255
hopefully they aren't one of those people who say they can hear the difference between WAV and FLAC
|
|
2024-09-01 12:05:54
|
no. in addition, of course, I conducted a completely blind test.
|
|
|
|
JendaLinda
|
2024-09-01 02:15:17
|
320 kbps MP3 certainly altars the sample values in some way, so it's not impossible somebody could hear it.
|
|
2024-09-01 02:22:31
|
After all, lossless codecs use much higher bitrate, so some loss in MP3 or MP2 is unavoidable.
|
|
|
CrushedAsian255
|
2024-09-01 03:11:50
|
I know, it’s just some people genuinely believe they can hear the difference between WAV and FLAC
|
|
|
|
JendaLinda
|
2024-09-01 04:10:21
|
You're right.
|
|
2024-09-01 04:14:31
|
I've just pointed out, that when using a lossy codec, the integer values representing audio samples are always slightly changed.
|
|
2024-09-01 04:17:34
|
As long as the integer values don't change, the audio is exactly the same. You can just convert FLAC to uncompressed WAV and don't tell them 😄
|
|
|
CrushedAsian255
|
2024-09-01 08:58:46
|
Also just wondering, where do you get FLAC music (if you do at all)?
|
|
|
Quackdoc
|
2024-09-01 09:45:49
|
is there a place where the HEIF spec is not paywalled?
|
|
|
DZgas Ж
|
|
CrushedAsian255
Also just wondering, where do you get FLAC music (if you do at all)?
|
|
2024-09-01 09:46:16
|
steal || I also have a friend who has a database with over 200 terabytes of completely stolen source flac music. I think he has enough for a lifetime. ||
|
|
|
Quackdoc
|
2024-09-01 09:46:59
|
~~ah I think I found it~~ maybe not links were dead
|
|
|
DZgas Ж
|
2024-09-01 09:48:02
|
Rather, these are the resulting consequences of the widespread Subscription System in our time. By buying a subscription, you actually become the owner of absolutely all the music on this service. A couple dozen subscriptions for everywhere. And so. All the music. Take to...
|
|
|
CrushedAsian255
|
|
DZgas Ж
steal || I also have a friend who has a database with over 200 terabytes of completely stolen source flac music. I think he has enough for a lifetime. ||
|
|
2024-09-01 09:48:03
|
Steal = go to the store and snatch CDs, or pirate?
|
|
|
DZgas Ж
Rather, these are the resulting consequences of the widespread Subscription System in our time. By buying a subscription, you actually become the owner of absolutely all the music on this service. A couple dozen subscriptions for everywhere. And so. All the music. Take to...
|
|
2024-09-01 09:48:40
|
Streaming != owning, steaming = paid version of public library
|
|
|
DZgas Ж
|
2024-09-01 09:50:37
|
<@386612331288723469> It's hard for me to talk about this topic because I'm Russian. I just go (in The Internet) and steal anything, because the laws of my country allow it.
|
|
|
CrushedAsian255
Streaming != owning, steaming = paid version of public library
|
|
2024-09-01 09:52:52
|
|| Of course, this is exactly why my friend has 200 terabytes of data. Data can just as Suddenly delete from that place. where it on the streaming service. ||
|
|
|
CrushedAsian255
|
|
DZgas Ж
<@386612331288723469> It's hard for me to talk about this topic because I'm Russian. I just go (in The Internet) and steal anything, because the laws of my country allow it.
|
|
2024-09-01 09:54:20
|
Brb
|
|
|
DZgas Ж
|
2024-09-01 09:54:36
|
<:PepeGlasses:878298516965982308>
|
|
|
CrushedAsian255
Steal = go to the store and snatch CDs, or pirate?
|
|
2024-09-01 10:16:06
|
This is one of the funny national facts. What, the Internet has developed so quickly that Blu-Ray has never come to us. After the DVD, there was only the Internet. And nothing else. And the shops where you can actually buy physical copies of something have simply disappeared, its do not exist at the moment. This is perceived as retro. The DVD reader died about 10 years ago. (We also completely do not have cult of physical copies, or similar collecting.)
Because of this, this is what happens: something can only be legally purchased on the Internet. *And everything was fine until the events that I will not comment on took place in 2022.* But because of it, we were forbidden to give money to someone, I have money, but I can't give it. *shut up and take my money* just not work. (although I can give it on Steam)...
And what should I do? Of course - torrent do brbrbrbrb
This is especially funny considering that the VDSL and ADSL network is very developed in Europe. While in our country, Phone wired communication has been completely killed at the moment, which is why we have an only high-speed Internet connection.
|
|
|
Quackdoc
is there a place where the HEIF spec is not paywalled?
|
|
2024-09-01 10:31:38
|
To be honest, I have never seen this format really anywhere at all. I see being discussed. But I don't understand, but where do you use it like ?
|
|
2024-09-01 10:33:27
|
Why is HEIF even in 2024??
If you want to compress better - use AVIF/JXL (depending on what is available)
If you want to compress/decompress faster, then use WEBP (especially relevant for 4k+ photos)
|
|
|
Quackdoc
|
2024-09-01 10:33:35
|
it's the base format for heic and avif. avif and heic specs "modify" the heif format
|
|
2024-09-01 10:33:55
|
basically you need to implement heif to implement heic or avif
|
|
|
DZgas Ж
|
2024-09-01 10:34:34
|
but speaking of it, you most likely have exactly HEVC-based
|
|
|
Quackdoc
|
2024-09-01 10:34:49
|
prolly I dunno, couldnt say
|
|
2024-09-01 10:35:01
|
all I know is that I cant seem to find the actual base spec for free
|
|
|
DZgas Ж
|
2024-09-01 10:41:19
|
Yep
|
|
|
Quackdoc
all I know is that I cant seem to find the actual base spec for free
|
|
2024-09-01 10:53:13
|
Okay, I just stole it <:kekw:808717074305122316> but 2017
|
|
|
Quackdoc
|
2024-09-01 10:53:24
|
[av1_dogelol](https://cdn.discordapp.com/emojis/867794291652558888.webp?size=48&quality=lossless&name=av1_dogelol)
|
|
2024-09-01 10:53:26
|
[dorime](https://cdn.discordapp.com/emojis/979397787970072596.webp?size=48&quality=lossless&name=dorime)
|
|
|
|
JendaLinda
|
2024-09-02 09:35:14
|
I found some LBM images. Does anybody remember that format?
|
|
|
DZgas Ж
|
2024-09-02 11:04:53
|
https://github.com/Chocobo1/opus-tools_win32-build I went to get the latest builds of opusenc for Windows.... great! another AVX-only build project. for both x64 and 32-bit lol
|
|
2024-09-02 11:06:57
|
the official page is certainly completely abandoned
|
|
|
RaveSteel
|
|
DZgas Ж
the official page is certainly completely abandoned
|
|
2024-09-02 11:27:16
|
Is the official page hosted by the xiph guys?
|
|
|
DZgas Ж
|
|
RaveSteel
Is the official page hosted by the xiph guys?
|
|
2024-09-02 11:40:43
|
yes
|
|
|
RaveSteel
Is the official page hosted by the xiph guys?
|
|
2024-09-02 11:41:25
|
Maybe they just died
|
|
|
CrushedAsian255
|
2024-09-02 11:43:25
|
did Xiph get absorbed into AOM?
|
|
2024-09-02 11:43:33
|
AOM audio codec when?
|
|
|
RaveSteel
|
|
DZgas Ж
Maybe they just died
|
|
2024-09-02 11:44:24
|
The latest Tag is 1.5.2, but they have long stopped providing releases for some reason
|
|
|
DZgas Ж
|
2024-09-02 11:45:56
|
classic. I remember kicking the JXL developers when they didn't release, it seems, the 0.7 version on github, or so
|
|
2024-09-02 11:46:24
|
But at least they have a hidden website with builds. And xiph doesn't have anything... or?
|
|
|
CrushedAsian255
|
2024-09-02 11:48:47
|
```➜ ~ opusenc --version
opusenc opus-tools 0.2 (using libopus 1.5.2)
Copyright (C) 2008-2018 Xiph.Org Foundation```
|
|
2024-09-02 11:49:00
|
they haven't updated the copyright in the version text
|
|