Patent ID: 7933494

Claim:
A recording apparatus for recording, when an encoded stream is provided, the encoded stream on a predetermined recording medium, the encoding stream including a plurality of groups each including a plurality of encoded unit data obtained by an encoding process performed for a plurality of unit data which form a stream, said recording apparatus comprising: a detection section, incorporated in hardware, configured to detect the structure of each of the groups which form the encoded stream; and a recording control section, incorporated in hardware, configured to produce, when a different group having a structure different from a prescribed structure is detected by said detection section, specification information with which the position of the different group in the encoded stream can be specified and record the specification information as metadata of the encoded stream on the predetermined recording medium, wherein the stream includes a plurality of frames as the unit data; said encoded stream is a stream of GOPs as the groups obtained by an encoding process performed for the stream in accordance with the MPEG system; said detection section detects, as the prescribed structure of each of the GOPs, the number of frames as the encoded unit data included in the GOP; and said recording control section decides, if a GOP which includes a number of frames other than the prescribed number is detected by said detection section, the GOP as the different group and produces the specification information regarding the different group.