QuickTime Animation format (also known as QuickTime RLE) is a video compression format and codec created by Apple Computer to enable playback of RGB video in real time without expensive hardware.[1][2] It is generally found in the QuickTime container with the FourCC 'rle '.[note 1] It can perform either lossless or lossy compression and is one of the few video codecs that supports an alpha channel. Supported color depths are 1-bit (monochrome), 15-bit RGB, 24-bit RGB, 32-bit ARGB, as well as palettized RGB. As a result of reverse-engineering of the format, a decoder is implemented in XAnim as well as an encoder and decoder in libavcodec.[3][4]

Technical Details

edit

QuickTime Animation uses run-length encoding and conditional replenishment for compression.[2] When encoding, the input frame is scanned pixel-wise in raster-scan order and processed line-wise.[2] Within a line, pixels are segmented into runs, the length of which is variable and signaled in the bitstream. For each run, one of three coding modes is used: same color, skip, or PCM.[2] In same color mode, a run of pixels is represented by a single color in a run-length encoding fashion. If pixels with different colors are joined into a run (of a single color) by the encoder, the coding process is lossy, otherwise it is lossless. The lossless mode is used at the 100% quality level. In skip mode, the run of pixels is left unchanged from the previous frame (conditional replenishment). In PCM mode, the color of each pixel is written to the bitstream, without any compression.[2]

Run-length encoding works well on content with large areas of constant color. Conditional replenishment works well if only small areas change from frame to frame. QuickTime Animation works well on content with both these properties, such as traditional 2-D animation and screencast content.[5] For natural video and complex 3D rendered scenes, in which runs of constant color rarely occur, only low compression ratios can be achieved in lossless mode, and the merging of runs becomes visible as noise in lossy mode.

See also

edit

Notes

edit
  1. ^ Three letters followed by a space.

References

edit
  1. ^ "QuickTime File Format" (PDF). Inside QuickTime: The QuickTime Technical Reference Library. Apple Inc. 2000. Archived from the original (PDF) on March 7, 2000. Retrieved 5 April 2013.
  2. ^ a b c d e "Apple QuickTime RLE". MultimediaWiki. 24 May 2011. Retrieved 9 April 2013.
  3. ^ Mark Podlipec (10 December 1997). "xanim.2.70.6.4.2 README". XAnim. Archived from the original on 28 December 2015. Retrieved 4 April 2013.
  4. ^ "FFmpeg Documentation". FFmpeg. Retrieved 4 April 2013.
  5. ^ Peter Hosey (8 December 2013). "Screencast codec showdown: The codecs: Animation". Retrieved 9 April 2013.{{cite web}}: CS1 maint: deprecated archival service (link)
edit

📚 Artikel Terkait di Wikipedia

List of codecs

The following is a list of compression formats and related codecs. Linear pulse-code modulation (LPCM, generally only described as PCM) is the format for

QuickTime Graphics

The decoding complexity is approximately 50% that of the QuickTime Animation codec. Each frame is segmented into 4×4 blocks in raster-scan order. Each

IMovie

the Apple Intermediate Codec on the system as a QuickTime component. iMovie transcodes HD video upon import using this codec and stores it in the QuickTime

FFmpeg

media information. Among included libraries are libavcodec, an audio/video codec library used by many commercial and free software products, libavformat

Comparison of video codecs

Α video codec is software or a device that provides encoding and decoding for digital video, and which may or may not include the use of video compression

QuickTime

window at 320×240 pixels resolution. The original video codecs included: the Animation codec, which used run-length encoding and was better suited to

MovieCD

smeared colors and sharp luma. MVI1 was a purely DOS-based codec, carrying its animations in an .MVI container. Apparently, the only occasion it was ever

GIF

transparency with rasterised vector graphics with fine color details. AV1 video codec or AVIF can also be used either as a video or a sequenced image. In April