Patent ID: 8752085

Claim:
A method comprising: receiving advertisement insertion input at an advertisement insertion tool executing by a processing device, wherein the advertisement insertion input identifies a presentation time in media content to insert an advertisement; in response the receiving, inspecting an original slice of the media content that contains the media content at the presentation time to locate a key frame at or prior to the presentation time, wherein the inspecting the original slice of the media content comprises: reading a container comprising encoded video; and decoding the key frame, any intervening delta frames and a last frame corresponding to the media content at the presentation time; creating a first new slice comprising the media content of the original slice up to the presentation time, wherein the creating the first new slice comprises re-encoding the key frame, any intervening delta frames and the last frame to create the first new slice; creating a second new slice comprising the media content of the original slice after the presentation time; and updating a descriptor file to include the first new slice, the advertisement, and the second new slice for streaming by a media player executing on a client computing system.