Patent ID: 8913200

Claim:
An encoding apparatus for inputting a first image signal and a second image signal from an input source different from an input source of the first image signal and encoding each of the image signals, comprising: a first encoding unit configured to encode the input first image signal; a second encoding unit configured to encode the input second image signal on the basis of the first image signal; a multiplexing unit configured to multiplex on a memory, a first encoded stream which is output by the first encoding unit and a second encoded stream which is output by the second encoding unit; a first distortion ratio calculation unit configured to calculate a first distortion ratio as a distortion ratio of encoding by the first encoding unit from the input first image signal and the first encoded stream; and a second distortion ratio calculation unit configured to calculate a second distortion ratio as a distortion ratio of encoding by the second encoding unit from the input second image signal and the second encoded stream; and a bit rate setting unit configured to set a first bit rate and a second bit rate which are respectively assigned to the first encoding unit and the second encoding unit, wherein the bit rate setting unit adaptively decides setting values of the first bit rate and the second bit rate on the basis of the first distortion ratio and the second distortion ratio.