14 comments

  • alberth 5 hours ago
    Will streaming services ever stop over-compressing their content?

    I have a top-of-the-line 4K TV and gigabit internet, yet the compression artifacts make everything look like putty.

    Honestly, the best picture quality I’ve ever seen was over 20 years ago using simple digital rabbit ears.

    You especially notice the compression on gradients and in dark movie scenes.

    And yes — my TV is fully calibrated, and I’m paying for the highest-bandwidth streaming tier.

    Not my tv, but a visual example: https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd....

    • strogonoff 2 hours ago
      Content delivery costs a lot for streaming services. After content is produced, this is basically the only remaining cost. It’s not surprising that they would go to extreme measures in reducing bitrate.

      That’s why, presumably, Netflix came up with the algorithm for removing camera grain and adding synthetically generated noise on the client[0], and why YouTube shorts were recently in the news for using extreme denoising[1]. Noise is random and therefore difficult to compress while preserving its pleasing appearance, so they really like the idea of serving everything denoised as much as possible. (The catch, of course, is that removing noise from live camera footage generally implies compromising the very fine details captured by the camera as a side effect.)

      [0] https://news.ycombinator.com/item?id=44456779

      [1] https://news.ycombinator.com/item?id=45022184

      • dan-robertson 5 minutes ago
        It feels to me like there are two different things going on:

        1. Video codecs like the denoise, compress, synthetic grain approach because their purpose is to get the perceptually-closest video to the original with a given number of bits. I think we should be happy to spend the bits on more perceptually useful information. Certainly I am happy with this.

        2. Streaming services want to send as few bytes as they can get away with. So improvements like #1 tend to be spent on decreasing bytes while holding perceived quality constant rather than increasing perceived quality while holding bitrate constant.

        I think one should focus on #2 and not be distracted by #1 which I think is largely orthogonal.

      • franga2000 1 hour ago
        So:

        1. camera manufacturers and film crews both do their best to produce a noise-free image 2. in post-production, they add fake noise to the image so it looks more "cinematic" 3. to compress better, streaming services try to remove the noise 4. to hide the insane compression and make it look even slightly natural, the decoder/player adds the noise back

        Anyone else finding this a bit...insane?

        • trenchpilgrim 1 hour ago
          > camera manufacturers and film crews both do their best to produce a noise-free image

          This is not correct, camera manufacturers and filmakers engineer _aesthetically pleasing_ noise (randomized grains appear smoother to the human eye than clean uniform pixels). The rest is still as silly as it sounds.

          • benjiro 36 minutes ago
            > randomized grains appear smoother to the human eye than clean uniform pixels

            Does this explain why i dislike 4K content on a 4K TV? Where some series and movies look too realistic, what in turn gives me a amateur film feeling (like somebody made a movie with a smartphone).

        • mjevans 1 hour ago
          Yes, just stop doing step 2 the way they're doing and instead if they _must_ do noise modify parameters for step 4 directly.
      • abound 2 hours ago
        This isn't strictly Netflix per se, it's part of the AV1 codec itself, e.g. https://github.com/BlueSwordM/SVT-AV1/blob/master/Docs/Appen...
        • strogonoff 2 hours ago
          Yes, I was not strictly correct, it is a feature of AV1, but Netflix played an active role in its development, in rolling out the first implementation, and in AV1 codec development overall.
      • codedokode 2 hours ago
        There might be also copyright owners requirements, e.g. contract that limits the quality of material.
    • ksec 1 hour ago
      >Will streaming services ever stop over-compressing their content?

      Before COVID Netflix were at least using 8Mbps for 1080P content. With x264 / beamr it is pretty good, and even better on HEVC. Then COVID hit, every streaming service not just Netflix have excuses to lower their quality due to increased demand with limited bandwidth. Everything went down hill since then. Customer got used to lower quality I dont believe they ever bring it back up. Now it is only something like 3-5Mbps according to previous test posted on HN.

      And while it is easy for HEVC / AV1 / AV2 to have 50%+ bitrate real world savings compared to H.264 saving at 0.5 - 4Mbps range, once you go pass that the savings begin to shrink rapidly to the point good old x264 encoder may perform better at much higher bitrate.

      • goeiedaggoeie 38 minutes ago
        Netflix also has a huge incentive to not use h265 and h264, licensing cost.
      • ls612 1 hour ago
        Most 1080p WEB-DLs are in the 6-8 Mbps range still, based on a quick glance.
    • cogman10 3 hours ago
      > You especially notice the compression on gradients and in dark movie scenes.

      That's not a correctly calibrated TV. The contrast is tuned WAY up. People do that to see what's going on in the dark, but you aren't meant to really be able to see those colors. That's why it's a big dark blob. It's supposed to be barely visible on a well calibrated display.

      A lot of video codecs will erase details in dark scenes because those details aren't supposed to be visible. Now, I will say that streaming services are tuning that too aggressively. But I'll also say that a lot of people have miscalibrated displays. People simply like to be able to make out every detail in the dark. Those two things come in conflict with one another causing the effect you see above.

      • amiga386 3 hours ago
        > but you aren't meant to really be able to see those colors

        Someone needs to tell filmmakers. They shoot dark scenes because they can - https://www.youtube.com/watch?v=Qehsk_-Bjq4 - and it ends up looking like shit after compression that assumes normal lighting levels.

        • toofy 2 hours ago
          > Someone needs to tell filmmakers. They shoot dark scenes because they can…

          i disagree completely. i watch a movie for the filmmakers story, i don’t watch movies to marvel at compression algorithms.

          it would be ridiculous to watch movies shot with only bright scenes because streaming service accountants won’t stop abusing compression to save some pennies.

          > …ends up looking like shit after compression that assumes normal lighting levels.

          it’s entirely normal to have dark scenes in movies. streaming services are failing if they’re using compression algorithms untuned to do dark scenes when soooo many movies and series are absolutely full of night shots.

        • cogman10 3 hours ago
          As I said, I think the streamer services have too aggressive settings there. But that doesn't change the fact that the a lot of people have their contrast settings over tuned.

          It should be noted, as well, that this generally isn't a "not enough bits" problem. There are literally codec settings to tune which decide when to start smearing the darkness. On a few codecs (such as VP1) those values are pretty badly set by default. I suspect streaming services aren't far off from those defaults. The codec settings are instead prioritizing putting bits into the lit parts of a scene rather than sparing a few for the darkness like you might like.

    • pkulak 38 minutes ago
      Are you sure about the black-areas-blocking? I remember a long time ago, when I was younger and had time for this kind of tomfoolery, I noticed this exact issue in my BlueRay backups. I figured I needed to up the bitrate, so I started testing, upping the bitrate over and over. Finally, I played the BlueRay and it was still there. This was an old-school, dual-layer, 100GB disc of one of the Harry Potter movies. Still saw the blocking in very dark gradients.
    • yalogin 51 minutes ago
      I don't quite follow why compression would cause this. Feels more like a side effect of adaptive HTTPS streaming protocol where it would automatically adjust based on your connection speed, and so aligns with any jitter on the wire. It could also be an issue with the software implementation because they need to constantly switch between streams based on bandwidth.
      • pkulak 31 minutes ago
        > side effect of adaptive HTTPS streaming

        Adaptive streaming isn't really adaptive anymore. If you have any kind of modern broadband, the most adaptive it will be is starting off in one of the lower bitrates for the first 6 seconds before jumping to the top, where it will stay for the duration of the stream. A lot of clients don't even bother with that anymore; they look at the manifest, find the highest stream, and just start there.

    • Boss0565 5 hours ago
      Seems like piracy is the way for you
      • nani8ot 3 hours ago
        Sadly many shows aren't released on BluRay anymore, so even piracy won't deliver better quality.
        • rokweom 3 hours ago
          Piracy enables you to do things like debanding on playback, or more advanced video filtering to remove other compression issues.
        • ValentineC 51 minutes ago
          I believe many sites still prefer Amazon webrips because their content is encoded at a higher bitrate than Netflix.
        • goeiedaggoeie 37 minutes ago
          darn pirates should run the content through a super resolution model!
    • TheJoeMan 2 hours ago
      I’m still so surprised Disney+ degrades their content/streaming service so much. Of all the main services I’ve tried (Netflix, Prime, Hulu, HBO) Disney+ has some of the worst over-compression, lip-sync, and remembering-which-episode-is-next issues for me. Takes away from the “magic”.
      • swiftcoder 40 minutes ago
        Netflix now this on their lowest paid tier as well. I had to upgrade to the 4K tier just to get somewhat-ok 1080p playback...
      • ksec 2 hours ago
        This is interesting because Disney+ when they started out were using much higher bitrate, 2nd only to Apple+.
    • tliltocatl 2 hours ago
      Economically speaking, it doesn't make any sense for them to spend more on bandwidth and storage if they can get away with not spending more.
      • dangus 0 minutes ago
        Probably 90% of people I know just bought the cheapest possible ad-supported smart TV.

        When I suggest a name brand OLED in the $1000-2000 range there’s a lot of question marks on why I’d suggest someone spend that much when you can grab a Hisense or Roku TV for $300-400 at Costco.

        By and large people don’t notice compression and bitrate issues nor do they care, they’re already watching TV on a cheap edge-lit shitbox with color uniformity issues and the cheapest image processor the manufacturer could find.

        And that’s totally fine and I’m not dogging on those people, there are diminishing returns and people are just looking to watch some TV. It’s not a big deal.

        It just might be nice if the small percentage of people who do care a lot about image quality were people that content companies had more economic incentive to please.

    • nickthegreek 3 hours ago
      • dogma1138 2 hours ago
        This has been more or less proven to be a complete scam, the quality isn’t any better than Blu-ray and in many cases worse.

        The “best” quality of streaming you have is Sony Core https://en.wikipedia.org/wiki/Sony_Pictures_Core but it has a rather limited library.

        • mkozlows 1 hour ago
          "Not any better than Blu-ray" is the same as saying "much better than streaming."
      • rokweom 3 hours ago
        Funny that they're marketing the supposed advantages of higher bitrates using pictures with altered contrast and saturation lol. I would expect the target audience to be somewhat affluent in the actual benefits? Then again, I wouldn't expect somebody like Scorsese to be a video compression nerd.

        Also the whole "you can hear more with lossless audio" is just straight up a lie.

      • tedivm 36 minutes ago
        For the less affluent you can setup a Jellyfin media server and rip your own blu-rays with makemkv.
      • muststopmyths 3 hours ago
        Fascinating.

        Pricing, if I am reading the site correctly: $7k-ish for a server (+$ for local disks, one assumes), $2-5k per client. So you download the movie locally to your server and play it on clients scattered throughout your mansion/property.

        Not out of the world for people who drop 10s of thousands on home theater.

        I wonder if that's what the Elysium types use in their NZ bunkers.

        No true self-respecting, self-described techie (Scotsman) would use it instead of building their own of course.

    • RamRodification 5 hours ago
      It's a little surprising to me that there generally aren't more subscription tiers where you can pay more for higher quality. Seems like free money, from people like you (maybe) and me.
      • Avamander 3 hours ago
        You can already pay for 4K or "enhanced bitrate" but it's still relatively low bitrate and what's worse, this service quality is not guaranteed. I've had Apple TV+ downgrade to 1080p and lower on a wired gigabit connection so many times.
        • Neywiny 3 hours ago
          And on top of that a lot of streaming services don't go above 1080p on desktop, and even getting them to that point is a mess of DRM. I sometimes wonder if this is the YouTube powerhouse casting a bad shadow. As LTT says, don't try to compete with YouTube. They serve so much video bandwidth it's impossible to attempt. So all these kinda startup streaming services can't do 4k. Too much bandwidth.
      • mdasen 3 hours ago
        I'm not surprised they don't offer an even higher tier. When you're pricing things, you often need to use proxies - like 1080p and 4K. It'd be hard to offer 3 pricing tiers: 1080p, 4K, 4K but actually good 4K that we don't compress to hell. That third tier makes it seem like you're being a bit fraudulent with the second tier. You're essentially admitting that you've created a fake-4K tier to take people's money without delivering them the product they think they're buying. At some point, a class-action lawsuit would use that as a sort of admission that you knew you weren't giving customers what they were paying for and that it was being done intentionally, both of which matter a lot.

        Right now, Netflix can say stuff like "we think the 4K video we're serving is just as good." If they offer a real-4K tier, it's hard to make that argument.

        • redox99 3 hours ago
          YouTube does 1080p premium without much problem.
    • andsoitis 1 hour ago
      > Honestly, the best picture quality I’ve ever seen was over 20 years ago using simple digital rabbit ears.

      That I find super hard to believe!

    • andrepd 3 hours ago
      Ironically, piracy gives you yet again a better service. Thanks QxR.
    • thunderfork 2 hours ago
      [dead]
    • mouthwooed 44 minutes ago
      [dead]
  • ksec 6 hours ago
    Let's hope they get more things right 2nd time around. AOM will do Live Session on 20th of October: The Future of Innovation is Open [1].

    May be more data and numbers. Including Encoding Complexity increase, decoding complexity. Hardware Decoder roadmap. Compliance and Test kits. Future Profile. Involvement and improvement to both AVIF the format and the AV2 image codec. Better than JPEG-XL? Are the ~30% BDRATE compared to current best AV1 encoder or AV1 1.0 as anchor point? Live Encoding improvements?

    [1] https://aomedia.org/events/live-session-the-future-of-innova...

  • jonplackett 8 hours ago
    It’s pretty amazing people are still finding ways to make video smaller.

    Is this just people being clever or is it also more processing power being thrown at the problem when decoding / encoding?

    • amiga386 7 hours ago
      Yes, and it's allowing the format to change to allow more cleverness or apply more processing power.

      For example, changes from one frame to the next are encoded in rectangular areas called "superblocks" (similar to a https://en.wikipedia.org/wiki/Macroblock). You can "move" the blocks (warp them), define their change in terms of other parts of the same frame (intra-frame prediction) or by referencing previous frames (inter-frame prediction), and so on... but you have to do it within a block, as that's the basic element of the encoding.

      The more tightly you can define blocks around the areas that are actually changing from frame to frame, the better. Also, it takes data to describe where these blocks are, so there are special limitations on how blocks are defined, to minimise how many bits are needed to describe them.

      AV2 now lets you define blocks differently, which makes it easier to fit them around the areas of the frame that are changing. It has also doubled the size of the largest block, so if you have some really big movement on screen, it takes fewer blocks to encode that.

      That's just one change, the headline improvement comes from all the different changes, but this is an important one.

      There is new cleverness in the encoders, but they need to be given the tools to express that cleverness -- new agreement about what types of transforms, predictions, etc. are allowed and can be encoded in the bitstream.

      https://youtu.be/Se8E_SUlU3w?t=242

      • DoctorOetker 4 hours ago
        In general with movement through scenes it would seem that rectangular update windows seem like a poor match.

        Is there a reason codec's don't use the previous frame(s) as stored textures, and remap them on the screen? I can move a camera through room and a lot of the texture is just reprojectivetransformed.

        • amiga386 3 hours ago
          > I can move a camera through room

          That's what AV1 calls global motion and warped motion. Motion deltas (translation/rotation/scaling) can be applied to the whole frame, and blocks can be sheared vertically/horizontally as well as moved.

        • dddgghhbbfblk 3 hours ago
          >Is there a reason codec's don't use the previous frame(s) as stored textures, and remap them on the screen? I can move a camera through room and a lot of the texture is just reprojectivetransformed.

          I mean, that's more or less how it works already. But you still need a unit of granularity for the remapping. So the frame will store eg this block moves by this shift, this block by that shift etc.

    • dajonker 7 hours ago
      I believe patents play a big role here as well. Anything new must be careful to not (accidentally) violate any active patent, so there might be some tricks that can't currently be used for AV1/AV2
      • cogman10 4 hours ago
        I think patents are quickly becoming less of a problem. A lot of the foundational encoding techniques have exited patent protection. H.264 and everything before it is patent free now.

        It's true you could still accidentally violate a patent but that minefield is clearing out as those patents simply have to become more esoteric in nature.

        • PunchyHamster 3 hours ago
          ...till someone decides to patent one of the new techniques used
          • cogman10 3 hours ago
            You can't patent something that's in use. Prior art is a defense to a patent claim/lawsuit.

            But that's not my main point. My main point is that we are going down a fitting path with codecs which makes it hard to come up with general patents that someone might stumble over. That makes patents developed by the MPEG group far less likely to apply to AOM. A lot of those more generally applicable patents, like the DCT for example, have expired.

      • mikeyouse 4 hours ago
        There are numerous patent trolls in this space with active litigation against many of the participants in the consortium who brought AV1. The EU was also threatening to investigate (likely to protect the royalty revenues of European companies)
      • bee_rider 3 hours ago
        It has always seemed very weird to me that compression algorithms were patentable.

        1) it harms interoperability

        2) I thought math wasn’t patentable?

    • toast0 1 hour ago
      New video codecs typically offer more options for how to represent the current frame in terms of other frames. That typically means more processing for the encoder, because it can check for all the similarities to see what works best; there's also harder math for arithmetic coding of the picture data. It will be more work for the encoder if it needs to keep more reference images and especially if it needs to do harder transformations, or if arithemetic decoding gets harder.

      Clever matters a lot more for encoding. If you can determine good ways to figure out the motion information without trying them all, that gets you faster encoding speed. Decoding doesn't tend to have as much room for cleverness; the stream says to calculate the output from specific data, so you need to do that.

    • zweifuss 7 hours ago
      A bit of both. Also, the modern Codecs have slightly different tradeoffs (image quality (PSNR, SSIM), computational complexity (CPU vs DSP vs Memory), storage requirements, bit rate) and therefore there isn't one that is best for every use case.
    • cornholio 5 hours ago
      I wonder when we will see generative AI codecs in production. The concept seems simple enough, the encoder knows the exact model the decoder will use to generate the final image starting from a handful of pixels, and optimizes towards lowest bitrate and minimum subjective quality loss, for example, by letting the decoder generate a random human face in the crowd, or give it more data in that area to steer it towards the face of the team maskot, as the case may be.

      At the absolute compression limit, it's no longer video, but a machine description of the scene conceptually equivalent to a textual script.

      • ozgrakkurt 5 hours ago
        There was nvidia videoo upsampling or w/e it is called. It was putting age spots on every face when it was blurry and it used too much resources as far as I can remember
    • olowe 7 hours ago
      It’s more money and more user’s compute being thrown at the problem to get the streaming service’s CDN bill down.
      • occz 6 hours ago
        While funny, that's not really what I would call accurate. Users get reduced data consumption, potentially higher quality selection if the bandwidth now allows for a higher resolution to be streamed, and possibly lower disk usage should they decide to offline the videos.

        Better codecs are an overall win for everyone involved.

        • dsnr 5 hours ago
          > Better codecs are an overall win for everyone involved.

          I don’t remember ever watching a movie and wishing for a better codec, in the last 10 years

          • toast0 2 hours ago
            I can send you some of my DVDs that look like trash now. Of course, that's less of a codec problem and more of a bandwidth/encoder/mastering problem; plenty of DVDs look fine (if a little undetailed) on a larger screen.

            I do wish ATSC1 would adopt a newer codec (and maybe they will), most of the broadcasters cram too many subchannels in their 20mbps and a better codec would help for a while. ATSC3 has a better video codec and more efficient physical encoding, but it also DRM and a new proprietary audio codec, so it's not helpful for me.

          • ubercow13 4 hours ago
            I do because the quality of av1 on youtube is often significantly better than vp9 and especially h264, even though the filesize is usually lower than both. And the quality of the video at 1080p when only the worse formats are available is noticeably bad.
        • calcifer 6 hours ago
          > Users get reduced data consumption, potentially higher quality selection if the bandwidth now allows for a higher resolution to be streamed

          They also get increased power usage, lesser battery life, higher energy bills, and potentially earlier device failures.

          > Better codecs are an overall win for everyone involved.

          Right.

          • whatevaa 5 hours ago
            If you experience early failure your device is badly engineered.

            Mobile/power constrained devices don't use software decoding, that just a path to miserable experience. Hardware decoding is basically required.

            Meanwhile my desktop can SW decode 4k youtube with 3% reported cpu usage.

          • testdelacc1 4 hours ago
            > power usage, lesser battery life, higher energy bills

            I like how you padded this list by repeating the same thing thrice. Like, increased power usage is obviously going to lead to higher energy bills.

            And it’s especially weird because it’s not true? The current SOTA codec AV1 is at a sweet spot for both compression and energy demand (https://arxiv.org/html/2402.09001v1). Consumers are not worse off!

          • badpun 4 hours ago
            Not to mention making your device obsolete. My 12 year old laptop already can't decode some of the videos on Pirate Bay in real time, because the codec is too demanding.
            • bee_rider 3 hours ago
              Of course, we’re living in the future where Moore’s law has seriously slowed down. But, as a product of the 90’s this is a kind wild thing to see. I can’t imagine in the year 2000 being disappointed content wouldn’t play on a 386 or something.

              But, I mean, your expectation is not that unreasonable, computers were quite good by 2013. It is just an eye-opening framing.

      • condiment 4 hours ago
        Modern video codecs are what broke the telco monopoly on content and gave us streaming services in the first place. If the cdn bill is make or break, the service isn’t going to last.

        And there’s no transfer of effort to the user. Compute complexity of video codecs is asymmetric. The decode is several order of magnitude cheaper to compute than the encode. And in every case, the principal barrier to codec adoption has been hardware acceleration. Pretty much every device on earth has a hardware-accelerated h264 decoder.

      • joshstrange 5 hours ago
        For those of us who back up media, this can be very appealing as well. I don’t disagree that what you said is a major driving force, but better formats have benefited me and my storage requirements multiple times in the past.
    • whycome 4 hours ago
      Soon we will just have local AI processors which will just make stuff up between scenes but adhere to a “close enough” guideline where all narratively critical elements are maintained but other things (eg landscapes or trees) will be generated locally. Movies will practically be long cutscenes with photorealistic graphics.
      • 0xCMP 57 minutes ago
        I'm sure models which replace characters in realtime will also become popular. I would imagine some company thinking it would be cool if the main character looked slightly more like whatever main audience it's being shown to and it's done on their playback devices (so, of course, it can be customized or turned off).

        I find the idea fun, kinda like using snapchat filters on characters, but in practice I'm sure it'll be used to cut corners and prevent the actual creative vision from being shown which saddens me.

      • bee_rider 3 hours ago
        At that point we aren’t even all watching the same movies. Which could be interesting. But very different—I mean, even stuff like talking with your friends about a movie you saw will change drastically. Maybe a service could be centered around sharing your movie prompts so have a shared movie experience to talk to your friends about.
        • CooCooCaCha 2 hours ago
          Entertainment is becoming increasingly customizable and personalized. It’ll get to the point, like you said, that we’re not watching the same movie, playing the same game, etc.

          It feels like we’re losing something, a shared experience, in favor of an increasingly narcissistic attitude that everything needs to shapeable to individual preferences instead of accepting things as they are.

          • bee_rider 2 hours ago
            I dunno. Entertainment is sort of inherently selfish, right? It is an unproductive thing we engage in to make us happy.

            I’d be somewhat interested in something like a git that generates movies, that my friends can push to.

            Extremely widespread mass media fiction broadcast are sort of an aberration of the last 75 years or so. I mean, you’d have works in ancient times—the Odyssey—that are shared across a culture. But, that was still a story customize by each teller, and those sorts of stories were rare. Canon was mainly a concern of religions.

            It’s just for fun, we give it far too much weight nowadays.

  • rarisma 7 hours ago
    30% over AV1 is crazy, it doesn't feel too long since AV1 released but that was in 2019.
    • lxgr 6 hours ago
      Yet I still only got hardware support for it on my first devices last year. The downside of "rapid" iteration on video codecs is that content needs to always be stored in multiple formats (or alternatively battery life on the client suffers from software playback, which is the route e.g. Youtube seems to be preferring).
      • amiga386 5 hours ago
        Hopefully that improves. The guy giving the presentation on AV2 made clear there was "rigorous scrutiny for hardware decoding complexity", and they were advised by Realtek and AMD on this.

        So it seems like they checked that all their ideas could be implemented efficiently in hardware as they went along, with advice from real hardware producers.

        Hopefully AV2-capable hardware will appear much quicker than AV1-capable hardware did.

        • lxgr 2 hours ago
          Oh, I don't doubt that it'll be hardware implementable, but it's a shame that current hardware is usually mostly out of luck with new codecs. (Sometimes parts can be reused in more programmable/compartmentalized decoding pipelines, but I haven't seen that often.)
        • RicoElectrico 5 hours ago
          Maybe not only reference software, but also reference RTL should be provided? Yes, this is more work, but should speed up adoption immensely.
          • IshKebab 3 hours ago
            There's no point having reference RTL. The point of reference software is to demonstrate the correct behaviour for people implementing production grade libraries and RTL. Having an RTL version of that wouldn't add anything - it should have identical behaviour.

            Providing a production grade verified RTL implementation would obviously be useful but also entire companies exist to do that and they charge a lot of money for it.

            • Neywiny 3 hours ago
              Could help people on the hobby or lower budget FPGA side. H.264/5/etc never really made it
      • mckirk 5 hours ago
        It'd be really cool if we had 'upgradable codec FPGAs' in our machines that you could just use flash to the newest codec... but that'd probably be noticeably more expensive, and also not really in the interest of the manufacturers, who want to have reasons to sell new chips.
        • daeken 4 hours ago
          Back in ~2004, I worked on a project to define a codec virtual machine, with the goal of each file being able to reference the standard it was encoded against, along with a link to a reference decoder built for that VM. My thought was that you could compile that codec for the system you were running on and decode in software, or if a sufficient DSP or FPGA was available, target that.

          While it worked, I don't think it ever left my machine. Never moved past software decoding -- I was a broke teen with no access to non-standard hardware. But the idea has stuck with me and feels more relevant than ever, with the proliferation of codecs we're seeing now.

          It has the Sufficiently Smart Compiler problem baked in, but I tried to define things to be SIMD-native from the start (which could be split however it needed to be for the hardware) and I suspect it could work. Somehow.

      • bapak 5 hours ago
        Unless they create a codec that GPUs are naturally good at, we will inevitably always be a couple of hardware cycles behind.
  • AaronAPU 5 hours ago
    Codec implementation and optimization was probably my favorite type of work. It would be fun to dive deep into AV2 in those areas but no time!
  • mrbluecoat 4 hours ago
    Hooray, finally a codec name that doesn't look like AVI
  • seydor 7 hours ago
    All this high speed fiber for nothing...
    • SG- 7 hours ago
      it's almost like a majority of the world is still consuming data and video on mobile networks.
    • lxgr 6 hours ago
      Exactly. I'm glad I'm still in the return period for my 1TB microSD card!
    • ttoinou 7 hours ago
      well we might start streaming 8K content ! Or maybe this could be used for 16K VR videos
      • stop50 7 hours ago
        Or the next <insert shooter with ridiculous size here>
      • throwaway48476 6 hours ago
        It's a shame European energy efficiency rules made 8K non viable. It's a great resolution.
        • lxgr 6 hours ago
          Meh, I'll take 1080p at a higher bitrate and in a wider color gamut over the pixel soup many VOD services serve and have the audacity to still call "UHD" any day.
        • akie 3 hours ago
          Yeah damn those Europeans for outlawing energy inefficient things
    • uyzstvqs 6 hours ago
      Concurrent maximum efficiency + maximum availability is the way to go. This principle also applies to compute power and energy markets.
    • AlienRobot 6 hours ago
      More media -> More speed demand -> More speed -> More media -> More speed demand...
    • brnt 7 hours ago
      Saturation is only a goal if it's a bottleneck. It's good to remove bottlenecks.
  • latexr 7 hours ago
    I always thought the name AV1 was partly a play on/homage to AVI (Audio Video Interlace), but AV2 breaks that. Even if it’s meant to be embedded into other container formats such as MP4, there are files with the .av1 extension and there is a video/AV1 MIME type (and possibly a UTI?). Does this mean we now need to duplicate all that to .av2 and video/AV2? What about the AVIF file format?
    • uyzstvqs 7 hours ago
      Files with the .av1 extension are for raw AV1 data. For AV2 this should become .av2, yes. That's by design, as they're two different incompatible formats. Typically you use a container like Matroska (.mkv, video/x-matroska), WebM or MP4 which contains your video stream with a type code specifying the codec (av01, av02).

      AVIF is also a container format, and I believe should be adaptable to AV2, even if the name stands for "AV1 image format". It could simply just be renamed to AOMedia Video Image Format for correctness.

    • ttoinou 7 hours ago
      Do you mean the file extension should only reflect the file format and not the codecs it has inside ?

      Maybe that’s what we did in the past and it was a bad idea. It’d be useful to know if you can read the file by looking only at its extension

      • amiga386 6 hours ago
        File extension shouldn't matter at all, because data should have associated metadata (e.g. HTTP content-type, CSS image-set, HTML <video><source type=""/></video>)

        > It’d be useful to know if you can read the file by looking only at its extension

        That would be madness, and there's already a workaround - the filename itself.

        For most people, all that matters is an MKV file is a video file, and your configured player for this format is VLC. Only in a small number of cases does it matter about an "inner" format, or choice of parameter - e.g. for videos, what video codec or audio codec is in use, what the bitrate is, what the frame dimensions are.

        For where it _matters_, people write "inner" file formats in the filename, e.g. "Gone With The Wind (1939) 1080p BluRay x265 HEVC FLAC GOONiES.mkv", to let prospective downloaders choose what to download from many competing encodings of exactly the same media, on websites where a filename is the _only_ place to write that metadata (if it were a website not standardised around making files available and searching only by filenames, it could just write it in the link description and filename wouldn't matter at all)

        Most people don't care, for example, that their Word document is A4 landscape, so much that they need to know _in the filename_.

      • lxgr 6 hours ago
        > Do you mean the file extension should only reflect the file format and not the codecs it has inside ?

        That's pretty much always been the case. File extensions are just not expressive enough to capture all the nuances of audio and video codecs. MIME types are a bit better.

        Audio is a bit of an exception with the popularity of MP3 (which is both a codec and a relatively minimal container format for it).

        • o11c 2 hours ago
          If only people would actually bother to write the codecs in the MIME type in the first place ...
          • lxgr 1 hour ago
            Easier said than done, when there's no commonly accepted standard to store a file's MIME type as metadata, and you don't want to load all of ffmpeg into every webserver or file browser just so it can expose the proper granular one.
            • o11c 52 minutes ago
              I mean, there is the xattr `user.mime_type`.
      • galad87 7 hours ago
        That wouldn't scale well, something like .av1opusflacwebvtt?
        • ttoinou 2 hours ago
          Video codec is the most important though !
  • infogulch 53 minutes ago
    When are they going to make a video codec based on gaussian splatting?
  • 2OEH8eoCRo0 1 hour ago
    Who does this benefit? Sounds like this stuff mainly benefits streaming providers and not users. We get to go through the whole rigamarole again where hardware is made obsolete because it doesn't support acceleration.
  • Gigachad 6 hours ago
    Is anyone else getting a cloudflare blocked on this page?
  • 7e 4 hours ago
    Oh, is more HEVC stuff finally going off patent? They’re the leaders.
  • IshKebab 7 hours ago
    We must be reaching the limit at which video codecs can only achieve better quality by synthesizing details. That's already pretty prevalent in still images - phone cameras do it, and there are lots of AI resizing algorithms that do it.

    It doesn't look like AV2 does any of that yet though fortunately (except film grain synthesis but I think that's fine).

    • nasretdinov 5 hours ago
      Arguably that's already happening with film grain — you have to extrapolate _what the original probably was_, encode it because it's smaller, then add the noise back to be more faithful to the original despite your image being better.

      I imagine e.g. a picture of an 8x8 circle actually takes more bits to encode than a mathematical description of the same circle

      • rasz 46 minutes ago
        >I imagine e.g. a picture of an 8x8 circle actually takes more bits to encode than a mathematical description of the same circle

        I wonder if there are codecs with provisions for storing common shapes. Text comes to mind - I imagine having a bank of 10 most popular fonts an encoding just the difference between source and text + distortion could save quite a lot of data on text heavy material. Add circles, lines, basic face shapes.

    • _kb 5 hours ago
      Outside of AV1/2 (and linear media in general) that's already well and truly developed tech. Nvidia DLSS, AMD FSR and Intel XeSS all provide spatial/temporal super sampling to process lower fidelity base renders [0].

      There also seems to be a fair bit of attention on that problem space from the real-time comms vendors with Cisco [1], Microsoft [2] and Google [3] already leaning on model based audio codecs. With the advantages that provides both around packet loss mitigation and shifting costs to end user (aka free) compute and away from central infra I can't see that not extending to the video channel too.

      [0]: https://mtisoftware.com/understanding-ai-upscaling-how-dlss-...

      [1]: https://www.webex.com/gp/webex-ai-codec.html

      [2]: https://techcommunity.microsoft.com/blog/microsoftteamsblog/...

      [3]: https://research.google/blog/lyra-a-new-very-low-bitrate-cod...

    • ksec 6 hours ago
      >We must be reaching the limit at which video codecs can only achieve better quality by synthesizing details.

      Not quite yet as shown in H.267. But at some point the computational requirement vs bandwidth saving benefits would no longer make sense.

    • meindnoch 7 hours ago
      I think Fabrice Bellard have been experimenting with neural codecs like that.
  • jeden 7 hours ago
    I wait on new codec invented #AI
    • occz 6 hours ago
      You'll be waiting for a long time then, probably. Making codecs is actually a hard problem, the type of thing that AI completely falls over when tasked with.
      • lxgr 6 hours ago
        Compression is actually a very good use case for neural networks (i.e. don't have an LLM develop a codec, but rather train a neural network to do the compression itself).

        It works amazingly well with text compression, for example: https://bellard.org/nncp/

      • circuit10 6 hours ago
        Considering AI is good at predicting things and that’s largely what compression does, I could see machine learning techniques being useful as a part of a codec though (which is a completely different thing from asking ChatGPT to write you a codec)
        • lyu07282 6 hours ago
          Yeah in the future we might use some sort of learned spatial+temporal representation to compress video, same for audio. Its easier to imagine for audio: Instead of storing the audio samples, we store text + some feature vectors that uses some model to "render" the audio samples.
          • whycome 4 hours ago
            It’s not absurd to think that you could send a model of your voice to a receiving party and then have your audio call just essentially be encoded text that gets thrown through the voice generator on the local machine.

            AI video could mean that essential elements are preserved (actors?) but other elements are generated locally. Hell, digital doubles for actors could also mean only their movements are transmitted. Essentially just sending the mo-cap data. The future is gonna be weird

            • JimDabell 3 hours ago
              Yeah, I brought that up here and got some interesting responses:

              > It would be interesting to see how far you could get using deepfakes as a method for video call compression.

              > Train a model locally ahead of time and upload it to a server, then whenever you have a call scheduled the model is downloaded in advance by the other participants.

              > Now, instead of having to send video data, you only have to send a representation of the facial movements so that the recipients can render it on their end. When the tech is a little further along, it should be possible to get good quality video using only a fraction of the bandwidth.

              https://news.ycombinator.com/item?id=22907718

              Specifically for voice, this was mentioned:

              > A Real-Time Wideband Neural Vocoder at 1.6 Kb/S Using LPCNet

              https://news.ycombinator.com/item?id=19520194

              • whycome 2 hours ago
                In the future, our phone contacts will store name, address, phone number, voice model. (The messed up part will be that the user doesn’t necessarily send their model, but the model could be crafted from previous calls)

                You could probably also transmit a low res grayscale version of the video to “map” any local reproduction to. Kinda like how a low resolution image could be reasonably reproduced if an artist knew who the subject was.