Patent ID: 7580416

Claim:
A method for processing a data stream comprising: receiving a transport stream (TS); storing at least a portion of the TS, said at least a portion of the TS having a beginning and comprising a plurality of TS packets; determining, from among the plurality of TS packets, at least one TS packet comprising a candidate access point; storing in an index store a byte offset of the candidate access point; and storing in the index store a plurality of indications of byte offset, each byte offset being associated with an arrival time of a received TS packet, wherein the TS comprises a partially scrambled TS having a scrambled data portion and an unscrambled data portion, and the determining step comprises: distinguishing between the scrambled data portion and the unscrambled data portion; providing the unscrambled data portion for analysis; and determining the at least one TS packet comprising a candidate access point based on analysis of at least part of the unscrambled data portion provided by the providing step.