Patent ID: 9215482
Filing Date: 2015-12-15
Classification: H04N

Abstract:
1. A method for locating an I frames comprising: analyzing, by a server or a terminal, transport stream packets in a transport stream one by one, and when one of the transport stream packets is determined to be a video packet and it comprises a Packet Elementary Stream (PES) header, then said server or terminal determining a beginning position of the I frame or an ending position of the I frame based on data after the PES header in said one of the transport stream packets in the way as follows: when it is determined that bytes after the PES header in said one of the transport stream packets comprise initial codes of a Sequence Parameter Set (SPS) or a Picture Parameter Set (PPS), then said one of the transport stream packets is determined to be the beginning position of the I frame; and when it is determined that the bytes after the PES header in said one of the transport stream packets comprise slice information and an initial identification element in the slice information is identified as initial data of a present frame image, then a previous transport stream packet of said one of the transport stream packets is determined to be the ending position of the I frame.