Live data from Hacker News

The AV2 Video Standard Has Released (Final v1.0 Specification)

av2.aomedia.org

171–180 of 190 posts

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#171

Earlier quoted context omitted.

Screen recording is not niche, anyone who works remotely probably does video calls daily and the others are somewhat more niche but I'd guess that at least 50-70% of people do at least one of these things

I think, screen recording is ultra-niche, and I don't know why, I feel better when I know my OS is unable to do just that. (As a side project, I am writting my walyand compositor, and I know that if it supports screen recording, that's going to be something certainly hacky and I can disable at compile time).

Do you not ever want to show someone something on your screen? For a bug report or to demonstrate a project you’re working on? Or do a screen share to ask for help with setting something up (which is admittedly a bit different from a recording but only in that it’s live)?

I can see a lot of non-techy people not knowing how to do this but among people who know how to do it I bet it’s above 50% who use it

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#172

Earlier quoted context omitted.

> In the 1980s, when IBM accused Sun of violating seven patents, Sun examined the patents and argued that IBM didn't have a case. The reply of IBM's lawyers was "maybe you don't infringe these seven patents. But we have 10,000 U.S. patents. Do you really want us to go back to Armonk [IBM headquarters in New York] and find seven patents you do infringe? Or do you want to make this easy and just pay us $20 million?" An…

Big corpo shenanigans, from the 80s. Any recent quotes?

It's pretty much the modus operandi of any patent troll or in more general case - of any racketeer. Nothing new about it.

https://www.youtube.com/watch?v=Zz0_r4PDyCs&t=1m30s

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#173

Earlier quoted context omitted.

I really don't. 1. Lossless AVIF is a joke often beaten by WebP and even PNG. Even worse for grayscale. 2. Chroma subsampling remains a bad idea for still images unless the resolution is high enough to hide the artifacts. 3. Tooling is the worst part, AV1 encoders are basically focused 99% on video and leave a measly 1% to image; unlike JXL, of course. SVT-AV1 still doesn't do YUV444 and libaom was unusable. Fortunat…

> 2. Chroma subsampling remains a bad idea for still images unless the resolution is high enough to hide the artifacts. Hmm, I don't think so. I think at a fixed file size, chroma subsampling usually allows you to have fewer noticeable artifacts. Humans are so much more sensitive to luma that it doesn't make sense to treat it equally to chroma with respect to lossy compression. That said, if you don't like it, AVIF s…

> Hmm, I don't think so. I think at a fixed file size, chroma subsampling usually allows you to have fewer noticeable artifacts

At low bpp, certainly. Though "certainly" is to be quantified since chroma is quite cheap in AV1, thanks to CfL.

> Humans are so much more sensitive to luma that it doesn't make sense to treat it equally to chroma with respect to lossy compression

The problem is that this is completely dependent on material. Sharp and/or bright red is too common a killer sample (cf https://gitlab.com/AOMediaCodec/SVT-AV1/-/work_items/2211). Make sense for video where you'll have a hard time seeing it, but for still pictures it's too problematic to apply indiscriminately unless you're encoding at potato quality anyway.

> That said, if you don't like it, AVIF supports 4:4:4 just fine.

I know, but libaom is basically a reference codec, SVT-AV1 is the only "real" one we got and it doesn't =(

> In my tests, AVIF beats PNG easily for lossless compression of actual photographs

You're right, I wrongly put photographs aside where AVIF certainly is better. It did "okay" in my tests (NB: ImageMagick doesn't do "lossless" RGB AVIF even with `-quality 100` unless you add `-define heic:chroma=444 -define heic:cicp=1/13/0/1`; you can verify with `magick compare -metric AE ref.png out.avif /dev/null`).

> And for lossy, it's much smaller than jpeg

