1. A method of encoding a video by using dynamic range transformation based on content, the method comprising: performing inter prediction, through motion estimation, and intra prediction for a current region using image data in which a dynamic range of the current region is transformed based on content of an image of input video; performing transformation on residual data generated by the performing the intra prediction and the inter prediction, and performing quantization on a transformation coefficient generated by the performing the transformation; and performing entropy encoding on the quantized transformation coefficient and outputting a bitstream comprising the encoded data for the current region.