Patent ID: 7382971

Claim:
An image data recording apparatus comprising: coding means for encoding image data using a buffer memory; buffer occupation amount detection means for, upon coding by said coding means, detecting a code amount of the image data occupying the buffer memory, and outputting buffer information related to the detected code amount of the image data; storing means for storing the buffer information output by said buffer occupation amount detection means; code amount control means for controlling a coding rate of said coding means so that the code amount of the image data occupying the buffer memory does not exceed a predetermined range; recording means for recording the coded image data and the buffer information on a recording medium; and reproducing means for reproducing the encoded image data and the buffer information from the recording medium, wherein said code amount control means controls, in a first scene-sequence recording mode in which the recording by said recording means is temporarily stopped and then the recording to the same recording medium is restarted, the coding rate of the image data at restart of the recording based on the buffer information stored by said storing means at the time when the recording was temporarily stopped, and controls, in a second scene-sequence recording mode in which said recording medium is newly attached to the image data recording apparatus and the recording is started from a recording start position of said recording medium, the coding rate at start of the recording based on the buffer information recorded in the position immediately before the start position of the recording medium and obtained by said reproducing means.