*blog... kind of... *rss
Archiving demo captures with Lagarith Lossless Video Codec
1 comment written so far...The terms lossy and lossless are something I learnt recently when I discovered the format FLAC. As example MP3 is a lossy format; distorts the data on the pocess, and the end result is not exactly like the original. FLAC, on the other hand compresses the data but keeps it 1:1 with the original, just like a ZIP does.
Lagarith is the same but for video. There are some other lossless video codecs but from my experience Lagarith, using the YV12 color space when compressing, is, by far, the best. Not only in terms of file size compression, but also in terms of playback.
As an example, I've compressed r08028 at the resolution of 640x480 60fps, which is the resolution it was designed for, and it ends up as 2gb file (uncompressed is 14gb). 2gb is still quite big for a 3 minutes video but with nowadays 1TB+ HDs maybe we can start archiving our demos in this way so we can recompress them to new video formats as soon as they appear without having to mess with emulators and rendering again.
Best thing of the codec is that the playback. On a multi-core machine can play 1920x1080 60fps videos with no problems.
Unfortunately, this codec hasn't reached mainstream and it doesn't have much support yet (ie VLC doesn't play it). But if you happen to be a Windows user, give it a try!
If you want to know more about the codec, here you have some extra info, and here the sources.
Now, if only FLAC could also be used for compressing the audio that gets encapsulated in a .AVI...
EDIT: Forgot to mention. You can use this codec from kkapture itself. And if that wasn't good enough, the whole kkapture process gets way faster (compared to capture to uncompressed frames). Capturing r08028 is faster than the demo itself.
Lagarith is the same but for video. There are some other lossless video codecs but from my experience Lagarith, using the YV12 color space when compressing, is, by far, the best. Not only in terms of file size compression, but also in terms of playback.
As an example, I've compressed r08028 at the resolution of 640x480 60fps, which is the resolution it was designed for, and it ends up as 2gb file (uncompressed is 14gb). 2gb is still quite big for a 3 minutes video but with nowadays 1TB+ HDs maybe we can start archiving our demos in this way so we can recompress them to new video formats as soon as they appear without having to mess with emulators and rendering again.
Best thing of the codec is that the playback. On a multi-core machine can play 1920x1080 60fps videos with no problems.
Unfortunately, this codec hasn't reached mainstream and it doesn't have much support yet (ie VLC doesn't play it). But if you happen to be a Windows user, give it a try!
If you want to know more about the codec, here you have some extra info, and here the sources.
Now, if only FLAC could also be used for compressing the audio that gets encapsulated in a .AVI...
EDIT: Forgot to mention. You can use this codec from kkapture itself. And if that wasn't good enough, the whole kkapture process gets way faster (compared to capture to uncompressed frames). Capturing r08028 is faster than the demo itself.
Yay! Post 666!
July 4th 2009, trace
Have your say!
*profile

traditional id: Ricardo Cabello Miguel
based in: London, UK
more: github, twitter, twitpic, soundcloud and flattr
*post nav
60fps' Cube Clock
Tweaking the spam comments filter
Prettifying Ubuntu
HTC Magic
Time-lapse Desktop Screenshots (Linux)
Archiving demo captures with Lagarith Lossless Video Codec
Misha - Bugs (Receptor Unofficial Remix)
Isolation
Shock's Gimp Paint Studio
Uniqlo Calendar
r08028 - You Fail (Fallas)
*latest comments
Deleted myself from Facebook
Deleted myself from Facebook
Deleted myself from Facebook
César Alierta y las anotaciones de Youtube
La profesionalidad de Recreo comunicación
Nathan Fake the Sky Was Pink (edicion Leonardo Martin)
César Alierta y las anotaciones de Youtube
César Alierta y las anotaciones de Youtube
César Alierta y las anotaciones de Youtube
César Alierta y las anotaciones de Youtube