What is some good lossless video codec for recording gameplay? [closed]

Solution 1:

There's the open-source Huffyuv codec, which is specifically intended as a video capture format. It is available as a Video for Windows codec as well as from ffmpeg (whence VLC's support). Despite the name, it supports RGB. It is very fast (in terms of CPU time), but in my experience, it doesn't compress much. If you think disk speed and not CPU speed is the bottleneck, try a different codec.

Alternatively, try Lagarith (more info, home page), also open-source. Lagarith is a bit more CPU-intensive than Huffyuv, but gives better compression. It also supports multithreaded encoding:

Lagarith settings

Which is optimal depends on the relative speed of your CPU and hard drive; try both and see which is faster. If your CPU is especially fast, also try FFV1.