Patent ID: 7937550

Claim:
A data recording device for recording a plurality of recording object data on a recording medium having a storage area of a predetermined capacity, comprising: an estimated volume calculation portion for calculating an estimated value of the total volume of the plurality of recording object data, which results when the plurality of recording object data is recorded on the recording medium; a recompression candidate selection portion for selecting, when the estimated value calculated is in excess of the predetermined capacity, at least one of the plurality of recording object data as a recompression candidate; and a recompression portion for changing the compression method for the recording object data selected as the recompression candidate and for compressing the recording object data selected, using a method with higher compression efficiency, wherein the recompression candidate selection portion lists more than one available combination in selection of a recompression candidate from the plurality of recording object data, calculates an estimated value of the total volume after recompression for each of the combinations, and calculates, for at least a part of the combinations resulting in the estimated value of the total volume after recompression being smaller than the predetermined capacity, a score associated with at least one of a number of recording object data selected as recompression candidates and the amount of variation in the compression efficiency, and selects a recompression candidate based on the score.