2 ms·
Many of these are valid question. I wonder if the author has ever by chance read any of my comments scattered across the internet on codec. Because I have been
by ksec 5y ago
Many of these are valid question. I wonder if the author has ever by chance read any of my comments scattered across the internet on codec. Because I have been writing and questioning this for many years.
For example, Facebook prefer JPEG XL over AVIF;
>JPEG XL encoding at speed/effort 6 is as fast as JPEG encoding (using MozJpeg with Trellis encoding enabled). This means that it's practical to encode JPEG XL images on the fly and serve to client. This can be compared with the encoding speed of AVIF which necessitates offline encoding which offers much less flexibility when it comes to delivering dynamically sized and compressed content.
This is encoding complexity at scale. Decoding complexity are often discussed in codec development meetings due to the fact CPU performance improvement has slowed down a lot in recent years ( Apple M1 being an outliner here ). You have double the complexity, did we have double the CPU performance improvement?
People often assume hardware decoding = dedicated / low power decoding. Which isn't necessarily true. On Desktop and Laptop you could have hardware decoding using up to 2W if not 4W or more for Semi-GPU assisted. Compared to Smartphone which generally prefer to have average ~0.1W during decoding. This is only for Qualcomm and Apple though. Some other brand may allow much higher power budget.
Then there is the storage requirement question. It makes sense for Netflix, which is a comparatively tiny amount of content, they could serve using any codec they sit fit and have all these different variation to lower bandwidth / provide higher quality. Compared to Youtube, which has more than 500 HOURS of content uploaded every "minute". Adding an additional codec variant will have a different storage cost calculation.
And Bandwidth, quoting Cloudflare;
>During the last ten years, industry wholesale transit prices have fallen an average of 23% annually. Compounded over that time, wholesale bandwidth is 93% less expensive than 10 years ago.
Compared to video codec development, x264 started "pre 2010", to the best AV1 / VVC Encoder ( Not even publicly available ), only provided a maximum of ~64% bitrate reduction ( or 40% reduction per generation )in both subjective and objective test by Moscow State University. Over the span of 15 years, compared to the best and non-widely available, non-widely supported codec we only have a 64% reduction. While bandwidth had 93% reduction in 10 years only.