Patent ID: 8355432

Claim:
An image-processing apparatus comprising: a read unit configured to read encoded video data from a recording medium; a decoding unit configured to decode the encoded video data; a record unit configured to record information indicating a number of times a playback operation is accepted for each of a plurality of time periods of decoded video data played back through the decoding unit; an encoding unit configured to re-encode the decoded video data transmitted from the decoding unit; and a bit-rate-determination unit configured to determine a target bit rate for each of the plurality of time periods when the re-encoding being performed by the encoding unit, according to the information indicating the number of times the playback operation is accepted for each of the plurality of the time periods wherein the bit-rate-determination unit increases the target bit rate for the time period which is played back many times based on the information so that the target bit rate becomes higher than a reference bit rate prepared in advance for the encoding unit.