Video captured from computer screens can be compressed very well by codecs that are optimised for screen video. Generally, this means taking into account that large areas of the screen don't change between frames, and that when areas change they are often changing back to a previously seen state.
The only one that I know of is Adobe's Flash Screen Video, specified as part of the SWF format: http://www.adobe.com/devnet/swf.html. It's slightly baroque, but usable.
I'm making an experimental HTML5/JS screencast viewer, and need a base format. At the moment, the only options I can see are implementing a FlashSV decoder in JavaScript, or rolling my own format.
Does anyone know of any other screen video codecs out there?
Edit: accepting the first answer, because the link at the bottom provided a codec very much like what I'm looking for: http://wiki.multimedia.cx/index.php?title=DosBox_Capture_Codec