Patent ID: 7962933
Filing Date: 2011-06-14
Classification: G06Q

Abstract:
1. A method, comprising opening, and reading into memory, structural information from a first media stream; opening, and reading into memory, structural information from a second media stream, wherein both the first and second media streams comprise one or more chunks and each of the chunks comprise one or more media samples; identifying a nearest prior key frame in the second media stream corresponding to an insertion time; identifying a chunk and a media sample corresponding to the identified key frame; splitting the identified chunk into first and second split chunks so that the second split chunk begins with the media sample corresponding to the identified key frame, wherein this splitting occurs if the media sample corresponding to the identified key frame is not at the beginning of the identified chunk; adjusting the structural information for the first and second media streams to effect insertion of the first media stream into the second media stream before the second chunk, wherein the structural information for each media stream comprises a sample-to-chunk table and a chunk-to-offset table, and wherein adjusting the structural information comprises modifying the sample-to-chunk table and the chunk-to-offset table of the second media stream to include entries for the one or more chunks and media samples of the first media stream and the first and second split chunks of the first media stream; and writing onto an output media stream the adjusted structural information for the first and second media streams.