Patent ID: 8249170

Claim:
Method for detecting errors in received packetized video data, wherein the video data contain a base-layer and at least one enhancement-layer and each layer is organized in frames or slices with a respective header and a group-of-picture (GOP) structure, wherein the GOP structure contains a plurality of complete GOPs and an incomplete GOP, wherein the incomplete GOP has less pictures or frames than a complete GOP, the method comprising the steps of reading header information relating to a layer; generating from the header information a scheme, or selecting a predefined scheme according to said header information, the scheme comprising at least display order number, number of reference frames and temporal level for the frames within a GOP of the respective layer; extracting from received video data frames parameters, the parameters including display order number, number of reference frames and temporal level; detecting that one or more frames or packets are missing, wherein the received parameters are compared with the parameters of expected frames according to said scheme and a missing packet or frame is determined by a mismatch between received and expected parameters; determining for a missing frame if it belongs to a complete GOP or to the incomplete GOP; and in the case of an incomplete GOP, estimating a maximum GOP size of the incomplete GOP, and generating default packets for missing frames of the incomplete GOP with display order numbers unto the estimated GOP size, and not generating default packets for missing frames with display order numbers above the estimated GOP size.