Patent attributes
An example embodiment of the present invention provides a process for inserting a source media stream into a target media stream. The process opens and reads into memory structural information from a target media stream. The process then opens and reads into memory structural information from a source media stream. The process adjusts the structural information for both streams in order to effect the insertion of the source media stream into the target media stream. In the example embodiment, this adjustment avoids the use of temporary output storage. 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. In particular embodiments, a container file format is used for the source media stream, target media stream, and output media stream.