Knowledge

Video compression picture types

Source đź“ť

1776: 1766: 197: 36: 238:(Predicted picture) holds only the changes in the image from a previous frame. For example, in a scene where a car moves across a stationary background, only the car's movements need to be encoded. The encoder does not need to store the unchanging background pixels in the P‑frame, thus saving space. P‑frames are also known as 291:
Frames encoded without information from other frames are called I-frames. Frames that use prediction from a single preceding reference frame (or a single frame for prediction of each region) are called P-frames. B-frames use prediction from a (possibly weighted) average of two reference frames, one
459:
In older standards (such as MPEG-2), B-frames are never used as references for the prediction of other pictures. As a result, a lower quality encoding (requiring less space) can be used for such B-frames because the loss of detail will not harm the prediction quality for subsequent
455:
Include some prediction modes that form a prediction of a motion region (e.g., a macroblock or a smaller area) by averaging the predictions obtained using two different previously decoded reference regions. Some standards allow two motion compensation vectors per macroblock
304:
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.
280:
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
466:
Older standards (such as MPEG-2), use exactly two previously decoded pictures as references during decoding, and require one of those pictures to precede the B-frame in display order and the other one to follow
470:
H.264 allows for one, two, or more than two previously decoded pictures as references during decoding, and can have any arbitrary display-order relationship relative to the picture(s) used for its prediction.
341:, 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: 432:
In 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.
395:
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
249:(Bidirectional predicted picture) saves even more space by using differences between the current frame and both the preceding and following frames to specify its content. 359:
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
385:
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).
53: 429:) use only one previously decoded picture as a reference during decoding, and require that picture to also precede the P picture in display order. 345:
SI‑frames/slices (Switching I): Facilitates switching between coded streams; contains SI-macroblocks (a special type of intra coded macroblock).
100: 600: 473:
The heightened flexibility of information retrieval means that B-frames typically require fewer bits for encoding than either I or P-frames.
72: 463:
H.264 relaxes this restriction, and allows B-frames to be used as references for the decoding of other frames at the encoder's discretion.
200:
A sequence of video frames, consisting of two keyframes (I), one forward-predicted frame (P) and one bi-directionally predicted frame (B).
1268: 1079: 319:, and individual prediction types can be selected on a macroblock basis rather than being the same for the entire picture, as follows: 79: 968: 1474: 1297: 1091: 782: 86: 1479: 1056: 546: 68: 1209: 363:. When such frames are used along with a smart decoder, it is possible to recover the broadcast streams of damaged DVDs. 285:
format, each frame is sent in two fields, the field of odd-numbered lines followed by the field of even-numbered lines.
1586: 1324: 1263: 1074: 1024: 847: 707: 692: 593: 119: 1699: 382:
I-frames contain an entire image. They are coded without reference to any other frame except (parts of) themselves.
187:‑frames can use both previous and forward frames for data reference to get the highest amount of data compression. 1709: 1398: 1317: 1111: 1682: 1302: 1096: 884: 360: 57: 1779: 815: 93: 1444: 348:
SP‑frames/slices (Switching P): Facilitates switching between coded streams; contains P and/or I-macroblocks
1769: 1672: 1214: 772: 586: 762: 757: 388:
May also be generated when differentiating image details prohibit generation of effective P or B-frames.
1810: 1704: 1631: 1469: 1449: 1393: 1051: 842: 645: 449: 1805: 1714: 1655: 1581: 1429: 1019: 1014: 869: 712: 1719: 1292: 1086: 787: 1660: 1031: 918: 874: 687: 670: 660: 46: 17: 181:‑frames can use data from previous frames to decompress and are more compressible than I‑frames. 1285: 1036: 820: 665: 448:
May contain image data and/or motion vector displacements. Older standards allow only a single
1557: 1689: 1373: 835: 797: 618: 277: 573: 8: 1604: 1495: 1454: 1439: 1408: 1403: 1312: 1219: 1152: 1121: 1106: 889: 419:
May contain both image data and motion vector displacements and combinations of the two.
1677: 1647: 1626: 1532: 1464: 1358: 1046: 862: 852: 747: 727: 722: 396: 337:
video coding standard, the frame can be segmented into sequences of macroblocks called
276:. A frame is a complete image, and a field is the set of odd-numbered or even-numbered 220: 1258: 1621: 1609: 1591: 1459: 1343: 1280: 1126: 1041: 997: 958: 640: 552: 542: 504: 489: 404: 352: 288:
A frame used as a reference for predicting other frames is called a reference frame.
257: 209: 133: 403:
storage. Longer refresh periods may be used in some environments. For example, in
1596: 1552: 1525: 1520: 1378: 1363: 1273: 1182: 1177: 1006: 739: 717: 609: 334: 301: 282: 145: 452:
vector for the entire frame or a single motion compensation vector per macroblock.
175:‑frames are the least compressible but don't require other video frames to decode. 1515: 1329: 1253: 1234: 1204: 1172: 1138: 697: 635: 228: 1307: 1101: 830: 825: 682: 655: 627: 268:
While the terms "frame" and "picture" are often used interchangeably, the term
556: 536: 144:
with different advantages and disadvantages, centered mainly around amount of
1799: 1614: 1562: 1229: 1224: 1199: 1131: 752: 650: 273: 156:. The three major picture types used in the different video algorithms are 27:
Class of video frames processed in a distinct way by a compression algorithm
1735: 702: 677: 578: 439: 416:
Require the prior decoding of some other picture(s) in order to be decoded.
1694: 1572: 1368: 1244: 1194: 499: 494: 376: 253: 137: 1751: 1542: 1537: 1424: 1383: 1189: 315: 256:. The order in which the I, P and B frames are arranged is called the 541:(2nd ed.). Place of publication not identified: Peachpit Press. 483: 372: 326:
P-frames can contain both intra macroblocks and predicted macroblocks
141: 35: 1665: 1510: 1167: 510: 445:
Require the prior decoding of subsequent frame(s) to be displayed.
329:
B-frames can contain intra, predicted, and bi-predicted macroblocks
196: 272:
is a more general notion, as a picture can be either a frame or a
1434: 908: 857: 948: 435:
Typically require fewer bits for encoding compared to I-frames.
426: 1783: 1388: 981: 928: 515: 391:
Typically require more bits to encode than other frame types.
366: 938: 792: 777: 767: 224: 148:. These different algorithms for video frames are called 913: 879: 407:
systems it is common to send I-frames very infrequently.
400: 440:
Bi-directional predicted (B) frames/slices (macroblocks)
168:. They are different in the following characteristics: 60:. Unsourced material may be challenged and removed. 422:Can reference previous pictures in decoding order. 355:(up to 16 reference frames or 32 reference fields) 1797: 313:Typically, pictures (frames) are segmented into 410: 594: 608: 323:I-frames can contain only intra macroblocks 601: 587: 367:Intra-coded (I) frames/slices (key frames) 534: 120:Learn how and when to remove this message 195: 14: 1798: 582: 574:Video streaming with SP and SI frames 58:adding citations to reliable sources 29: 24: 263: 25: 1822: 567: 535:Beach, Andy; Owen, Aaron (2019). 69:"Video compression picture types" 1775: 1774: 1765: 1764: 425:Older standard designs (such as 34: 252:P and B frames are also called 45:needs additional citations for 528: 308: 292:preceding and one succeeding. 223:) is a complete image, like a 140:is compressed using different 13: 1: 521: 7: 477: 411:Predicted (P) frames/slices 10: 1827: 1656:Compressed data structures 978:RLE + BWT + MTF + Huffman 646:Asymmetric numeral systems 538:Video compression handbook 507:application of frame types 450:global motion compensation 370: 191: 1760: 1744: 1728: 1646: 1571: 1503: 1494: 1417: 1351: 1342: 1243: 1160: 1151: 1067: 1015:Discrete cosine transform 1005: 996: 945:LZ77 + Huffman + context 898: 808: 738: 626: 617: 295: 1720:Smallest grammar problem 208:(or frames) are used in 1661:Compressed suffix array 1210:Nyquist–Shannon theorem 212:: I, P, and B frames. 201: 1690:Kolmogorov complexity 1558:Video characteristics 935:LZ77 + Huffman + ANS 373:Key frame (animation) 199: 1780:Compression software 1374:Compression artifact 1330:Psychoacoustic model 333:Furthermore, in the 54:improve this article 1770:Compression formats 1409:Texture compression 1404:Standard test image 1220:Silence compression 221:Intra-coded picture 1678:Information theory 1533:Display resolution 1359:Chroma subsampling 748:Byte pair encoding 693:Shannon–Fano–Elias 397:digital television 202: 1811:Video compression 1793: 1792: 1642: 1641: 1592:Deblocking filter 1490: 1489: 1338: 1337: 1147: 1146: 992: 991: 548:978-0-13-486621-5 505:Group of pictures 490:Video compression 486:term in animation 405:videoconferencing 353:motion estimation 258:Group of pictures 210:video compression 134:video compression 130: 129: 122: 104: 16:(Redirected from 1818: 1806:Data compression 1778: 1777: 1768: 1767: 1597:Lapped transform 1501: 1500: 1379:Image resolution 1364:Coding tree unit 1349: 1348: 1158: 1157: 1003: 1002: 624: 623: 610:Data compression 603: 596: 589: 580: 579: 561: 560: 532: 361:error correction 302:H.264/MPEG-4 AVC 146:data compression 132:In the field of 125: 118: 114: 111: 105: 103: 62: 38: 30: 21: 1826: 1825: 1821: 1820: 1819: 1817: 1816: 1815: 1796: 1795: 1794: 1789: 1756: 1740: 1724: 1705:Rate–distortion 1638: 1567: 1486: 1413: 1334: 1239: 1235:Sub-band coding 1143: 1068:Predictive type 1063: 988: 955:LZSS + Huffman 905:LZ77 + Huffman 894: 804: 740:Dictionary type 734: 636:Adaptive coding 613: 607: 570: 565: 564: 549: 533: 529: 524: 480: 456:(biprediction). 442: 413: 379: 369: 311: 298: 283:interlaced-scan 266: 264:Pictures/frames 204:Three types of 194: 126: 115: 109: 106: 63: 61: 51: 39: 28: 23: 22: 15: 12: 11: 5: 1824: 1814: 1813: 1808: 1791: 1790: 1788: 1787: 1772: 1761: 1758: 1757: 1755: 1754: 1748: 1746: 1742: 1741: 1739: 1738: 1732: 1730: 1726: 1725: 1723: 1722: 1717: 1712: 1707: 1702: 1697: 1692: 1687: 1686: 1685: 1675: 1670: 1669: 1668: 1663: 1652: 1650: 1644: 1643: 1640: 1639: 1637: 1636: 1635: 1634: 1629: 1619: 1618: 1617: 1612: 1607: 1599: 1594: 1589: 1584: 1578: 1576: 1569: 1568: 1566: 1565: 1560: 1555: 1550: 1545: 1540: 1535: 1530: 1529: 1528: 1523: 1518: 1507: 1505: 1498: 1492: 1491: 1488: 1487: 1485: 1484: 1483: 1482: 1477: 1472: 1467: 1457: 1452: 1447: 1442: 1437: 1432: 1427: 1421: 1419: 1415: 1414: 1412: 1411: 1406: 1401: 1396: 1391: 1386: 1381: 1376: 1371: 1366: 1361: 1355: 1353: 1346: 1340: 1339: 1336: 1335: 1333: 1332: 1327: 1322: 1321: 1320: 1315: 1310: 1305: 1300: 1290: 1289: 1288: 1278: 1277: 1276: 1271: 1261: 1256: 1250: 1248: 1241: 1240: 1238: 1237: 1232: 1227: 1222: 1217: 1212: 1207: 1202: 1197: 1192: 1187: 1186: 1185: 1180: 1175: 1164: 1162: 1155: 1149: 1148: 1145: 1144: 1142: 1141: 1139:Psychoacoustic 1136: 1135: 1134: 1129: 1124: 1116: 1115: 1114: 1109: 1104: 1099: 1094: 1084: 1083: 1082: 1071: 1069: 1065: 1064: 1062: 1061: 1060: 1059: 1054: 1049: 1039: 1034: 1029: 1028: 1027: 1022: 1011: 1009: 1007:Transform type 1000: 994: 993: 990: 989: 987: 986: 985: 984: 976: 975: 974: 971: 963: 962: 961: 953: 952: 951: 943: 942: 941: 933: 932: 931: 923: 922: 921: 916: 911: 902: 900: 896: 895: 893: 892: 887: 882: 877: 872: 867: 866: 865: 860: 850: 845: 840: 839: 838: 828: 823: 818: 812: 810: 806: 805: 803: 802: 801: 800: 795: 790: 785: 780: 775: 770: 765: 760: 750: 744: 742: 736: 735: 733: 732: 731: 730: 725: 720: 715: 705: 700: 695: 690: 685: 680: 675: 674: 673: 668: 663: 653: 648: 643: 638: 632: 630: 621: 615: 614: 606: 605: 598: 591: 583: 577: 576: 569: 568:External links 566: 563: 562: 547: 526: 525: 523: 520: 519: 518: 513: 508: 502: 497: 492: 487: 479: 476: 475: 474: 471: 468: 464: 461: 457: 453: 446: 441: 438: 437: 436: 433: 430: 423: 420: 417: 412: 409: 399:broadcast and 393: 392: 389: 386: 383: 368: 365: 357: 356: 349: 346: 331: 330: 327: 324: 310: 307: 297: 294: 265: 262: 193: 190: 189: 188: 182: 176: 128: 127: 42: 40: 33: 26: 9: 6: 4: 3: 2: 1823: 1812: 1809: 1807: 1804: 1803: 1801: 1785: 1781: 1773: 1771: 1763: 1762: 1759: 1753: 1750: 1749: 1747: 1743: 1737: 1734: 1733: 1731: 1727: 1721: 1718: 1716: 1713: 1711: 1708: 1706: 1703: 1701: 1698: 1696: 1693: 1691: 1688: 1684: 1681: 1680: 1679: 1676: 1674: 1671: 1667: 1664: 1662: 1659: 1658: 1657: 1654: 1653: 1651: 1649: 1645: 1633: 1630: 1628: 1625: 1624: 1623: 1620: 1616: 1613: 1611: 1608: 1606: 1603: 1602: 1600: 1598: 1595: 1593: 1590: 1588: 1585: 1583: 1580: 1579: 1577: 1574: 1570: 1564: 1563:Video quality 1561: 1559: 1556: 1554: 1551: 1549: 1546: 1544: 1541: 1539: 1536: 1534: 1531: 1527: 1524: 1522: 1519: 1517: 1514: 1513: 1512: 1509: 1508: 1506: 1502: 1499: 1497: 1493: 1481: 1478: 1476: 1473: 1471: 1468: 1466: 1463: 1462: 1461: 1458: 1456: 1453: 1451: 1448: 1446: 1443: 1441: 1438: 1436: 1433: 1431: 1428: 1426: 1423: 1422: 1420: 1416: 1410: 1407: 1405: 1402: 1400: 1397: 1395: 1392: 1390: 1387: 1385: 1382: 1380: 1377: 1375: 1372: 1370: 1367: 1365: 1362: 1360: 1357: 1356: 1354: 1350: 1347: 1345: 1341: 1331: 1328: 1326: 1323: 1319: 1316: 1314: 1311: 1309: 1306: 1304: 1301: 1299: 1296: 1295: 1294: 1291: 1287: 1284: 1283: 1282: 1279: 1275: 1272: 1270: 1267: 1266: 1265: 1262: 1260: 1257: 1255: 1252: 1251: 1249: 1246: 1242: 1236: 1233: 1231: 1230:Speech coding 1228: 1226: 1225:Sound quality 1223: 1221: 1218: 1216: 1213: 1211: 1208: 1206: 1203: 1201: 1200:Dynamic range 1198: 1196: 1193: 1191: 1188: 1184: 1181: 1179: 1176: 1174: 1171: 1170: 1169: 1166: 1165: 1163: 1159: 1156: 1154: 1150: 1140: 1137: 1133: 1130: 1128: 1125: 1123: 1120: 1119: 1117: 1113: 1110: 1108: 1105: 1103: 1100: 1098: 1095: 1093: 1090: 1089: 1088: 1085: 1081: 1078: 1077: 1076: 1073: 1072: 1070: 1066: 1058: 1055: 1053: 1050: 1048: 1045: 1044: 1043: 1040: 1038: 1035: 1033: 1030: 1026: 1023: 1021: 1018: 1017: 1016: 1013: 1012: 1010: 1008: 1004: 1001: 999: 995: 983: 980: 979: 977: 972: 970: 967: 966: 965:LZ77 + Range 964: 960: 957: 956: 954: 950: 947: 946: 944: 940: 937: 936: 934: 930: 927: 926: 924: 920: 917: 915: 912: 910: 907: 906: 904: 903: 901: 897: 891: 888: 886: 883: 881: 878: 876: 873: 871: 868: 864: 861: 859: 856: 855: 854: 851: 849: 846: 844: 841: 837: 834: 833: 832: 829: 827: 824: 822: 819: 817: 814: 813: 811: 807: 799: 796: 794: 791: 789: 786: 784: 781: 779: 776: 774: 771: 769: 766: 764: 761: 759: 756: 755: 754: 751: 749: 746: 745: 743: 741: 737: 729: 726: 724: 721: 719: 716: 714: 711: 710: 709: 706: 704: 701: 699: 696: 694: 691: 689: 686: 684: 681: 679: 676: 672: 669: 667: 664: 662: 659: 658: 657: 654: 652: 649: 647: 644: 642: 639: 637: 634: 633: 631: 629: 625: 622: 620: 616: 611: 604: 599: 597: 592: 590: 585: 584: 581: 575: 572: 571: 558: 554: 550: 544: 540: 539: 531: 527: 517: 514: 512: 509: 506: 503: 501: 498: 496: 493: 491: 488: 485: 482: 481: 472: 469: 465: 462: 458: 454: 451: 447: 444: 443: 434: 431: 428: 424: 421: 418: 415: 414: 408: 406: 402: 398: 390: 387: 384: 381: 380: 378: 374: 364: 362: 354: 350: 347: 344: 343: 342: 340: 336: 328: 325: 322: 321: 320: 318: 317: 306: 303: 293: 289: 286: 284: 279: 275: 271: 261: 259: 255: 250: 248: 243: 241: 237: 232: 230: 226: 222: 218: 213: 211: 207: 198: 186: 183: 180: 177: 174: 171: 170: 169: 167: 163: 159: 155: 151: 150:picture types 147: 143: 139: 135: 124: 121: 113: 102: 99: 95: 92: 88: 85: 81: 78: 74: 71: â€“  70: 66: 65:Find sources: 59: 55: 49: 48: 43:This article 41: 37: 32: 31: 19: 1736:Hutter Prize 1700:Quantization 1605:Compensation 1547: 1399:Quantization 1122:Compensation 688:Shannon–Fano 628:Entropy type 537: 530: 394: 358: 351:Multi‑frame 338: 332: 314: 312: 299: 290: 287: 269: 267: 254:Inter frames 251: 246: 244: 240:delta‑frames 239: 235: 233: 231:image file. 216: 214: 205: 203: 184: 178: 172: 165: 161: 157: 153: 149: 131: 116: 107: 97: 90: 83: 76: 64: 52:Please help 47:verification 44: 1695:Prefix code 1548:Frame types 1369:Color space 1195:Convolution 925:LZ77 + ANS 836:Incremental 809:Other types 728:Levenshtein 500:Inter frame 495:Intra frame 377:Intra-frame 316:macroblocks 309:Macroblocks 154:frame types 138:video frame 1800:Categories 1752:Mark Adler 1710:Redundancy 1627:Daubechies 1610:Estimation 1543:Frame rate 1465:Daubechies 1425:Chain code 1384:Macroblock 1190:Companding 1127:Estimation 1047:Daubechies 753:Lempel–Ziv 713:Exp-Golomb 641:Arithmetic 557:1006298938 522:References 371:See also: 278:scan lines 142:algorithms 80:newspapers 1729:Community 1553:Interlace 939:Zstandard 718:Fibonacci 708:Universal 666:Canonical 484:Key frame 460:pictures. 1715:Symmetry 1683:Timeline 1666:FM-index 1511:Bit rate 1504:Concepts 1352:Concepts 1215:Sampling 1168:Bit rate 1161:Concepts 863:Sequitur 698:Tunstall 671:Modified 661:Adaptive 619:Lossless 511:Datamosh 478:See also 206:pictures 110:May 2024 1673:Entropy 1622:Wavelet 1601:Motion 1460:Wavelet 1440:Fractal 1435:Deflate 1418:Methods 1205:Latency 1118:Motion 1042:Wavelet 959:LHA/LZH 909:Deflate 858:Re-Pair 853:Grammar 683:Shannon 656:Huffman 612:methods 300:In the 270:picture 247:B‑frame 236:P‑frame 217:I‑frame 192:Summary 94:scholar 18:B-frame 1784:codecs 1745:People 1648:Theory 1615:Vector 1132:Vector 949:Brotli 899:Hybrid 798:Snappy 651:Golomb 555:  545:  427:MPEG-2 339:slices 296:Slices 96:  89:  82:  75:  67:  1575:parts 1573:Codec 1538:Frame 1496:Video 1480:SPIHT 1389:Pixel 1344:Image 1298:ACELP 1269:ADPCM 1259:ÎĽ-law 1254:A-law 1247:parts 1245:Codec 1153:Audio 1092:ACELP 1080:ADPCM 1057:SPIHT 998:Lossy 982:bzip2 973:LZHAM 929:LZFSE 831:Delta 723:Gamma 703:Unary 678:Range 516:Video 335:H.264 274:field 101:JSTOR 87:books 1587:DPCM 1394:PSNR 1325:MDCT 1318:WLPC 1303:CELP 1264:DPCM 1112:WLPC 1097:CELP 1075:DPCM 1025:MDCT 969:LZMA 870:LDCT 848:DPCM 793:LZWL 783:LZSS 778:LZRW 768:LZJB 553:OCLC 543:ISBN 375:and 164:and 73:news 1632:DWT 1582:DCT 1526:VBR 1521:CBR 1516:ABR 1475:EZW 1470:DWT 1455:RLE 1445:KLT 1430:DCT 1313:LSP 1308:LAR 1293:LPC 1286:FFT 1183:VBR 1178:CBR 1173:ABR 1107:LSP 1102:LAR 1087:LPC 1052:DWT 1037:FFT 1032:DST 1020:DCT 919:LZS 914:LZX 890:RLE 885:PPM 880:PAQ 875:MTF 843:DMC 821:CTW 816:BWT 788:LZW 773:LZO 763:LZ4 758:842 467:it. 401:DVD 229:BMP 227:or 225:JPG 215:An 152:or 56:by 1802:: 1450:LP 1281:FT 1274:DM 826:CM 551:. 260:. 245:A 242:. 234:A 160:, 136:a 1786:) 1782:( 602:e 595:t 588:v 559:. 219:( 185:B 179:P 173:I 166:B 162:P 158:I 123:) 117:( 112:) 108:( 98:· 91:· 84:· 77:· 50:. 20:)

Index

B-frame

verification
improve this article
adding citations to reliable sources
"Video compression picture types"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
video compression
video frame
algorithms
data compression

video compression
Intra-coded picture
JPG
BMP
Inter frames
Group of pictures
field
scan lines
interlaced-scan
H.264/MPEG-4 AVC
macroblocks
H.264
motion estimation

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