Microsoft Video 1 Explained

Microsoft Video 1 or MS-CRAM[1] is an early lossy video compression and decompression algorithm (codec) that was released with version 1.0 of Microsoft's Video for Windows in November 1992. It is based on MotiVE, a vector quantization codec which Microsoft licensed from Media Vision. In 1993, Media Vision marketed the Pro Movie Spectrum, an ISA board that captured video in both raw and MSV1 formats (the MSV1 processing was done in hardware on the board).

Compression algorithm

Microsoft Video 1 operates either in an 8-bit palettized color space or in a 15-bit RGB color space.[2] Each frame is split into 4×4 pixel blocks.[2] Each 4×4 pixel block can be coded in one of three modes: skip, 2-color or 8-color.[2] In skip mode, the content from the previous frame is copied to the current frame in a conditional replenishment fashion.[2] In 2-color mode, two colors per 4×4 block are transmitted, and 1 bit per pixel is used to select between the two colors.[2] In 8-color mode, the same scheme applies with 2 colors per 2×2 block.[2] This can be interpreted as a 2-color palette which is locally adapted on either a 4×4 block basis or a 2×2 block basis. Interpreted as vector quantization, vectors with components red, green, and blue are quantized using a forward adaptive codebook with two entries.

Use in NetShow Encoder

The codec was available in Microsoft NetShow Encoder,[3] which was later renamed Windows Media Encoder, and made available via the SDK. The NetShow encoder allowed the user to select a 2 pass option, where in the first pass the video was analyzed to create a color palette, and in the second pass converted to the palettized color space and encoded. Before encoding, the video could be scaled. Later versions of Windows Media Encoder dropped support for Microsoft Video 1 and only supported Windows Media Video.

See also

External links

Notes and References

  1. Web site: Troubleshooting Video Codecs in Windows 95 . Support.microsoft.com . 2006-11-15 . 2009-10-25.
  2. Web site: Description of the Microsoft Video-1 Decoding Algorithm . Mike Melanson . 13 March 2003 . 5 April 2013.
  3. Web site: [ftp://ftp.microsoft.com/Services/TechNet/samples../PS/Win98/Reskit/APPS/NETSHOW/howto/ccag/Video/NSvideo_main.htm Creating NetShow™ Video ]. https://web.archive.org/web/20140112000000/http://webcache.googleusercontent.com/search?q=cache:4HHbO4dSgjUJ:ftp://ftp.microsoft.com/Services/TechNet/samples../PS/Win98/Reskit/APPS/NETSHOW/howto/ccag/Video/NSvideo_main.htm . 2014-01-12 . Microsoft.