Patent ID: 8290335

Claim:
An apparatus for recording transport stream, the apparatus comprising: a packet identifier (PID)-generating module which generates a PID for a packetized elementary stream (PES) packet; a management module which transmits the PES packet to be stored in a recording medium depending on whether there has been a change in the PID; a controller module which determines whether to record a first reference frame or a second reference frame of a video frame of the PES packet based on at least one of a user setting, a change in a reference-frame setting, and a change in a decoding-event setting; a packet-recording module which resets an initial recording location in the recording medium based on a result of the determination by the controller module; and a memory in which at least one of a first table, a second table, and a third table are stored, wherein the first table comprises a record with the PID and recording-location information of the recording medium, according to the change in the PID, the second table comprises recording-location information corresponding to a PID for the second reference frame, the recording-location information having been extracted from the first table, and the third table comprises the first reference frame, recording information, and a PID for the first reference frame.