摘要 |
The invention provides a method of spatial scalable compression of video stream. The video stream is a stream having a resolution higher than a specified resolution. Firstly, the video stream is down-sampled and encoded to obtain a base stream; then the base stream is decoded and up-sampled to obtain a reconstructed stream; the reconstructed stream is subtracted from the video stream to obtain a residual stream; and next, a gain value is obtained according to an expected bitrate; in the end, the gain value is multiplied by the residual stream, the result obtained thereby is encoded to obtain an enhancement stream. The invention can not only determine the gain value according to the video stream itself, but also adjust the gain value dynamically according to external application environments, thus enabling the bitrate of the enhancement stream to meet the actual demand always.
|