Patent ID: 7782846

Claim:
An information processing apparatus comprising: an acquisition mechanism in which, when a different apparatus performs: encoding a predetermined stream so that, among types of a base stream and the first to n-th (n represents an integer value equal to one or greater) extension streams having extensibility for the base stream, at least one type of stream is included; adding different unique values as stream IDs (Identifications) to one or more streams actually obtained as the result of encoding, and packetizing said one or more streams having the added stream IDs into one or more PES (Packetized Elementary Stream) packets; packetizing each of said one or more PES packets into predetermined packets; generating stream-presence/absence information indicating whether each of packets of one or more types including the type of the base stream among the base stream and the first to n-th extension streams is present among said one or more packets; and outputting a stream formed by said one or more packets and the stream-presence/absence information, the acquisition mechanism acquires the stream and the stream-presence/absence information; a storage device which restores said one or more PES packets from the stream acquired by the acquisition mechanism; a decoder which decodes, among said one or more PES packets stored in the storage means, PES packets read from the storage device; and a controller which determines, based on the stream-presence/absence information acquired by the acquisition mechanism, whether or not, among the types of the base audio stream and the first to n-th extension streams, packets of types capable of being processed by the decoder are included in the stream acquired by the acquisition mechanism, and which performs control to prohibit reading of PES packets from the storage device when the controller determines that the packets of the types are not included, and performs control to read the PES packets having the added stream IDs, which correspond to types capable of being processed by the decoder, when the controller determines that the packets of the types are included, wherein: information representing an encoding type at the time the predetermined stream is encoded is output from the different apparatus; the acquisition mechanism further acquires the information; and the controller further performs recognizing the encoding type of the stream acquired by the acquisition mechanism on the basis of the information acquired by the acquisition mechanism, and determining whether or not the packets of the types capable of being processed by the decoder can be included in the stream, and, when the c controller determines that the packets of the types can be included, the controller performs determination of whether or not the packets of the types capable of being processed by the decoder are included in the TS, and, when the controller determines that the packets of the types cannot be included, the controller prohibits the determination.