title: How to calculate GOP size of a file H264
body: <p>I have a h264 file that extract from YUV format using SVC software. Now, I want to caculate size of each GOP in the h264 file. We know that size of GOP is the distance between two nearest I frame. <a href="http://en.wikipedia.org/wiki/Group_of_pictures" rel="noreferrer">here</a>. Could you suggest to me how to cacluate the GOP size of a given h264 file. It is better when we implement it by C/C++.Thank you</p>