


























I don't know if I'm underestimating HN's reach but I doubt we did that, probably traffic from a much bigger aggregator/forum |
You are underestimating HN's reach, this happens all the time. As someone who has been on the front page of HN it's a pretty big rush in traffic! |
I'd wager that the load is amplified by other sites that treat HN as a goldmine of tasty links. |
Well, if every asset request hits the origin (no CDN, no caching...) that would be a misconfiguration of the website. It should never happen for a blog. |
Wait really? I'm not really sure what to think and I posted before I saw this... I wonder why the limit is so low? |
Yeah, it's hard to tell thb, just a guess. But potentially the site also misconfigured their server, causing too much cache misses and hitting the server direclty. |
most likely the millions of llm bots that scrape hn and stuff hugged it when it got to frontpage. |
Who is regularly watching uncompressed videos outside of production environments? That’s got to be a very small population. |
The context was remotely encoding the video, which would require sending the uncompressed stream. |
Using raw uncompressed bitrate is a bit disingenuous. How about comparing an older, widely supported codec like H.264 as a baseline? |
If you compressed it with H.264, it wouldn't make much sense to send it remotely to be encoded with a better codec. |
Why not? If h.264 is the best you can do with minimal resources, you can give it 5x the final bitrate and send it to a specialized/beefy encoding system to become something better. |
If you don't encode locally as the video is created, you either need to store RAW frames which takes enormous amount of storage, or you use a different format and suffer quality loss by transcending. |
Well yes? The platforms only accept certain resolution/bitrates and also most of America isnt running 1gig up. They're running 5-30 mbps up. So yeah they need to encode it. |
I came to post this as well. Until widespread, inexpensive hardware catches up to a 2018 codec, AV# will remain a niche ideal. |
Hardly niche. My laptop isn't new and it has hardware AV1 decoding and encoding. My 10 year old iPhone 7 can play 1080p AV1 video in software for over 200 minutes with VLC. The iPhone 7 was released in 2016, a year and a half before AV1. The dav1d decoder is mighty. Netflix uses AV1: https://netflixtechblog.com/av1-now-powering-30-of-netflix-s... YouTube uses AV1. It's tough to be more mainstream than that. Right click on a YouTube video and select Stats for Nerds. If your system is capable of it, chances are it will be playing back in AV1. Most of the YouTube videos I watch these days are AV1 encodes. Sometimes it's in VP9 and occasionally it's H.264. |
My TV lags out even when doing nothing. So I use it as a dumb panel and let another device handle the streaming and decoding. Also has the benefit of blocking LG from loading adverts all over the UI. |
Youtube artificially limits the resolution, on mine if you cast the exact same video it doesn’t impose that limit and works fine. |
Some of the early use of VP9 and AV1 was Netflix serving video to people in developing countries. Their metered bandwidth was more of a bottleneck than the CPU playback. |
Same. Mostly AV1, sometimes VP9, and rarely h264. What's missing mostly: live streams which are h264. Currently, and I say currently, dav1d is so fast, no worries on that side. |
> AV1 software decoding is already very intensive so AV2 decoding benchmarks are the next thing that would be really interesting (or mortifying) to see. Yes, this is going to be fun to watch. |
I'm not quite convinced a 25% reduction in size is worth effectively obsoleting all devices that have hardware decoders for AV1 but will struggle to decode AV2 |
When you host videos with near 17 billion views you're going to want to stream those videos in as few bits as possible: https://www.youtube.com/watch?v=XqZsoesa55w That extra 25% becomes worth it. Nothing will become obsolete. AV1 will stick around for a long time. And YouTube still does H.264 encodes to support old devices. |
I'm not sure what these two lines mean or if we can compare them, any help? |
I understood it as compression is 25% better : a quality of 10mbps in av1 can be achieved with 8mbps in Av2. But, it needs 5 times more compute power for this 25% gain. |
> I'm not sure what these two lines mean or if we can compare them, any help? AV2 saves 25% bandwidth at the cost of 5x more decoding complexity. |
He only mentioned decode complexity. Would be interesting to know the average encode complexity compared to AV1. |
Encoding speed even on Mac Studio is atrocious, it’s in range of single frames per second as opposed to realtime+ for even h265 |
Getting the full bitrate gains will be slower. For any specific bitrate and quality target, there's a good chance it'll be faster. |
dav1d is the av1 decoder and it’s an insane feat of engineering. Written in assembly, it even eschews the normal c calling convention to get even better performance. |
Unfortunately, in absence of inlining, compilers mostly respect calling convention even when they don't have to. |
> The page you have tried to access is not available because the owner of the file you are trying to access has exceeded our short term bandwidth limits. Please try again shortly. HN hug of death |
Video resolution: 128x72, hahah. Late 90s RealPlayer postage stamp video is back! To its credit, that whole movie is probably smaller than RealPlayer itself was. |
Hopefully audio codecs will progress as well. I noticed that too. When I tried extreme screen recording compression with AV1 audio became a noticeable part of the bottleneck. |
Is opus being used for the audio or it's not the solution for extreme lossy compression? |
I think it's a reasonable decision. The only people who will interact with dav2d by name are codec nerds, and a simple increment makes the lineage more obvious to that audience. |
As with all naming schemes in the tech world, I am sure no future scenarios, including successor names, were ever considered |
Or go the Apple Watch naming scheme route. Just “AV” Next, AV Series 1 and 2 (released simultaneously) Later, AV Edition but it costs $10,000 |
AV360. AV365. AV2030. AVXP. AV8. AV10. Perhaps some here will be around for AV95. Young AV? |
Almost every Intel CPU released since 2013 has AVX2 support. Some Atom SKUs were longer holdouts, but the fraction of x86 CPUs shipped in the last decade that have AVX2 support is very high. |
Is there actually a reasonably performing encoder that can compete with the x26* family in real world conditions this time? |
What makes you think that would use less resources? And it's not really hardware hitting limits, it's specifically software decoding on somewhat weaker machines. |
This is a software decoder designed to run on general purpose hardware. Adding custom hardware like tensor cores to the stack would serves a different use case. |
Because it's 5 times more complex, you need to get the maximum performance available. Therefore more ASM than ever. Rust does not bring more performance. Just more safety. |
> Rust does not bring more performance. Just more safety. Though more safety can in some cases bring a bit more performance. For instance, with Rust you can often avoid "defensive copies" of objects. |
I don't know why you've been down-voted. It definitely isn't an optimal decision. A video codec isn't all assembly. There's plenty of plain unsafe C code. E.g. this is the first random file I clicked. It has a ton of raw C pointer stuff just begging to be exploited. https://code.videolan.org/videolan/dav2d/-/blob/main/src/dat... There is a project to write an AV1 decoder in Rust: Rav1d (really stretching the name here). https://github.com/memorysafety/rav1d They got within 5% of the performance of dav1d and held a contest to close the gap but I think I read somewhere that this wasn't achieved. https://www.memorysafety.org/blog/rav1d-perf-bounty/ They claimed > This is enough of a difference to be a problem for potential adopters, and, frankly, it just bothers us. But in my opinion nobody actually cares about 5% in absolute terms. It's likely just Rust naysayers using that as an excuse. I think the likely reason for dav2d using C is that they can reuse lots of code and infrastructure from dav1d. But I agree it would be much better if they worked on Rav2d instead (these names!). You can hardly complain about a 5% overhead if you're opting in to 5x more decoding complexity. |
It is much slower than 5%, there were other independent tests that put it around 20%. |
> What others are using doesn’t clarify why they are using it. It does if you ask them, or at least research the topic at hand. |
If Google want secure encoders and decoders, then they can donate money or patches. Since they don't, the clearly don't actually care all that much, or are just mooching of volunteers' goodwill. The disadvantage in speed when using Rust is pretty obvious.[1] When it comes to video encoding and decoding, I and FFmpeg care a lot more about speed than memory safety. So those reasons have been considered and largely discounted. [1] https://xcancel.com/FFmpeg/status/1924137645988356437 (to be fair, this is only transpiled from C, so it could probably be optimised further, but that apparently needed a 20k USD bounty to then not even happen (as far as I can tell)) |
I don’t think the chances of confusion between a niche celebrity and a video decoder are very big. |
They filed a suit, henceforth making a claim of an issue...... They haven't "proved" anything other then they have lawyers on staff that can file some paperwork until the suit is settled in court... |
That doesn’t prove their claims are valid. I can claim the same and offer licenses per device. |
Sorry, I have a patent on questioning whether open source codecs are parent encumbered. Venmo me $1000 or you will be speaking to my lawyers |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。