Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Oct 2008
Posts: 1
|
Open GoP and Closed GoP
Hi,
I have been thinking that GoP is a groups of pictures that might be decoded independently without the need of any reference from other GoPs. But while inspecting a conformance bitstream, I realized that some of the pictures do point out outside of a GoP for referencing purposes. My Question is: 1. What is the benefit of a GoP if it can't be decoded individually ? 2. How Can we play/fwd/reverse a video having open GoPs ? Thanks, Omer |
![]() |
![]() |
![]() |
#3 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,246
|
H.264 allows P-Frames and B-Frames to have multiple references. That is: Instead of only referring to the previous frame, they can refer to up to 16 previous frames.
Consequently you cannot start decoding at any I-Frame, because one of the P-/B-Frames after the I-Frame may refer to some frame before the I-Frame. Anyway, there is a special kind of I-Frames in H.264, the IDR-Frames. Any frame following an IDR-Frame is guaranteed to not refer to any frame before the IDR-Frame. The purpose of multiple references (and None-IDR I-Frames) is improved compressibility: If more reference frames are available to the encoder, then the P- or B-Frame can be predicted more precisely and thus the residual will cost less bits to encode. This thread explains how you can find the a point in a H.264 stream where you can start decoding/playing: http://forum.doom9.org/showthread.php?t=146269 Also I think it's not possible to reverse a GOP without re-encoding the stream...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 20th April 2009 at 21:50. |
![]() |
![]() |
![]() |
#4 | Link | ||
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Quote:
Quote:
__________________
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|