Patent ID: 8515261

Claim:
A data recording apparatus for encoding video data and audio data to a system stream and recording the system stream to a recording medium, said apparatus comprising: a first encoding section that encodes video data and audio data in a predetermined encoding method to generate a video elementary stream and an audio elementary stream, based on a second type format (TS); a second encoding section that performs system-encoding so that the video elementary stream and the audio elementary stream are multiplexed to generate a system stream, based on the second type format (TS); wherein the second type encoding format (TS) is a constrained format that enables conversion of the system stream from the second type format (TS) to a first type format (PS), and a controller that controls the first and second encoding sections so as to encode with the constrained format, wherein, when the system stream in the second type format (TS) is converted to the system stream in the first type format (PS), it is unnecessary to re-encode the elementary streams, wherein, several types of encoding methods can be allowed for the first type format (PS) and the second type format (TS), and the controller controls the first encoding section so as to encode the elementary streams with an encoding method which is allowed for both the first and second type formats, wherein the second type stream (TS) stores data segmented into packets and has a packet structure in which time stamp information indicating a relative transfer timing is added to each packet, wherein the first type stream (PS) stores data segmented into packs and has a pack structure in which time stamp information indicating a relative transfer timing is added to each pack, the pack size is larger than the packet size, and wherein the controller controls the second encoding section so that a predetermined number of packets are grouped and managed as a unit for multiplexing, and a total payload data size of the packets managed as a unit does not exceed a data size of one pack.