Hacker News new | ask | show | jobs
by wmf 4757 days ago
krh is working on a lossless "codec" that uses a rsync-like rolling hash that should provide good compression with no artifacts (as long as the app isn't too skeuy). http://people.freedesktop.org/~krh/rolling-hash/
1 comments

...but why? In my experience, using H.264 to encode screen captures gives you extremely high quality video for reasonable CPU and network expenditures. Is the last 1% of video quality really worth it?

For a demo, you can try using FFmpeg + x264 using the x11grab input. It's very easy to adjust the amount of CPU used (by changing the preset) and the bandwidth (by changing the CRF, or by setting the bit rate).

Lossless encoding is important for text, especially sub-pixel antialiased test.
Can you back that up? In my experience, when I replay an H.264 screen capture, I can't tell the difference. I'd be happy to post PNG screenshots.

Keep in mind that H.264 does not have to be 4:2:0, it can easily be 4:4:4.

It sounds cool, I would be very curious to try it!

Edit: If you're offering, I would like to see some screenshots. Also, what settings do you use for it?

I would expect the rolling hash to be much faster than H.264 while also being lossless.