Patent ID: 8392942

Claim:
A method of substitution of digital video content at a content player device, comprising: providing a segment of video content having substitutable portions, the segment of video content being encoded using a first video encoding method; identifying a fixed segment of the video content using a first segment identifier; providing a plurality of sets of substitute segments of video content forming a part of the segment of video content which are identified by a corresponding plurality of segment identifiers; wherein the plurality of sets of substitute segments of video content are encoded using a second encoding method, wherein the second encoding method produces more highly compressed video content than the first encoding method; determining that one of the plurality of segment identifiers correspond to the sets of segments of substitute content that are to be substituted by reference to a stored instruction stored in a memory device; determining that the content contains the one of the plurality of segment identifiers; inserting the substitutable portion having the one of the plurality of segment identifiers and disregarding the substitutable portions not identified by the one of the plurality of segment identifiers; and upon encountering a substitution point in the content, switching from a first decoder that decodes content encoded using the first encoding method to a second decoder that decodes content encoded using the second encoding method, and upon completion of decoding the inserted substituted portion switching from the second decoder back to the first decoder, wherein the decoder is switched by a segment routing state machine that operates an insertion/deletion mode based upon segment identifiers.