
The
Guide
26
Fo
rw
a
rd
In
tra
-fr
a
m
es
a
nd
P
re
d
ic
te
d
-fr
a
m
es
Intra-frames and Predicted-frames
The DivX encoder makes use of three frame types during encoding.
These are:
Intra-frames
,
Predicted-frames
and
Bi-directional-frames
.
More commonly these are known as
I
,
P
and
B
frames. B-frames are
discussed later in the guide as an advanced topic.
An intra-frame is one in which all of the macroblocks
are stored as images rather than as motion vectors.
As noted previously, recording the image of a block is
the most expensive method in terms of storage and
hence I-frames are the most expensive type of frame.
Fewer I-frames in the video generally translates to
better compression and I-frames are normally used
by the encoder only when too few blocks can be
tracked from the reference frame by the motion search algorithm.
I-frames serve a very important purpose: All of the blocks in an I frame
are stored as images, thus decoding an I frame reveals a complete
picture without dependency on reference frames. For this reason I
frames are also known as
key-frames
, and they are the only type of
frame completely independent of all others.
A predicted frame is one that can contain forward-predicted blocks—in
other words blocks that have been predicted via a motion vector from
the previous frame by the motion search. It is normally unlikely that
all
of the blocks in a P-frame can be predicted, and where blocks can not
be tracked from the previous frame an intra-block is used in its place,
similar to those found in an I-frame. Because P-frames reconstruct
much of the frame by applying motion vectors to the previous frame
(
motion compensation
) they are far less expensive in terms of storage
than I-frames.
One or more P-frames may follow an I-frame:
A greater ratio of P-frames to I-frames leads to a higher compression
ratio.
An intra-frame
Frame 1 (I)
Frame 2 (P)
Frame 3 (P)
Summary of Contents for USBAV-708 INSTANT VIDEOMPX
Page 1: ...Revision 1 0...
Page 4: ...The Guide 4 Introduction...
Page 10: ...The Guide 10 Quick Start Guide...
Page 23: ...The Guide 23 Forward...
Page 31: ...The Guide 31 Bitrate mode...
Page 47: ...The Guide 47 Performance Quality...
Page 55: ...The Guide 55 Psychovisual Enhancement...
Page 61: ...The Guide 61 Source pre processing...
Page 65: ...The Guide 65 Crop and Resize...
Page 71: ...The Guide 71 MPEG4 Tools...
Page 83: ...The Guide 83 Advanced...
Page 87: ...The Guide 87 Interlacing...
Page 92: ...The Guide 92 Video Buffer Verifier...
Page 96: ...The Guide 96 Profiles...
Page 100: ...The Guide 100 DivX Certified Program...
Page 104: ...The Guide 104 E K G...
Page 109: ...The Guide 109 DivX Decoder...
Page 115: ...The Guide 115 Acknowledgements...