摘要 |
The invention provides a method for estimating the type of the Group of Picture structure, GoP, of a plurality of video frames in a video stream, comprising the steps of: a) capturing the frame sizes in byte of every video frame subsequent to an initial Intra-frame, I-frame, to obtain an array of frame sizes; b) converting, after a number of frames, the array of frame sizes obtained in step a) into an array of zeros and ones, where zero stands for small frames size, as assumed for bidirecional frames, B-frames, and one stands for large frame sizes, as assumed for predicted frames, P-frames; c) matching the array of zeros and ones obtained in step b) to a number of predefined patterns of binaries, said predefined patterns of binaries depicting possible GoP structures; d) converting the result of said matching in step c) to form a single score value; and e) determining the particular pattern of the number of predefined patterns of binaries having the best score value, according to a predefined metric. |