In accordance with a specific aspect of the present invention, a
compressed video stream, such as an MPEG-2 video stream, is received by a
transport demultiplexor, synchronized, parsed into separate packet types,
and written to buffer locations external the demultiplexor. Adaptation
field is handled by a separate parser. In addition, primary elementary
stream data can be handled by separate primary elementary stream parsers
based upon the packet identifier of the primary elementary stream. Video
packets can be parsed based upon stream identifier values. Specific
packets of data are stored in one or more system memory or video memory
buffers by an output controller based upon allocation table information.
Private data associated with specific elementary streams or packet
adaptation fields are repacketized, and written to an output buffer
location. In specific implementations, the hardware associated with the
system is used to acquire the data stream without any knowledge of the
specific protocol of the stream. In another embodiment, the hardware is
used to implement a splicing of streams of data.