# Key frame

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Key_frame
> Markdown URL: https://mediated.wiki/source/Key_frame.md
> Source: https://en.wikipedia.org/wiki/Key_frame
> Source revision: 1295776445
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

Drawing that defines the starting and ending points of any smooth transition

For key frames in video compression, see [I-frame](/source/I-frame) and [Video compression picture types](/source/Video_compression_picture_types).

This article needs more citations. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Key frame" – news · newspapers · books · scholar · JSTOR (February 2025) (Learn how and when to remove this message)

In [animation](/source/Animation) and [filmmaking](/source/Filmmaking), a **key frame** (or **keyframe**) is a drawing or shot that defines the starting and ending points of a [smooth transition](/source/Inbetweening). These are called *frames* because their position in time is measured in [frames](/source/Film_frame) on a strip of [film](/source/Film) or on a [digital video editing](/source/Digital_video_editing) timeline. A sequence of key frames defines which movement the viewer will see, whereas the position of the key frames on the film, video, or animation defines the [timing](/source/Comic_timing) of the movement. Because only two or three key frames over the span of a second do not create the illusion of movement, the remaining frames are filled with "[inbetweens](/source/Inbetweening)".[1]

## Use of key frames as a means to change parameters

In software packages that support animation, especially 3D graphics, there are many parameters that can be changed for any one object. One example of such an object is a light. In 3D graphics, lights function similarly to real-world lights. They cause illumination, cast shadows, and create specular highlights. Lights have many parameters, including light intensity, beam size, light color, and the texture cast by the light. Supposing that an animator wants the beam size to change smoothly from one value to another within a predefined period of time, that could be achieved by using key frames. At the start of the animation, a beam size value is set. Another value is set for the end of the animation. Thus, the software program automatically interpolates the two values, creating a smooth transition.

## Video editing

In [non-linear](/source/Non-linear_editing) [digital video](/source/Digital_video) [editing](/source/Video_editing), as well as in video [compositing](/source/Compositing) software, a key frame is a frame used to indicate the beginning or end of a change made to a parameter. For example, a key frame could be set to indicate the point at which audio will have faded up or down to a certain level.

## Video compression

Further information: [Video compression picture types](/source/Video_compression_picture_types) and [Intra-frame coding](/source/Intra-frame_coding)

In [video compression](/source/Video_compression), a key frame, also known as an [intra-frame](/source/Intra-frame), is a frame in which a complete image is stored in the data stream. In video compression, only changes that occur from one frame to the next are stored in the data stream, in order to greatly reduce the amount of information that must be stored. This technique capitalizes on the fact that most video sources (such as a typical movie) have only small changes in the image from one frame to the next. Whenever a drastic change to the image occurs, such as when switching from one camera shot to another or at a scene change, a key frame must be created. The entire image for the frame must be output when the visual difference between the two frames is so great that representing the new image incrementally from the previous frame would require more data than recreating the whole image.

Because video compression only stores incremental changes between frames (except for key frames), it is not possible to fast-forward or rewind to any arbitrary spot in the video stream. That is because the data for a given frame only represents how that frame was different from the preceding one. For that reason, it is beneficial to include key frames at arbitrary intervals while encoding video. For example, a key frame may be output once for each 10 seconds of video, even though the video image does not change enough visually to warrant the automatic creation of the key frame. That would allow seeking within the video stream at a minimum of 10-second intervals. The downside is that the resulting video stream will be larger in disk size because many key frames are added when they are not necessary for the frame's visual representation. This drawback, however, does not produce significant compression loss when the [bitrate](/source/Bitrate) is already set at a high value for better quality (as in the [DVD](/source/DVD) [MPEG-2](/source/MPEG-2) format).

## References

1. **[^](#cite_ref-1)** Webster, Chris (2005). [*Animation: The Mechanics of Motion*](https://books.google.com/books?id=EgpLtpZDGCYC). [Focal Press](/source/Focal_Press). p. 23-32. [ISBN](/source/ISBN_(identifier)) [9780240516660](https://en.wikipedia.org/wiki/Special:BookSources/9780240516660). Retrieved February 15, 2025.

v t e Animation topics By country Azerbaijan Bangladesh Bhutan Brazil Bulgaria Canada China history Czechia Estonia France Hungary India history Indonesia Iran Italy Japan history Korea North South history Latvia Lithuania Malaysia Mexico Philippines Portugal Romania Russia South Africa Spain Taiwan Thailand Ukraine United Kingdom United States Silent Era The Golden Age World War II Early TV broadcast era Modern TV cable and streaming era Vietnam Industry Animator List Animation department Animation director Story artist Animation studios List Animation database Art pipeline Biologist simulators Animation film festivals international regional Highest-grossing films (Opening weekends) Outsourcing International Animation Day Works Films Computer-animated Feature-length Lost or unfinished Package Short Short series Stop-motion Adult animated films Children's animated films Series Adult animated Children's animated Computer-animated Direct-to-video Flash Traditional Internet Television (list of years in animation · years in animation) Techniques Traditional Barrier-grid and stereography Flip book Limited animation Masking Rotoscoping Exposure sheet Stop motion Claymation clay painting, strata-cut Cutout (silhouette) Graphic Model go motion Object Brickfilm Pixilation Puppetoons Computer 2D 2.5D Flash PowerPoint SVG CSS Multi-sketch Onion skinning 3D T-pose Cel shading CGI Crowd Facial animation Morph target Motion capture facial hand tracking eye tracking Non-photorealistic rendering Physically based animation Procedural Skeletal Virtual cinematography Puppetry Traditional puppetry Digital puppetry Machinima Aniforms Virtual human Live2D Supermarionation Mechanical Animatronics Audio-Animatronics Linear Animation Generator Direct manipulation animation Humanoid animation Idle animation Ink-wash animation Magic Lantern Scanimate Shadowmation Squigglevision Whiteboard animation Other methods Blocking Character animation model sheet walk cycle lip sync off-model Chuckimation Drawn-on-film Erasure animation Hydrotechnics Inbetweening Morphing Paint-on-glass Pinscreen Pixel art Pose to pose Straight ahead Rubber hose Special effects Sand Syncro-Vox Zoetrope Variants Abstract animation (visual music) Adult animation Animated cartoon Animated sitcom Animated documentary Educational animation Erotic animation Independent animation Instructional animation Virtual newscaster History Early history History of computer animation List of years in animation Related topics Animation music Bouncing ball Mickey Mousing Key frame Cel Character animation model sheet walk cycle lip sync off-model Creature animation Twelve basic principles Motion comic Films with live action and animation highest grossing Cartoon physics violence Most expensive animated films List of animated films by box office admissions List of animated television series by episode count Category Portal Outline

---
Adapted from the Wikipedia article [Key frame](https://en.wikipedia.org/wiki/Key_frame) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Key_frame?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
