ArticleslgStudy

science

Video compression picture types

Video compression picture types is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Video compression picture types rather than just read about it. In short: In the field of video compression, a video frame is compressed using different algorithms with different advantages and disadvantages, centered mainly around amount of data compression. These different algorithms for video frames are called picture types or frame types.

Video compression picture types — main illustration
Video compression picture types — illustration

Key takeaways

  • Video compression picture types belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Video compression picture types to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Video compression picture types from memory before moving on to harder problems.

Reference excerpt

In the field of video compression, a video frame is compressed using different algorithms with different advantages and disadvantages, centered mainly around amount of data compression. These different algorithms for video frames are called picture types or frame types. The three major picture types used in the different video algorithms are I, P and B. They are different in the following characteristics:

I‑frames are the least compressible but don't require other video frames to decode. P‑frames can use data from previous frames to decompress and are more compressible than I‑frames. B‑frames can use both previous and forward frames for data reference to get the highest amount of data compression.

Summary

Three types of pictures (or frames) are used in video compression: I, P, and B frames. An I‑frame (intra-coded picture) is a self-contained image, like a JPG or BMP image file. A P‑frame (predicted picture) allows each macroblock to be predicted from a region of any previously decoded frame that is in the decoded frame buffer. The encoder does not need to resend regions that have not changed at all relative to a previously decoded frame, thus saving space. A B‑frame (bidirectional predicted picture) saves even more space by generating more precise macroblock predictions. They do so by allowing each macroblock to be predicted by combining regions from each of two previously decoded frame that are in the decoded frame buffer, typically one frame that precedes it in display order and one that follows it. P and B frames are also called inter frames. The order in which the I, P and B frames are arranged is called the group of pictures.

Pictures/frames While the terms frame and picture are often used interchangeably, picture is a more general notion, as a picture can be either a frame or a field. A frame is a complete image, and a field is the set of odd-numbered or even-numbered scan lines composing a partial image. For example, an HD 1080 picture has 1080 lines (rows) of pixels. An odd field consists of pixel information for lines 1, 3, 5, ..., 1079. An even field has pixel information for lines 2, 4, 6, ..., 1080. When video is sent in interlaced-scan format, fields are sent in sequence, alternating between odd-line fields and even-line fields, with each carrying half as much information as a frame would but separated in time like sequential frames (that is, a given odd-line field represents a time between that of the preceding even-line field and the following even-line field). A frame used as a reference for predicting other frames is called a reference frame. A frame encoded as a complete still image without information from other frames is called an I-frame. A frame that uses prediction from a single preceding reference frame (or a single frame for prediction of each region) is a P-frame. A B-frame uses prediction from a (possibly weighted) average of two reference frames, one preceding and one succeeding.

Slices In the H.264/MPEG-4 AVC standard, the granularity of prediction types is brought down to the "slice level." A slice is a spatially distinct region of a frame that is encoded separately from any other region in the same frame. I-slices, P-slices, and B-slices take the place of I-, P-, and B-frames.

Macroblocks Typically, pictures (frames) are segmented into macroblocks, and individual prediction types can be selected on a macroblock basis rather than being the same for the entire picture, as follows:

I-frames can contain only intra macroblocks P-frames can contain both intra macroblocks and predicted macroblocks B-frames can contain intra, predicted, and bi-predicted macroblocks Furthermore, in the H.264 video coding standard, the frame can be segmented into sequences of macroblocks called slices, and instead of using I, B and P-frame type selections, the encoder can choose the prediction style distinctly on each individual slice. Also in H.264 are found several additional types of frames/slices:

SI‑frames/slices (Switching I): Facilitates switching between coded streams; contains SI-macroblocks (a special type of intra coded macroblock). SP‑frames/slices (Switching P): Facilitates switching between coded streams; contains P and/or I-macroblocks Multi‑frame motion estimation (up to 16 reference frames or 32 reference fields) Multi‑frame motion estimation increases the quality of the video, while allowing the same compression ratio. SI and SP frames (defined for the Extended Profile) improve error correction. When such frames are used along with a smart decoder, it is possible to recover the broadcast streams of damaged DVDs.

Intra-coded (I) frames/slices (key frames)

I-frames contain an entire image. They are coded without reference to any other frame except (parts of) themselves. May be generated by an encoder to create a random access point (to allow a decoder to start decoding properly from scratch at that picture location). May also be generated when differentiating image details prohibit generation of effective P or B-frames. Typically require more bits to encode than other frame types. Often, I‑frames are used for random access and are used as references for the decoding of other pictures. Intra refresh periods of a half-second are common on such applications as digital television broadcast and DVD storage. Longer refresh periods may be used in some environments. For example, in videoconferencing systems it is common to send I-frames very infrequently.

Predicted (P) frames/slices Require the prior decoding of some other picture(s) in order to be decoded. May contain both image data and motion vector displacements and combinations of the two. Can reference previous pictures in decoding order. Older standard designs (such as MPEG-2) use only one previously decoded picture as a reference during decoding, and require that picture to also precede the P picture in display order. H.264 can use multiple previously decoded pictures as references during decoding, and can have any arbitrary display-order relationship relative to the picture(s) used for its prediction. Typically require fewer bits for encoding compared to I-frames.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Video compression picture types

Start with the simplest possible case. Write down what Video compression picture types claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Video compression picture types before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Video compression picture types ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Video compression picture types

In research
Video compression picture types appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Video compression picture types in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Video compression picture types is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data compression, Video compression, so understanding it makes those chapters shorter.
In everyday life
Look for Video compression picture types outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Video compression picture types in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Video compression picture types means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Video compression picture types out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Video compression picture types in simple terms?

In the field of video compression, a video frame is compressed using different algorithms with different advantages and disadvantages, centered mainly around amount of data compression. These different algorithms for video frames are called picture types or frame types.

Why does Video compression picture types matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Video compression picture types?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Video compression picture types.

Tags

  • Data compression
  • Video compression

Keep exploring