I am trying to figure out how GOP works
Consider the uncoded frame sequence:
I B B P B B P B B P B B I B B P B B P B
I understand what The N(GOP) is,
Check out this MPEG compression FAQ, particularly the section "Q. So is each frame predicted from the last frame?" for a more detailed discussion of these exact questions.
Straight answers: