摘要 |
A system and method for executing digital publications having video files embedded therein. In one embodiment all of the video segments in the electronic publication shares the same video characteristics, e.g., the video codec used to encode to video, the video codec profile used, the encoded resolution, and the encoded hit rate. When the first video in the electronic publication is encountered, the system instantiates a decoder node in memory. The decoder node is not released until the execution of the last video in the electronic publication. In an alternative embodiment of the present invention, the various videos embedded in the document do not all share the same video characteristics. In this embodiment, the present invention creates a "map" of the video content describing the location, e.g., page, and the type of video, i.e., the characteristics. The device can then use the map to identify adjacent videos which share the same characteristics and obviate the need of setup and release of socket nodes for similar videos.
|