by vardump · 8y ago · 0 comments
Well, you can get pretty good results with h.264 without B-frames. Modern composited desktops have caused traditional changed block (RLE, LZ) lossless codecs to perform badly.
> font rendering engines use subpixel anti-aliasing so you want 4:4:4 chroma
I think you can just gradually stream more (chroma) bits to stationary areas containing high detail (frequency) information, like text. In other words, tunable bit allocation between motion and stationary detail.
No matter what, there's no way to know what's the subpixel layout on the receiving end. Luckily Retina/HiDPI displays are increasingly lessening importance of subpixel rendering.
And subsampled chroma looks terrible on colored text, edges between flat colored areas and similar things.[0] So 4:4:4 is a must, only once you have that you can think about adaptive quantization for chroma.
[0] https://upload.wikimedia.org/wikipedia/commons/1/1c/420-prog...
I think you should be able to get away with using chroma subsampling for moving portions while allocating bits in data stream for stationary areas, without subsampling (by using some heuristics, perhaps.)
Chroma from luma techniques might be interesting in this context. https://people.xiph.org/~xiphmont/demo/daala/demo4.shtml
https://www.youtube.com/watch?v=yKEDf5-2sT4
Slides: https://people.xiph.org/~tdaede/demuxed_av1_2017.pdf
Twitch is also interested in AV1 for its s-frames feature which allows for better compression in low latency live streaming: