Patent attributes
A computerized method for dynamically generating a targeted manifest file for use by a playback device to retrieve a video stream including targeted content, includes periodically receiving a manifest file that identifies a sequence of media files, and updating a master manifest file to identify the sequence of media files from each periodically received index file, such that the master manifest file identifies a continuous master sequence of media files that constitute the video stream. The sequence of media files constitutes a portion of a video stream. The method further includes, upon request from a playback device, generating a targeted manifest file from the master sequence of media files. The targeted manifest file identifies a custom sequence of media files that includes targeted content, wherein one or more consecutive media files identified in the master sequence are substituted with a different number of targeted media files in the custom sequence.