×

Insertion of digital media

  • US 7,992,165 B1
  • Filed: 02/13/2007
  • Issued: 08/02/2011
  • Est. Priority Date: 04/06/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving a first media stream formatted into a first container file format and encoded using a first codec, the first media stream comprising a first stream header and one or more first tracks, each first track comprising a first track header, one or more first edit lists, and one or more first media, each first media comprising a first media header and one or more first sample tables specifying locations and durations of sample data within the first media stream;

    receiving a second media stream formatted into the first container file format and encoded using the first codec, the second media stream comprising a second stream header and one or more second tracks, each second track comprising a second track header, one or more second edit lists, and one or more second media, each second media comprising a second media header and one or more second sample tables specifying locations and durations of sample data within the second media stream;

    reading the first stream header, the first track headers, the first edit lists, the first media headers, and the first sample tables;

    reading the second stream header, the second track headers, the second edit lists, the second media headers, and the second sample tables;

    adjusting one or more of the first stream header, the second stream header, the first track headers, the second track headers, the first edit lists, the second edit lists, the first media headers, the second media headers, the first sample tables, and the second sample tables in the first and second media streams in order to effect the insertion of the first media stream into the second media stream without removing any content of the second media stream;

    writing onto an output media stream the adjusted first and second media streams; and

    piping onto the output media stream media data of the first and second adjusted media streams, wherein piping onto the output media stream media data of the first and second media streams comprises utilizing file channels that operate on temporary copies of the first and second media streams, wherein each file channel is operative to establish a buffer directly mapped to file contents in the first and second media streams using memory-mapped I/O.

View all claims
  • 22 Assignments
Timeline View
Assignment View
    ×
    ×