Microsoft Video 1
The topic of this article may not meet Wikipedia's general notability guideline. (September 2011) |
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
[edit]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
[edit]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
[edit]- Indexed color
- Color quantization
- Block truncation coding, a similar coding technique for grayscale content
- Color Cell Compression, a similar coding technique for color content, based on block truncation coding
- Apple Video, a codec based on a similar design
- QuickTime Graphics, a codec based on a similar design
- Smacker video, a codec based on a similar design
- S3 Texture Compression, a texture compression format based on a similar design
References
[edit]- ^ "Troubleshooting Video Codecs in Windows 95". Support.microsoft.com. 2006-11-15. Retrieved 2009-10-25.
- ^ a b c d e f Mike Melanson (13 March 2003). "Description of the Microsoft Video-1 Decoding Algorithm". Retrieved 5 April 2013.
- ^ "Creating NetShow™ Video". Microsoft. Archived from the original on 2014-01-12.