title: C code to cut the MPEG 2 Video at GOP(Group of Pictures) End
body: <p>I am working on MPEG 2 Transcoding project and I need to cut a video at the boundary of GOP.<br>
  I've gone through some Documents and was able to cut the video at the start of next GOP (by checking the <em>I-frame</em> (or) GOP Start code <code>0x00 0x00 0x01 0xB8</code>), but I need to cut the video at same GOP Boundary.  </p>
  
  <p>Is there any ways to do this ?</p>