At decent quality, is it that much better than jpegli (https://opensource.googleblog.com/2024/04/introducing-jpegli...) or even mozjpeg ? If we add FGS to the equation, AVIF has the potential to be much better, though.

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#174
post #8

Earlier quoted context omitted.

That's fine and not anything new for codecs, they always take a long time before mass adoption. Take a look at AV1 itself, you can't even say it's really ubiquitous on all hardware. It's quite well along in adoption compared to early days, but some mobile devices are still lacking hardware acceleration for it.

It is still ironic to me that my Steam Deck has decode AV1 acceleration, on a really old CPU/GPU combo.

Why is it ironic?

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#175

Earlier quoted context omitted.

> 2. Chroma subsampling remains a bad idea for still images unless the resolution is high enough to hide the artifacts. Hmm, I don't think so. I think at a fixed file size, chroma subsampling usually allows you to have fewer noticeable artifacts. Humans are so much more sensitive to luma that it doesn't make sense to treat it equally to chroma with respect to lossy compression. That said, if you don't like it, AVIF s…

> Hmm, I don't think so. I think at a fixed file size, chroma subsampling usually allows you to have fewer noticeable artifacts At low bpp, certainly. Though "certainly" is to be quantified since chroma is quite cheap in AV1, thanks to CfL. > Humans are so much more sensitive to luma that it doesn't make sense to treat it equally to chroma with respect to lossy compression The problem is that this is completely depen…

Some followup tests for lossless photo encoding

  $ real_time() { command time -p sh -c '{ "$@"; } 2>&3 >&2' argv0 "$@" 3>&2 2>&1 | sed -n 's#^real ##p'; }
  $ magick identify DSC00191.ppm
  DSC00191.ppm PPM 5492x3672 5492x3672+0+0 8-bit sRGB 57.6972MiB 0.090u 0:00.042
  $ for s in 0 3 6; do real_time magick DSC00191.ppm -quality 100 -define heic:chroma=444 -define heic:cicp=1/13/0/1 -define heic:speed=$s DSC00191_s$s.avif; done
  76.71
  12.80
  1.73
  $ real_time magick DSC00191.ppm -quality 0 DSC00191.jp2
  3.315
  $ real_time sh -c 'magick "$1" -define png:compression-level=0 "$2" && oxipng -q -o2 -s "$2"' argv0 DSC00191.{ppm,png}
  7.746
  $ for e in 3 6 9; do real_time magick DSC00191.ppm -quality 100 -define jxl:effort=$e DSC00191_e$e.jxl; done
  0.53
  1.33
  7.71
  $ for m in 0 3 6; do real_time magick DSC00191.ppm -quality 100 -define webp:lossless=true -define webp:method=$m DSC00191_m$m.webp; done
  5.86
  10.41
  46.03
  $ du -k DSC00191* | sort -n
  20068   DSC00191_e9.jxl
  20608   DSC00191_e6.jxl
  21324   DSC00191_m6.webp
  21340   DSC00191_m3.webp
  21772   DSC00191_e3.jxl
  23744   DSC00191.jp2
  23848   DSC00191_s0.avif
  23896   DSC00191_s3.avif
  24212   DSC00191_s6.avif
  24556   DSC00191.png
  26428   DSC00191_m0.webp
  59084   DSC00191.ppm
Not fabulous, really. If you've got a YUV source, everything changes, of course.

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#176
post #137

Earlier quoted context omitted.

Video calls are niche, and offline encoding of video isn't ? Are you sure this isn't just “things I do are commonplace, and things I don't are incredibly niche”?

What? All are niche, and video calls are at best quite rare. People still prefer audio calls or even text messages mostly. Video calls is just a feature expected on smart phones, and it means there we better have an hardware encoder. I don't know if AV2 is defining them, but it needs hard "profiles", that to give a scope for hardware implementations. Well, it all depends on how AV2 is designed, and defining those pro…

I recently stayed with a non-technical friend for a few weeks; they easily spent a third of their working hours on zoom calls.

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#177
post #103
post #87

Earlier quoted context omitted.

Yeah, no production or large scale VC system is running software AV1 encoders on smartphones. You will drain a full phone battery in 1-2 hours of calls. It just doesn’t make sense and will result in extraordinary power/battery drainage at best, or output that’s worse than hardware encoding. The only way you could get AV1 to software encode in realtime AND low latency on a mid-range Android chip is by disabling or ski…

So, status remains quo, the commons remain tragic, and glory to H.264 forever?

> tragic

H.264 isn't even that bad at all, if not the best depending on how you look at it. Our Internet bandwidth, both on the backend and front end on Mobile 5G is increasing with plenty more room to grow. While computation decoding and storage isn't.

i.e If bandwidth is infinite and free, and we are only optimising for decoding power usage. H.264 wins in a lot of this scenario.

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#178
post #144

Earlier quoted context omitted.

I strongly disagree with it not being required. I run a small social news site - AV1 is still prohibatively expensive both for the server and clients for software encoding/decoding. Without hardware encoding, the tradeoff for better compression ratios in exchange for massive battery use + very long processing times for encoding simply isn't worth it. In order to get AV1 out, I have to often process a h264 version of…

I went and checked some youtube videos on my front page, A video with 15k views had an AV1 encode, while a video with 160 views was h264 only. So extremely popular videos is not how I would describe it, probably by views, almost everything you watch on youtube is AV1. But they skip the extra encodes for videos relatively no one watches.

Last time I checked they do it for new videos only. Older videos with 1M views aren't even on AV1.

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#179
post #144

Earlier quoted context omitted.

Based on AV1's trajectory, hardware encode isn't necessary (though it is nice). The current encoder is a reference encoder. Now that the spec is finalized, expect significant speed improvements from production encoders (realtime likely won't happen until we get it in hardware though)

I strongly disagree with it not being required. I run a small social news site - AV1 is still prohibatively expensive both for the server and clients for software encoding/decoding. Without hardware encoding, the tradeoff for better compression ratios in exchange for massive battery use + very long processing times for encoding simply isn't worth it. In order to get AV1 out, I have to often process a h264 version of…

Thanks You. I have been saying this since the launch of AV1 on HN, Doom9 and other places. I wanted to mention even Google uses custom dedicated hardware ASIC for AV1 encode.

I wish LCEVC is more widespread. For the same H.264 encoding time you get 50% to 60% Bitrate reduction using it with H.264.

Re: The AV2 Video Standard Has Released (Final v1.0 Specification)

#180
post #178

Earlier quoted context omitted.

I went and checked some youtube videos on my front page, A video with 15k views had an AV1 encode, while a video with 160 views was h264 only. So extremely popular videos is not how I would describe it, probably by views, almost everything you watch on youtube is AV1. But they skip the extra encodes for videos relatively no one watches.

Last time I checked they do it for new videos only. Older videos with 1M views aren't even on AV1.

Makes sense, new videos are where most of the streams are happening, I wouldn't be surprised if they start to reduce the number of transcodes to save space as a video drops in popularity. h264 will work on everything so they need that as a minimum, with AV1 just being there to save on data transfer.
Post reply on HN