Patent ID: 7907633

Claim:
A data multiplexing apparatus comprising: an input unit to input an elementary stream representing at least one data of video data, audio data and metadata, a packetized elementary stream (PES) payload generator to generate a plurality of PES payloads by dividing the elementary stream; a PES packet generator to generate a plurality of PES packets corresponding to the plurality of PES payloads, respectively, by adding, to each of the plurality of PES payloads, a PES header including either (A) a basic stream ID that is a value of a given range which is expressible in 8 bits or (B) a set of an extension ID that is a value that is expressible in 8 bits outside the given range and an extension stream ID that is a value that is expressible in 7 bits, to identify data contained in the PES payload; a basic buffer size information generator to generate buffer size information for a basic stream ID of 24 bits comprising a first field of 8 bits indicating the basic stream ID, a second field of 2 bits following the first field, a third field of 1 bit following the second field and indicating buffer bound scale information necessary for reproduction of the elementary stream identified by the basic stream ID, and a field of 13 bits following the third field and indicating buffer size bound information necessary for reproduction of the elementary stream; an extension buffer size information generator to generate buffer size information for an extension stream ID of 48 bits including (C) information of 24 bits comprising a first field of 8 bits indicating a first identification ID that is a value expressible in 8 bits outside the given range and different from the extension ID, a second field of 9 bits following the first field and a third field of 7 bits following the second field and indicating the extension stream ID and (D) information of 24 bits comprising a first field of 8 bits indicating a second identification ID that is a value different from the first identification ID and the extension ID and is expressible in 8 bits outside the given range, a second field of 2 bits following the first field, a third field of 1 bit following the second field and indicating buffer bound scale information necessary for reproduction of the elementary stream identified by a set of the extension ID and the extension stream ID, and a fourth field of 13 bits following the third field and indicating buffer size bound information necessary for reproduction of the elementary stream; a pack generator to generate a pack by adding a pack header including a system header including the basic buffer size information for reproducing an elementary stream corresponding to each of the PES packets and the extension buffer size information to a PES packet sequence of the plurality of PES packets; and an output unit to output a program stream containing the pack.