What is some good lossless video codec for recording gameplay?
- by Don Salva
I'm an avid gamer and I like to record my gameplay. Usually I've been using Fraps to do it, however I'm thinking of switching to Dxtory as it allows to write on multiple HDDs at once.
Say I have 3 HDDs with the following write speeds: HDD1 with 50 mb/s, HDD2 with 22 mb/s and HDD3 with 45 mb/s. Combined write speed would be: 117 mb/s.
Dxtory allows you to utilize all 3 HDD's at once while recording your gameplay.
Using this formula:
RGB24 YUV24: Width x Height x 3 x fps = bitrate (byte/sec)
YUV420: Width x Height x 3 / 2 x fps = bitrate (byte/sec)
YUV410: Width x Height x 9 / 8 x fps = bitrate (byte/sec)
And recording in YUV420 colorspace at 1920x1080 with 30 fps I'd need about 95 mb/s write speed. Dxtory is good because it allows me to play with constant 60 fps while recording in 30 fps. Fraps does not (even though they say it does), once you start recording with Fraps, the game's fps drops.
So I'm looking for a codec that doesn't need a very high write speed (bitrate) yet records in good (lossless) quality.
Dxtory comes with its own codec, the Dxtory codec. Which allows me some experimentation. Fraps has it's own codec which I can use in Dxtory to expirement around.
I also came across http://lags.leetcode.net/codec.html .
Are there more lossless codecs out there (besides Fraps' and Dxtory's) which are good for what I want to do?
Edit:
To clarify, yes, I'm aware a lossless codec always has "good" quality. But that's not what I'm looking for.
Let me take the Fraps codec and Dxtory codec to clarify what I'm looking for.
When I record with the Dxtory codec in RGB colorspace at 1920x1080 with targeted 30 fps, I can play the game at 60 fps, BUT I'm recording with 10-15 fps, that's because RGB with Dxtory needs much, much more write speed than my hdd can handle.
When recording with Dxtory codec in YUV410 colorspace at 1920x1080 with targeted 30 fps, I can play at 60 fps and record at 30 fps, again, that's because YUV410 in Dxtory's codec takes much, much less write speed than RGB
When recording with Fraps codec in ??? (I dunno the color space Fraps records in, I guess YUV420), I can play with 60 fps and record with 30 fps.
What I'm looking for is a lossless codec that can record in YUV420 (or even RGB??) which does not exceed a write speed (or bitrate if you will) of 100 mb/s in 1920x1080 or in other words, which will allow me to record in constant 30fps.
Obviously the best solution would be to buy an SDD, but that's not what I'm after.