(i9) United States
(12) Patent Application Publication
Huang et al.
(54) MID-ROLL INSERTION OF DIGITAL MEDIA
(75) Inventors: Alex Xueyuan Huang, Cupertino, CA (US); Carl Ludewig, San
Rafael, CA (US)
Correspondence Address:
LAW OFFICE OF MARK J. SPOLYAR
2200 CESAR CHAVEZ STREET, SUITE 8
SAN FRANCISCO, CA 94124
(73) Assignee: Ad Infuse, Inc., San Francisco,
CA (US)
(21) Appl. No.: 11/694,412
(22) Filed: Mar. 30, 2007
Related U.S. Application Data
(60) Provisional application No. 60/789,680, filed on Apr. 6, 2006, provisional application No. 60/789,709, filed on Apr. 6, 2006.
(51) Int. CI.
G07G1/14 (2006.01)
G06F17/00 (2006.01)
G06Q 30/00 (2006.01)
(52) U.S. CI 705/14; 715/500.1; 707/104.1
(57) ABSTRACT
An example embodiment of the present invention provides a process for inserting a source media stream into a target media stream, which media streams might be in container file format. The process opens and reads into memory structural information from a target media stream and structural information from a source media stream. The process then finds the nearest prior key frame to an insertion time and splits a chunk of media samples if the key frame's sample is not at the beginning of a chunk. The process adjusts the structural information for both streams in order to effect the mid-roll insertion of the source media stream into the tamer media stream. The process then writes onto an output media stream the adjusted structural information for the source and target media streams and then pipes onto the output media stream the media data for the source and target media streams.