Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Elements  





2 Structure  





3 Additional concepts  





4 See also  





5 References  














Group of pictures






Català
Deutsch
Español
Français


 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Invideo coding, a group of pictures, or GOP structure, specifies the order in which intra- and inter-frames 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 order to decode the next ones, and allows fast seeking through the video.

Elements

[edit]

A GOP can contain the following picture types:

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.[3]

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 corrected after processing a correct I frame.

In the newer designs found in H.264/MPEG-4 AVC and HEVC, 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.[4]

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.

Structure

[edit]

The GOP structure is often referred by two numbers, for example, M=3, N=12. The first number tells the distance between two anchor frames (I or P), also known as the length of a "mini-GOP".[5] The second one tells the distance between two full images (I-frames): it is the GOP size.[6] 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 ffmpeg.[7]

Examples:

The GOP structure does not need to stay fixed throughout encoding. Varying N to insert an I-frame on scene change is a well-known technique.[8] Newer techniques also vary M based on the amount of motion in the video.[9]

Additional concepts

[edit]

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).[10] A GOP that contains any such outward-referencing frame is known as an "open GOP". The opposite is a self-contained GOP, known as a "closed GOP".[5] 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).[11]

See also

[edit]

References

[edit]
  1. ^ "Keyframes, InterFrame & Video Compression". 13 April 2021.
  • ^ McCarrel, Jarrod (2022-05-04). "What is "Group Of Pictures" and Why is it Important?". Venera Technologies. Retrieved 2024-06-22.
  • ^ "B-Frames".
  • ^ "Hierarchical B-Frames or B-Pyramid - Video Compression". www.ramugedia.com.
  • ^ a b Vijayanagar, Krishna Rao (17 December 2020). "Closed GOP and Open GOP - Simplified Explanation - OTTVerse". ottverse.com.
  • ^ "Compressor 4 User Manual".
  • ^ "FFmpeg Codecs Documentation". ffmpeg.org. bf integer (encoding,video) Set max number of B frames between non-B-frames.
  • ^ "Adaptive Intra-Frame Assignment and Bit-Rate Estimation for Variable GOP Length in H.264". IEEE Transactions on Circuits and Systems for Video Technology. 16 (10): 1271–1279. October 2006. doi:10.1109/TCSVT.2006.881856.
  • ^ "Docs/Appendix-Adaptive-Prediction-Structure.md · master · Alliance for Open Media / SVT-AV1 · GitLab". GitLab. 23 August 2023.
  • ^ "Broken frames due to H.264 Open-GOP (DVB MPEG-TS) ?". Avidemux Forum. 2024-07-01. Retrieved 2024-07-01.
  • ^ "MPEG and H.264 compression" (PDF). Retrieved 2024-07-02.

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Group_of_pictures&oldid=1232139435"

    Categories: 
    MPEG
    Video compression
    Hidden categories: 
    Articles needing additional references from July 2013
    All articles needing additional references
     



    This page was last edited on 2 July 2024, at 04:43 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki