243:, encoders have much more flexibility about referencing structures. They can use the same referencing structures as were previously used in older designs, or they can use more pictures as references and they can use more flexible ordering of the coding order relative to the display order. They are also allowed to use B frames as references when coding other (B or P) frames. This extra flexibility can improve compression efficiency, but it can cause propagation of errors if some data becomes lost or corrupted. One popular structure for use with the newer designs is the use of a hierarchy of B frames. Hierarchical B frames can provide very good compression efficiency and can also limit the propagation of errors, since the hierarchy can ensure that the number of pictures affected by any data corruption problem is strictly limited.
22:
206:(bipredictive coded picture) – contains motion-compensated difference information relative to previously decoded pictures. In older designs such as MPEG-1 and H.262/MPEG-2, each B frame can only reference two frames, the one which precedes the B frame in display order and the one which follows, and all referenced pictures must be I or P frames. These constraints do not apply in newer standards
265:. The first number tells the distance between two anchor frames (I or P), also known as the length of a "mini-GOP". The second one tells the distance between two full images (I-frames): it is the GOP size. Instead of the M parameter, the maximal count of B-frames between two consecutive anchor frames can be used; this is the approach used by
333:
an "open GOP". The opposite is a self-contained GOP, known as a "closed GOP". In coding order GOP can begin with a B-frame, but it cannot end with one. Open GOP starts with a B-frame and it is a little more efficient because starting with an I-frame means that an extra P-frame must be added to the end (a GOP cannot end with a B-frame).
163:
IDR frame (Instantaneous
Decoder Refresh): I frame with a marking indicating that no subsequent P frames have references reaching further back than this I frame. Through the use of these IDR frames, closed GOPs are formed that can’t refer to frames outside the GOP. IDR are the true keyframes together
332:
With H.264 and later designs which allow highly flexible reference structures, a B frame in one GOP is able to reference a frame in a different GOP, in particular even before the I frame, which makes I frame non-IDR (not a keyframe). A GOP that contains any such outward-referencing frame is known as
138:
are arranged. The GOP is a collection of successive pictures within a coded video stream. Each coded video stream consists of successive GOPs, from which the visible frames are generated. Encountering a new GOP in a compressed video stream means that the decoder doesn't need any previous frames in
231:
The I frames contain the full image and do not require any additional information to reconstruct them. Typically, encoders use GOP structures that cause each I frame to be a "clean random access point," such that decoding can start cleanly on an I frame and any errors within the GOP structure are
214:. Sometimes, a codec will use unidirectional B-frames. This is a P-frame that, while it does not use data from a future frame, no other frames depend on it. A fundamental property of B-frames is that they can be dropped without affecting the correct decoding of other frames.
192:, each P frame can only reference one picture, and that picture must precede the P frame in display order as well as in decoding order, and the reference must be an I or P frame. These constraints do not apply in the newer standards
160:(intra coded picture, also sometimes incorrectly called keyframe) – a picture that is coded independently of all other pictures. Each GOP begins (in decoding order) with this type of frame.
228:
An I frame indicates the beginning of a GOP. Afterwards, several P and B frames follow. In older designs, the allowed ordering and referencing structure is relatively constrained.
494:
246:
Generally, the more I frames the video stream has, the more editable it is. However, having more I frames substantially increases bit rate needed to code the video.
220:(DC direct coded picture) – serves as a fast-access representation of a frame for loss robustness or fast-forward. D frames are only used in
524:
542:
366:
381:
86:
58:
459:
65:
39:
105:
72:
567:
342:
203:
169:
157:
148:
43:
54:
600:
525:"Docs/Appendix-Adaptive-Prediction-Structure.md · master · Alliance for Open Media / SVT-AV1 · GitLab"
32:
419:
79:
320:
to insert an I-frame on scene change is a well-known technique. Newer techniques also vary
495:"Adaptive Intra-Frame Assignment and Bit-Rate Estimation for Variable GOP Length in H.264"
8:
176:
difference information relative to previously decoded pictures. In older designs such as
173:
405:
506:
236:
207:
193:
441:
510:
595:
589:
482:
bf integer (encoding,video) Set max number of B frames between non-B-frames.
316:
The GOP structure does not need to stay fixed throughout encoding. Varying
119:
139:
order to decode the next ones, and allows fast seeking through the video.
135:
131:
473:
347:
21:
254:
The GOP structure is often referred by two numbers, for example,
217:
266:
221:
185:
177:
499:
IEEE Transactions on
Circuits and Systems for Video Technology
442:"Closed GOP and Open GOP - Simplified Explanation - OTTVerse"
312:. There are 4 B-frames between two consecutive anchor frames.
291:. There are 2 B-frames between two consecutive anchor frames.
189:
181:
240:
211:
197:
543:"Broken frames due to H.264 Open-GOP (DVB MPEG-TS) ?"
420:"Hierarchical B-Frames or B-Pyramid - Video Compression"
382:"What is "Group Of Pictures" and Why is it Important?"
46:. Unsourced material may be challenged and removed.
164:with clean random access frames (recovery points).
587:
367:"Keyframes, InterFrame & Video Compression"
153:A GOP can contain the following picture types:
232:corrected after processing a correct I frame.
440:Vijayanagar, Krishna Rao (17 December 2020).
324:based on the amount of motion in the video.
439:
106:Learn how and when to remove this message
379:
588:
327:
172:(predictive coded picture) – contains
435:
433:
44:adding citations to reliable sources
15:
13:
430:
14:
612:
20:
560:
535:
505:(10): 1271–1279. October 2006.
380:McCarrel, Jarrod (2022-05-04).
343:Video compression picture types
149:Video compression picture types
130:, specifies the order in which
31:needs additional citations for
517:
487:
466:
452:
412:
398:
373:
359:
235:In the newer designs found in
1:
474:"FFmpeg Codecs Documentation"
353:
568:"MPEG and H.264 compression"
249:
7:
336:
142:
10:
617:
460:"Compressor 4 User Manual"
146:
511:10.1109/TCSVT.2006.881856
287:, the GOP structure is
40:improve this article
386:Venera Technologies
328:Additional concepts
55:"Group of pictures"
305:, anchor-distance
174:motion-compensated
601:Video compression
531:. 23 August 2023.
424:www.ramugedia.com
294:For the sequence
124:group of pictures
116:
115:
108:
90:
608:
581:
580:
578:
577:
572:
564:
558:
557:
555:
554:
539:
533:
532:
521:
515:
514:
491:
485:
484:
470:
464:
463:
456:
450:
449:
437:
428:
427:
416:
410:
409:
402:
396:
395:
393:
392:
377:
371:
370:
369:. 13 April 2021.
363:
323:
319:
311:
304:
297:
290:
286:
264:
237:H.264/MPEG-4 AVC
208:H.264/MPEG-4 AVC
194:H.264/MPEG-4 AVC
111:
104:
100:
97:
91:
89:
48:
24:
16:
616:
615:
611:
610:
609:
607:
606:
605:
586:
585:
584:
575:
573:
570:
566:
565:
561:
552:
550:
541:
540:
536:
523:
522:
518:
493:
492:
488:
472:
471:
467:
458:
457:
453:
438:
431:
418:
417:
413:
404:
403:
399:
390:
388:
378:
374:
365:
364:
360:
356:
339:
330:
321:
317:
306:
299:
296:IBBBBPBBBBPBBBB
295:
288:
277:
255:
252:
151:
145:
112:
101:
95:
92:
49:
47:
37:
25:
12:
11:
5:
614:
604:
603:
598:
583:
582:
559:
547:Avidemux Forum
534:
516:
486:
465:
451:
429:
411:
397:
372:
357:
355:
352:
351:
350:
345:
338:
335:
329:
326:
314:
313:
292:
251:
248:
226:
225:
215:
201:
167:
166:
165:
147:Main article:
144:
141:
114:
113:
28:
26:
19:
9:
6:
4:
3:
2:
613:
602:
599:
597:
594:
593:
591:
569:
563:
548:
544:
538:
530:
526:
520:
512:
508:
504:
500:
496:
490:
483:
479:
475:
469:
461:
455:
447:
443:
436:
434:
425:
421:
415:
407:
401:
387:
383:
376:
368:
362:
358:
349:
346:
344:
341:
340:
334:
325:
309:
302:
293:
284:
280:
275:
274:
273:
270:
268:
262:
258:
247:
244:
242:
238:
233:
229:
223:
219:
216:
213:
209:
205:
202:
199:
195:
191:
187:
183:
179:
175:
171:
168:
162:
161:
159:
156:
155:
154:
150:
140:
137:
133:
129:
128:GOP structure
125:
121:
110:
107:
99:
88:
85:
81:
78:
74:
71:
67:
64:
60:
57: –
56:
52:
51:Find sources:
45:
41:
35:
34:
29:This article
27:
23:
18:
17:
574:. Retrieved
562:
551:. Retrieved
549:. 2024-07-01
546:
537:
528:
519:
502:
498:
489:
481:
477:
468:
454:
446:ottverse.com
445:
423:
414:
400:
389:. Retrieved
385:
375:
361:
331:
315:
307:
300:
289:IBBPBBPBBPBB
282:
278:
271:
260:
256:
253:
245:
234:
230:
227:
152:
136:inter-frames
127:
123:
120:video coding
117:
102:
93:
83:
76:
69:
62:
50:
38:Please help
33:verification
30:
298:, GOP size
590:Categories
576:2024-07-02
553:2024-07-01
478:ffmpeg.org
406:"B-Frames"
391:2024-06-22
354:References
272:Examples:
66:newspapers
348:Key frame
250:Structure
96:July 2013
337:See also
143:Elements
218:D frame
204:B frame
170:P frame
158:I frame
80:scholar
529:GitLab
267:ffmpeg
224:video.
222:MPEG-1
186:MPEG-2
178:MPEG-1
132:intra-
82:
75:
68:
61:
53:
571:(PDF)
190:H.263
182:H.262
126:, or
87:JSTOR
73:books
596:MPEG
281:=3,
276:For
259:=3,
241:HEVC
239:and
212:HEVC
210:and
198:HEVC
196:and
188:and
134:and
122:, a
59:news
507:doi
303:=15
285:=12
263:=12
118:In
42:by
592::
545:.
527:.
503:16
501:.
497:.
480:.
476:.
444:.
432:^
422:.
384:.
310:=5
269:.
180:,
579:.
556:.
513:.
509::
462:.
448:.
426:.
408:.
394:.
322:M
318:N
308:M
301:N
283:N
279:M
261:N
257:M
200:.
184:/
109:)
103:(
98:)
94:(
84:·
77:·
70:·
63:·
36:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.