This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
using:b-frames [2010/04/15 18:27] j.m |
using:b-frames [2012/11/11 08:51] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
Video frames can be divided among 3 types: | Video frames can be divided among 3 types: | ||
- | - [[I-frames|I-Frame]]: Intra frame, also called keyframe. They have no reference frame and can be decoded on their own. They can be thought of as a JPEG image. | + | - **[[I-frames|I-Frame]]:** Intra frame, also called keyframe. They have no reference frame and can be decoded on their own. They can be thought of as a JPEG image. |
- | - P-Frame: Predicted frame. They are deduced from the previous frame (I or P) and cannot be built if the decoder has not decoded the previous frames. | + | - **P-Frame:** Predicted frame. They are deduced from the previous frame (I or P) and cannot be built if the decoder has not decoded the previous frames. |
- | - B-Frame: They are decoded from the previous and next I-P frames. | + | - **B-Frame:** They are decoded from the previous and next I-P frames. |
B-frames are interesting for two facts. First, they have a slightly better prediction. And second and more important, they do not impact the quality of following frames, so they can be encoded with lower quality without degrading the whole sequence. | B-frames are interesting for two facts. First, they have a slightly better prediction. And second and more important, they do not impact the quality of following frames, so they can be encoded with lower quality without degrading the whole sequence. | ||
Line 23: | Line 23: | ||
<code>I-0 P-3 B-1 B-2</code> | <code>I-0 P-3 B-1 B-2</code> | ||
- | To keep thing simple, the file is encoded with DTS order. | + | To keep things simple, the file is encoded with DTS order. |
===== The problem ===== | ===== The problem ===== |