CA2557312A1 - Video encoding and decoding methods and systems for video streaming service - Google Patents
Video encoding and decoding methods and systems for video streaming service Download PDFInfo
- Publication number
- CA2557312A1 CA2557312A1 CA002557312A CA2557312A CA2557312A1 CA 2557312 A1 CA2557312 A1 CA 2557312A1 CA 002557312 A CA002557312 A CA 002557312A CA 2557312 A CA2557312 A CA 2557312A CA 2557312 A1 CA2557312 A1 CA 2557312A1
- Authority
- CA
- Canada
- Prior art keywords
- resolution
- frames
- scalable video
- encoding
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 239000010410 layer Substances 0.000 description 185
- 238000013139 quantization Methods 0.000 description 18
- 230000002123 temporal effect Effects 0.000 description 17
- 230000005540 biological transmission Effects 0.000 description 10
- 239000011229 interlayer Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000006854 communication Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/59—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/187—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scalable video layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/30—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
- H04N19/33—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability in the spatial domain
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/63—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Video encoding and decoding methods and systems for video streaming are provided. The video encoding method includes encoding first resolution frames using scalable video coding, upsampling the first resolution frames to a second resolution, and encoding second resolution frames using scalable video coding with reference to upsampled versions of the first resolution frames.
Description
Description VIDEO ENCODING AND DECODING METHODS AND
SYSTEMS FOR VIDEO STREAMING SERVICE
Technical Field [1] The present invention relates to a video encoding method and system for video streaming services and a video decoding method and system for reconstructing the original video.
Background Art [2] With the development of information communication technology including the Internet, a variety of communication services have been newly proposed. One such communication service is a Video On Demand (VOD) service. VOD refers to a service in which a video content such as movies or news is provided to an end user over a telephone line, cable or Internet upon the user's request. Users are allowed to view a movie without having to leave their residence. Also, users are allowed to access various types of educational content via moving image lectures without having to physically go to a school or private educational institute.
SYSTEMS FOR VIDEO STREAMING SERVICE
Technical Field [1] The present invention relates to a video encoding method and system for video streaming services and a video decoding method and system for reconstructing the original video.
Background Art [2] With the development of information communication technology including the Internet, a variety of communication services have been newly proposed. One such communication service is a Video On Demand (VOD) service. VOD refers to a service in which a video content such as movies or news is provided to an end user over a telephone line, cable or Internet upon the user's request. Users are allowed to view a movie without having to leave their residence. Also, users are allowed to access various types of educational content via moving image lectures without having to physically go to a school or private educational institute.
[3] Video streaming services, such as VOD, need to be provided with various resolutions, frame rates, or image qualities according to a network condition or the performance of a decoder. FIGS. 1 - 3 respectively show conventional simulcast, multi-layer coding, scalable video coding schemes for video streaming at different resolutions, frame rates, or image qualities.
[4] In the simulcast coding scheme, a separate bitstream is generated for each resolution, frame rate, or image quality. For example, three separate bitstreams are required in order to provide bitstreaming services at three resolutions.
Referring to FIG. 1, a video with 704x576 resolution (first resolution) and 60 Hz frame rate, a video with a 352x288 resolution (second resolution) and 30 Hz frame rate, and a video with 176x 144 resolution (third resolution) and 15 Hz frame rate are independently encoded into three bitstreams. The first through third resolution bitstreams are respectively used for streaming services over networks capable of providing bandwidths of 6 Mbps, 750 Kbps, and 64 Kbps. A strong correlation exists between videos with different resolutions. The multi-layer coding scheme shown in FIG. 2 is one approach using a strong correlation between multi-layered video sequences.
Referring to FIG. 1, a video with 704x576 resolution (first resolution) and 60 Hz frame rate, a video with a 352x288 resolution (second resolution) and 30 Hz frame rate, and a video with 176x 144 resolution (third resolution) and 15 Hz frame rate are independently encoded into three bitstreams. The first through third resolution bitstreams are respectively used for streaming services over networks capable of providing bandwidths of 6 Mbps, 750 Kbps, and 64 Kbps. A strong correlation exists between videos with different resolutions. The multi-layer coding scheme shown in FIG. 2 is one approach using a strong correlation between multi-layered video sequences.
[5] In contrast to the simulcast coding scheme shown in FIG. 1, the multi-layer coding scheme adopted by MPEG-2 for scalable video coding encodes a higher resolution en-hancement layer video by referencing the lowest resolution base layer video.
That is, referring to FIG. 2, a first enhancement layer video with a 352x288 resolution is encoded with reference to an encoded base layer video with a 176x155 resolution, and a second enhancement layer video with a 705x576 resolution is encoded with reference to the first enhancement layer video.
That is, referring to FIG. 2, a first enhancement layer video with a 352x288 resolution is encoded with reference to an encoded base layer video with a 176x155 resolution, and a second enhancement layer video with a 705x576 resolution is encoded with reference to the first enhancement layer video.
[6] Upon receipt of a user's request for the 705x576 resolution video, a streaming service provider transmits the video encoded in the second enhancement layer as well as the videos encoded in the first enhancement layer and the base layer to the user. The user that receives them first reconstructs the base layer video and then sequentially re-constructs the first enhancement layer video and the 705x576 resolution second en-hancement layer video by referencing the reconstructed base layer video and the re-constructed first enhancement layer video, respectively.
[7] Similarly, upon receipt of a user's request for the 352x288 resolution video, the streaming service provider transmits the videos encoded in the first enhancement layer and the base layer to the user. The user that receives them first reconstructs the base layer video and then reconstructs the first enhancement layer video with the 352x288 resolution by referencing the reconstructed base layer video. Upon receipt of a user's request for the 176x155 resolution video, the streaming service provider transmits the video encoded in the base layer to the user. The user then reconstructs the base layer video.
[8] An example of a simulcast or multi-layer coding scheme has been disclosed in In-ternational Application No. PCT/US2000/09584. The application proposes a method for improving video coding efficiency by selectively using a simulcast or multi-layer coding scheme for scalable video coding. However, since this approach uses Discrete Cosine Transform (DCT)-based MPEG-4 as a basic coding algorithm, it does not offer sufficient scalability. That is, to provide video streaming services with n resolutions, this approach requires encoding of n video sequences or a video consisting of n layers.
Conversely, a wavelet transform-based scalable video coding scheme enables video coding at different resolutions, frame rates, and image qualities using a single bitstream.
Conversely, a wavelet transform-based scalable video coding scheme enables video coding at different resolutions, frame rates, and image qualities using a single bitstream.
[9] MPEG-4 intends to standardize scalable video coding that involves creating videos at various resolutions, frame rates, and image qualities from a single encoded bitstream. As shown in FIG. 3, the scalable video coding scheme generates videos with various resolutions and frame rates from a single bitstream.
[10] Spatial scalability that is the ability to generate videos with different resolutions from a scalable bitstream can be achieved with wavelet transform. Temporal scalability that is the ability to generate videos at different frame rates from a scalable bitstream can be provided by Motion Compensated Temporal Filtering (MCTF), Unconstrained MCTF (UMCTF), or Successive Temporal Approximation and Referencing (STAR).
Signal-to-noise ratio (SNR) scalability can be achieved by embedded quantization.
Disclosure of Invention Technical Problem [11] Using a scalable video coding algorithm allows a video streaming service of a single bitstream obtained from a single video sequence at various resolutions and frames rates. However, such scalable video coding algorithms do not offer high quality bitstreams at all resolutions. In other words, conventional coding algorithms cannot provide for high quality bitstreams at all resolutions. For example, the highest resolution video can be reconstructed with high quality, but a low-resolution video cannot be reconstructed with satisfactory quality. More bits can be allocated for video coding of the low-resolution video to improve its quality. However, this will degrade the coding efficiency.
Signal-to-noise ratio (SNR) scalability can be achieved by embedded quantization.
Disclosure of Invention Technical Problem [11] Using a scalable video coding algorithm allows a video streaming service of a single bitstream obtained from a single video sequence at various resolutions and frames rates. However, such scalable video coding algorithms do not offer high quality bitstreams at all resolutions. In other words, conventional coding algorithms cannot provide for high quality bitstreams at all resolutions. For example, the highest resolution video can be reconstructed with high quality, but a low-resolution video cannot be reconstructed with satisfactory quality. More bits can be allocated for video coding of the low-resolution video to improve its quality. However, this will degrade the coding efficiency.
[12] There is an urgent need for a video coding scheme for video streaming service designed to provide satisfactory image quality and high video coding efficiency by achieving a good trade-off between the coding efficiency and reconstructed image quality.
Technical Solution [13] The present invention provides a video encoding method and system capable of providing video streaming services with various image qualities and high coding efficiency.
Technical Solution [13] The present invention provides a video encoding method and system capable of providing video streaming services with various image qualities and high coding efficiency.
[14] The present invention also provides a video decoding method and system for decoding video encoded by the video encoding method and system to reconstruct an original video sequence.
[15] According to an aspect of the present invention, there is provided a video encoding method comprising encoding first resolution frames using scalable video coding, upsampling the first resolution frames to a second resolution, and encoding second resolution frames using scalable video coding with reference to upsampled versions of the first resolution frames.
[16] According to another aspect of the present invention, there is provided a video encoding method including encoding first resolution frames using non-scalable video coding, upsampling the first resolution frames to a second resolution, and encoding second resolution frames using scalable video coding with reference to upsampled versions of the first resolution frames.
[17] According to still another aspect of the present invention, there is provided a video encoding method including encoding first resolution frames using scalable video coding, upsampling the first resolution frames to a second resolution, upsampling the first resolution frames to a third resolution, encoding second resolution frames using scalable video coding with reference to frames upsampled to the second resolution, and encoding third resolution frames using scalable video coding with reference to frames upsampled to the third resolution.
[18] According to yet another aspect of the present invention, there is provided a video encoding method including encoding first resolution frames using scalable video coding, upsampling the first resolution frames to a second resolution, encoding second resolution frames using scalable video coding with reference to frames upsampled to the second resolution, encoding frames with a third resolution higher than the second resolution using scalable video coding, upsampling the third resolution frames to a fourth resolution, and encoding fourth resolution frames using scalable video coding with reference to frames upsampled to the fourth resolution.
[19] According to a further aspect of the present invention, there is provided a video encoding method including encoding frames with a first resolution using scalable video coding, encoding frames with a second resolution higher than the first resolution using scalable video coding, independently of the first resolution frames, and encoding frames with a third resolution higher than the second resolution using scalable video coding, independently of the second resolution frames.
[20] According to another aspect of the present invention, there is provided a video encoding method including encoding frames with a first resolution using non-scalable video coding, encoding frames with a second resolution higher than the first resolution using scalable video coding, independently of the first resolution frames, and encoding frames with a third resolution higher than the second resolution using scalable video coding, independently of the second resolution frames.
[21] According to another aspect of the present invention, there is provided a video encoding method including encoding first resolution frames using scalable video coding, upsampling the first resolution frames to a second resolution, encoding frames with a third resolution higher than the second resolution using scalable video coding, downsampling the third resolution frames to the second resolution, and encoding second resolution frames using scalable video coding with reference to upsampled versions of the first resolution frames and downsampled versions of the third resolution frames.
[22] According to another aspect of the present invention, there is provided a video encoding method including encoding second resolution frames using scalable video coding, downsampling the second resolution frames to a first resolution, and encoding first resolution frames using scalable video coding with reference to downsampled versions of the second resolution frames.
[23] According to another aspect of the present invention, there is provided a video encoding method including encoding second resolution frames using scalable video coding, downsampling the second resolution frames to a first resolution, and encoding first resolution frames using non-scalable video coding with reference to downsampled versions of the second resolution frames.
[24] According to another aspect of the present invention, there is provided a video encoding method including encoding third resolution frames using scalable video coding, downsampling the third resolution frames to a second resolution, encoding second resolution frames using scalable video coding with reference to frames downsampled to the second resolution, downsampling the third resolution frames to a first resolution lower than the second resolution, and encoding first resolution frames using scalable video coding with reference to frames downsampled to the first resolution.
[25] According to another aspect of the present invention, there is provided a video encoder system including a first scalable video encoder encoding first resolution frames using non-scalable video coding, a second scalable video encoder converting the first resolution frames into a second resolution and encoding second resolution frames using scalable video coding with reference to the converted frames, and a bitstream generating module generating a bitstream consisting of the first resolution encoded frames and the second resolution encoded frames.
[26] According to another aspect of the present invention, there is provided a video encoder system including a first scalable video encoder encoding frames with a first resolution using scalable video coding, a second scalable video encoder encoding frames with a second resolution lower than the first resolution using scalable video coding, and a bitstream generating module generating a bitstream consisting of the first resolution encoded frames and the second resolution encoded interframes.
[27] According to another aspect of the present invention, there is provided a video encoder system including a scalable video encoder encoding frames with a first resolution using scalable video coding, a non-scalable video encoder encoding frames with a second resolution lower than the first resolution using non-scalable video coding, and a bitstream generating module generating a bitstream consisting of the first resolution encoded frames and the second resolution encoded interframes.
[28] According to another aspect of the present invention, there is provided a video decoding method including decoding the first resolution frames encoded using scalable video coding to reconstruct original frames, upsampling the reconstructed first resolution frames to a second resolution, and decoding second resolution frames encoded using scalable video coding with reference to upsampled versions of the re-constructed first resolution frames in order to reconstruct original frames.
[29] According to another aspect of the present invention, there is provided a video decoding method comprising decoding the first resolution frames encoded using non-scalable video coding to reconstruct original frames, upsampling the reconstructed first resolution frames to a second resolution, and decoding second resolution frames encoded using scalable video coding with reference to upsampled versions of the re-constructed first resolution frames in order to reconstruct original frames.
[30] According to another aspect of the present invention, there is provided a video decoding method including decoding the first resolution frames encoded using scalable video coding to reconstruct original frames, downsampling some of the reconstructed first resolution frames to a second resolution and generating intraframes with the second resolution, and decoding second resolution interframes encoded using scalable video coding with reference to the generated intraframes.
[31] According to another aspect of the present invention, there is provided a video decoding method including decoding the first resolution frames encoded using scalable video coding to reconstruct original frames, downsampling some of the reconstructed first resolution frames to a second resolution and generating intraframes with the second resolution, and decoding second resolution interframes encoded using non-scalable video coding with reference to the generated intraframes.
[32] According to another aspect of the present invention, there is provided a video decoder system including a first scalable video decoder decoding first resolution frames encoded using scalable video coding in order to reconstruct original frames, and a second scalable video decoder converting the reconstructed first resolution frames to a second resolution and decoding second resolution frames encoded using scalable video coding with reference to the converted frames in order to reconstruct original frames.
[33] According to another aspect of the present invention, there is provided a video decoder system including a non-scalable video decoder decoding first resolution frames encoded using non-scalable video coding in order to reconstruct original frames, and a scalable video decoder converting the reconstructed first resolution frames to a second resolution and decoding second resolution frames encoded using scalable video coding with reference to the converted frames in order to reconstruct original frames.
Description of Drawings [34] The above and other aspects of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
Description of Drawings [34] The above and other aspects of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
[35] FIGS. 1 - 3 show conventional coding schemes for providing video streaming at different resolutions;
[36] FIG. 4 illustrates a referencing relationship in encoding frames in an enhancement layer using a multi-layer coding scheme;
[37] FIGS. 5 and 6 illustrate coding schemes for video streaming according to first and second exemplary embodiments of the present invention;
[38] FIGS. 7 - 10 illustrate coding schemes for video streaming according to third through sixth exemplary embodiments of the present invention;
[39] FIGS. 11 - 14 illustrate coding schemes for video streaming according to seventh through tenth exemplary embodiments of the present invention;
[40] FIG. 15 illustrates a referencing relationship in interframe coding according to an exemplary embodiment of the present invention;
[41] FIG. 16 illustrates a referencing relationship in interframe coding according to another exemplary embodiment of the present invention;
[42] FIG. 17 illustrates a referencing relationship in interframe coding according to another exemplary embodiment of the present invention;
[43] FIG. 18 illustrates a referencing relationship in interframe coding according to another exemplary embodiment of the present invention;
[44] FIG. 19 illustrates sharing of an intraframe according to an exemplary embodiment of the present invention;
[45] FIG. 20 illustrates sharing of an intraframe according to another exemplary embodiment of the present invention;
[46] FIG. 21 is a block diagram of a video encoder system according to an exemplary embodiment of the present invention;
[47] FIG. 22 is a block diagram of a video decoder system according to an exemplary embodiment of the present invention; and [48] FIG. 23 is a diagram for explaining a process of generating a smooth intraframe in a smooth enhancement layer in intraframe sharing and decoding a shared intraframe.
Mode for Invention [49] The present invention will now be described more fully with reference to the ac-companying drawings, in which preferred embodiments of the invention are shown.
Mode for Invention [49] The present invention will now be described more fully with reference to the ac-companying drawings, in which preferred embodiments of the invention are shown.
[50] FIG. 4 illustrates a referencing relationship in encoding frames in an enhancement layer using a multi-layer coding scheme.
[51] Referring to FIG. 4, a current frame (frame N) in the enhancement layer can be inter-coded using a previous frame (frame N-1) as a reference (backward prediction) or using a next frame (frame N+1) as a reference (forward prediction). When an average of one block in the previous frame and one block in the next frame is used as a reference, the prediction is called bi-directional prediction. In the multi-layer coding scheme, frames in the enhancement layer are encoded with reference to corresponding frames in the base layer, which is called inter-layer prediction.
[52] The inter-layer prediction uses a current frame in a base layer to encode a current frame in an enhancement layer. A reference frame is created by upsampling or downsampling the current frame in the base layer to the resolution of the enhancement layer. For example, when the resolution of the base layer is lower than that of the en-hancement layer as shown in FIG. 4, the current frame in the base layer is upsampled to the resolution of the enhancement layer and then the current frame in the en-hancement layer is inter-coded with reference to an upsampled version of the frame in the base layer. When the resolution of the base layer is higher than that of the en-hancement layer, the current frame in the base layer is downsampled to the resolution of the enhancement layer and the current frame in the enhancement layer is inter-coded with reference to a downsampled version of the frame in the base layer.
[53] While all blocks in the enhancement layer frame are inter-coded based on one of the forward, backward, bi-directional, or inter-layer prediction modes, different prediction can be used for coding of each block. Weighted bi-directional prediction and intrablock prediction can also be used as a prediction mode. A prediction mode can be selected based on a cost containing the amount of coded data and the amount of motion vector data used for prediction, computational complexity, and other factors.
[54] A frame in an enhancement layer may be encoded based on inter-layer prediction from another enhancement layer instead of a base layer. For example, a frame in a first enhancement layer may be encoded using a frame in a base layer as a reference, and a frame in a second enhancement layer may be encoded using the frame in the first en-hancement layer as a reference. Furthermore, all or a part of frames in the first or second enhancement layer may be encoded based on inter-layer prediction using frames in another layer (the base layer or the first enhancement layer) as a reference. In particular, when the frame rate of a layer being referenced is lower than that of an en-hancement layer currently being coded, some frames in the enhancement layer may be encoded based on prediction other than the inter-layer prediction.
[55] Exemplary embodiments of the present invention use simulcast coding or multi-layer coding scheme to provide video streaming services at various resolutions and frame rates. The present invention also uses a scalable video coding scheme in all or part of layers to allow video streaming services at a larger number of resolutions and frame rates.
[56] FIGS. 5 - 14 illustrate coding schemes for video streaming according to first through tenth exemplary embodiments of the present invention. While a video is described to have three or four layers, the video may consist of two layers or five or more layers. Lower and upper layers in the first through tenth exemplary embodiments respectively denote lower- and higher-resolution layers. In FIGS. 5 - 14 , inter-layer referencing is indicated by a dotted arrow, and videos with different resolutions, frame rates, or transmission rates that can be obtained from an encoded video in a certain layer are indicated by solid arrows.
[57] FIG. 5 shows an example of a multi-layer coding scheme for video streaming according to a first exemplary embodiment of the present invention where video data is encoded into three layers, i.e., a base layer and first and second enhancement layers.
[58] Referring to FIG. 5, videos in all the layers are encoded using scalable video coding. That is, a video in the base layer is encoded using scalable video coding. A
video in the first enhancement layer is encoded with reference to frames in the encoded base layer video using scalable video coding, and a video in the second enhancement layer is encoded with reference to frames in the encoded first enhancement layer video using scalable video coding.
video in the first enhancement layer is encoded with reference to frames in the encoded base layer video using scalable video coding, and a video in the second enhancement layer is encoded with reference to frames in the encoded first enhancement layer video using scalable video coding.
[59] Upon receiving a user's request for a 705x576 resolution video, a streaming service provider transmits the video encoded in the second enhancement layer as well as the videos encoded in the first enhancement layer and the base layer to the user.
When a requested frame rate is 60 Hz, all frames encoded in the base layer and the first and second enhancement layers are transmitted to the user. On the other hand, when the requested frame rate is 30 or 15 Hz, the streaming service provider truncates un-necessary part of the coded frames before transmission. The user uses the coded frames to reconstruct the video in the base layer first. Then, the user sequentially reconstructs the video in the first enhancement layer and the 705x576 resolution video in the second enhancement layer by referencing the reconstructed video in the base layer and the reconstructed video in the first enhancement layer, respectively.
When a requested frame rate is 60 Hz, all frames encoded in the base layer and the first and second enhancement layers are transmitted to the user. On the other hand, when the requested frame rate is 30 or 15 Hz, the streaming service provider truncates un-necessary part of the coded frames before transmission. The user uses the coded frames to reconstruct the video in the base layer first. Then, the user sequentially reconstructs the video in the first enhancement layer and the 705x576 resolution video in the second enhancement layer by referencing the reconstructed video in the base layer and the reconstructed video in the first enhancement layer, respectively.
[60] Upon receiving a user's request for a 352x288 resolution video, the streaming service provider transmits the videos encoded in the base layer and the first en-hancement layer to the user. When a requested frame rate is 30 Hz, all frames encoded in the base layer and the first enhancement layer are transmitted to the user.
On the other hand, when the requested frame rate is 15 Hz, the streaming service provider truncates unnecessary part of the coded frames before transmission. The user that receives the coded frames reconstructs the video in the base layer and then the 352x288 resolution video in the first enhancement layer by referencing the re-constructed video in the base layer.
On the other hand, when the requested frame rate is 15 Hz, the streaming service provider truncates unnecessary part of the coded frames before transmission. The user that receives the coded frames reconstructs the video in the base layer and then the 352x288 resolution video in the first enhancement layer by referencing the re-constructed video in the base layer.
[61] Upon receipt of a user's request for a 176x155 resolution video, the streaming service provider transmits the video encoded in the base layer to the user.
When the user selects bitstream transmission at a bit rate of 128 Kbps, all coded frames are transmitted to the user. However, when the user selects transmission at 64 Kbps, the streaming service provider truncates some bits of the coded frames before transmission. The user that receives the coded frames reconstructs the video in the base layer.
When the user selects bitstream transmission at a bit rate of 128 Kbps, all coded frames are transmitted to the user. However, when the user selects transmission at 64 Kbps, the streaming service provider truncates some bits of the coded frames before transmission. The user that receives the coded frames reconstructs the video in the base layer.
[62] FIG. 6 shows an example of a multi-layer coding scheme for video streaming according to a second exemplary embodiment of the present invention, in which one layer is encoded using non-scalable video coding. While an H.264 or MPEG-4 video coding standard can support limited spatial scalability by using the coding schemes shown in FIGS. 1 - 3 or limited temporal scalability as disclosed in International Ap-plication No. PCT/US2000/09584, it does not offer sufficient spatial, temporal, and signal-to-noise ratio (SNR) scalabilities.
[63] Thus, the present invention uses a wavelet-based scalable coding scheme as a basic algorithm. While offering good spatial, temporal, and SNR scalabilities, currently known scalable video coding algorithms provide lower coding efficiency than H.264 or MPEG-4. In order to improve coding efficiency, some layers can be encoded using a non-scalable H.264 or MPEG-4 scheme as shown in FIG. 6.
[64] Referring to FIG. 6, the lowest resolution base layer is encoded using a non-scalable H.264 or MPEG-4 coding scheme since the lowest resolution video does not need to be scalable. That is, a video having a transmission rate of 64 Kbps (lowest bit rate) is encoded using the H.264 or MPEG-4 coding scheme with high coding efficiency.
[65] FIG. 7 shows an example of a multi-layer coding scheme for video streaming according to a third exemplary embodiment of the present invention, in which an en-hancement layer is encoded with reference to a layer lower than the immediately preceding layer. In the third exemplary embodiment, a second enhancement layer is encoded with reference to a base layer instead of a first enhancement layer.
The coding scheme according to the third exemplary embodiment provides lower coding efficiency than in the first exemplary embodiment because the second enhancement layer is encoded with reference to the base layer with a large resolution difference.
However, it offers higher image quality than in the first exemplary embodiment since a video in the second enhancement layer is reconstructed by directly referencing the base layer instead of the first enhancement layer during a decoding process.
The coding scheme according to the third exemplary embodiment provides lower coding efficiency than in the first exemplary embodiment because the second enhancement layer is encoded with reference to the base layer with a large resolution difference.
However, it offers higher image quality than in the first exemplary embodiment since a video in the second enhancement layer is reconstructed by directly referencing the base layer instead of the first enhancement layer during a decoding process.
[66] FIG. 8 shows an example of a multi-layer coding scheme for video streaming according to a fourth exemplary embodiment of the present invention, in which a video is encoded into a plurality of base layers and enhancement layers. Using many layers as in the first embodiment may degrade coding efficiency. Thus, in the fourth exemplary embodiment, a base layer that can be independently encoded without reference to any other layer is placed at a proper position determined according to the number of layers.
[67] FIG. 9 shows an example of a simulcast video coding scheme according to a fifth exemplary embodiment of the present invention that uses only scalable coding in encoding each resolution. Depending on the type of application, a simulcast coding scheme is more efficient than a multi-layer coding scheme. When the simulcast coding scheme is more efficient, scalable video coding is used in encoding all or some of resolutions. Alternatively, to improve the coding efficiency, only the lowest resolution video may be encoded using non-scalable H.264 or MPEG-4 coding as in a sixth exemplary embodiment of FIG. 10.
[68] FIG. 11 shows an example of a multi-layer coding scheme for video streaming according to a seventh exemplary embodiment of the present invention in which the lowest resolution layer is not a base layer. In the multi-layer coding scheme, video data is encoded into the first enhancement layer of the lowest resolution, and the second en-hancement layer of the highest resolution, by referencing intermediate resolution base layer. An upsampled version of a frame in the base layer is used as a reference in encoding a video in the second enhancement layer while a downsampled version of the frame in the base layer is used in encoding a video in the first enhancement layer.
[69] FIG. 12 shows an example of a multi-layer coding scheme for video streaming according to an eighth exemplary embodiment of the present invention, in which a base layer is encoded at the highest resolution. In the eighth embodiment, a video in a first enhancement layer is encoded with reference to a video in the base layer, and a video in a second enhancement layer is encoded with reference to the video in the first enhancement layer. The reference frames used in encoding the first enhancement layer video are downsampled versions of frames in the base layer. Alternatively, to increase the coding efficiency, some of multiple layers can be encoded using a non-scalable video coding scheme as in a ninth exemplary embodiment shown in FIG. 13.
[70] FIG. 14 shows an example of a multi-layer video coding scheme for video streaming according to a tenth exemplary embodiment of the present invention.
In contrast to the third exemplary embodiment shown in FIG. 7, the multi-layer coding scheme in the tenth exemplary embodiment encodes a video in a lower-resolution layer with reference to a video in a high-resolution layer.
In contrast to the third exemplary embodiment shown in FIG. 7, the multi-layer coding scheme in the tenth exemplary embodiment encodes a video in a lower-resolution layer with reference to a video in a high-resolution layer.
[71] FIG. 15 illustrates a referencing relationship in interframe coding according to an exemplary embodiment of the present invention. Referencing between each resolution layer is indicated by dotted arrows while referencing within the same resolution layer is indicated by solid arrows.
[72] Referring to FIG. 15, a low-resolution video 610 is encoded first. A
coding order in the low-resolution video 610 is determined to achieve temporal scalability.
That is, when the size of a group of pictures (GOP) is 4, frame 1 in the GOP is encoded as an intraframe (I frame) and frame 3 is encoded as an interframe (H frame). Then, the frames 1 and 3 are used as a reference to encode frame 2, and the frame 3 is used to encode frame 4. A decoding process is performed in the same order as the encoding process, i.e., according to the order of frames 1, 3, 2, and 4. After the frames 1, 3, 2, and 4 are sequentially decoded, the frames 1, 2, 3, and 4 are output in order.
coding order in the low-resolution video 610 is determined to achieve temporal scalability.
That is, when the size of a group of pictures (GOP) is 4, frame 1 in the GOP is encoded as an intraframe (I frame) and frame 3 is encoded as an interframe (H frame). Then, the frames 1 and 3 are used as a reference to encode frame 2, and the frame 3 is used to encode frame 4. A decoding process is performed in the same order as the encoding process, i.e., according to the order of frames 1, 3, 2, and 4. After the frames 1, 3, 2, and 4 are sequentially decoded, the frames 1, 2, 3, and 4 are output in order.
[73] A high-resolution video 620 is encoded with reference to the low-resolution video 610 in the same order as the low-resolution video 610, i.e., in the order of frames 1, 3, 2, and 4. To decode the high-resolution video 620, both encoded high- and low-resolution video frames are required. First, the frame 1 in the low-resolution video 610 is decoded, and the decoded frame 1 is used to decode frame 1 in the high-resolution video 620. Then, the frame 3 in the low-resolution video 610 is decoded, and the decoded frame 3 is used to decode frame 3 in the high-resolution video 620.
Similarly, the frame 2 in the low-resolution video 610 is decoded and used in decoding frame 2 in the high-resolution video 620. The frame 4 in the low-resolution video 610 is decoded and used in decoding frame 4 in the high-resolution video 620, followed by decoding of frames in the next GOP. By encoding and decoding frames in this way, temporal scalability can be achieved. When a GOP size is 8, encoding and decoding are performed according to the order of frames 1, 5, 3, 7, 2, 4, 6, and 8. If only frames 1 and 5 are encoded or decoded, a frame rate is one-quarter the full frame rate.
If only frames 1, 5, 3, and 7 are encoded or decoded, a frame rate is half the full frame rate.
Similarly, the frame 2 in the low-resolution video 610 is decoded and used in decoding frame 2 in the high-resolution video 620. The frame 4 in the low-resolution video 610 is decoded and used in decoding frame 4 in the high-resolution video 620, followed by decoding of frames in the next GOP. By encoding and decoding frames in this way, temporal scalability can be achieved. When a GOP size is 8, encoding and decoding are performed according to the order of frames 1, 5, 3, 7, 2, 4, 6, and 8. If only frames 1 and 5 are encoded or decoded, a frame rate is one-quarter the full frame rate.
If only frames 1, 5, 3, and 7 are encoded or decoded, a frame rate is half the full frame rate.
[74] FIG. 16 illustrates a referencing relationship in interframe coding according to an exemplary embodiment of the present invention.
[75] According to an exemplary embodiment shown in FIG. 15, the quality of the encoded low-resolution video is high since the frames 2 through 4 are encoded with reference to the I frame that can be encoded independently without reference to any other frame. On the other hand, the quality of the encoded high-resolution video is lower than that obtained when a simulcast coding scheme is used because the frames 2 through 4 are encoded with reference to the H frame that is encoded with reference to another frame. Thus, to address this problem, FIG. 16 shows an improved method for referencing between layers.
[76] Referring to FIG. 16, a high-resolution video 720 is encoded first. A
coding order in the high-resolution video 720 is determined to achieve temporal scalability. That is, when a GOP size is 4, frame 1 in the GOP is encoded as an intraframe (I frame) and frame 3 is encoded as an interframe (H frame). Then, the frames 1 and 3 are used as a reference to encode frame 2, and the frame 3 is used to encode frame 4. A
decoding process is performed in the same order as the encoding process, i.e., according to the order of frames 1, 3, 2, and 4. After the frames 1, 3, 2, and 4 are sequentially decoded, the frames 1, 2, 3, and 4 are output in order.
coding order in the high-resolution video 720 is determined to achieve temporal scalability. That is, when a GOP size is 4, frame 1 in the GOP is encoded as an intraframe (I frame) and frame 3 is encoded as an interframe (H frame). Then, the frames 1 and 3 are used as a reference to encode frame 2, and the frame 3 is used to encode frame 4. A
decoding process is performed in the same order as the encoding process, i.e., according to the order of frames 1, 3, 2, and 4. After the frames 1, 3, 2, and 4 are sequentially decoded, the frames 1, 2, 3, and 4 are output in order.
[77] A low-resolution video 710 is encoded with reference to the high-resolution video 720 in the same order as the high-resolution video 720, i.e., in the order of frames 1, 3, 2, and 4. To decode the low-resolution video 710, both encoded high- and low-resolution video frames are required. First, the frame 1 in the high-resolution video 720 is decoded, and the decoded frame 1 is used to decode frame 1 in the low-resolution video 710. Then, the frame 3 in the high-resolution video 720 is decoded, and the decoded frame 3 is used to decode frame 3 in the low-resolution video 710. In the same manner, the frame 2 in the high-resolution video 720 is decoded and used in decoding frame 2 in the low-resolution video 710. The frame 4 in the high-resolution video 720 is decoded and used in decoding frame 4 in the low-resolution video 710.
[78] FIGS. 17 and 18 respectively illustrate referencing relationships in interframe coding according to other exemplary embodiments of the present invention when resolution layers have varying frame rates.
[79] Referring to FIG. 17, a low-resolution video 810 is encoded first. A
coding order in the low-resolution video 710 is determined to achieve temporal scalability.
That is, when a GOP size is 4, frame 1 in the GOP is encoded as an intraframe (I frame) and frame 5 is encoded as an interframe (H frame). Then, the frames 1 and 5 are used to encode frame 3. In this way, frames 1, 5, 3, and 7 in the GOP are encoded in order. A
decoding process is performed in the same order as the encoding process. On the other hand, a high-resolution video 820 is encoded with reference to the low-resolution video 810 in the same order as the low-resolution video 810, i.e., according to the order of frames 1, 5, 3, and 7. Then, frames 2, 4, 6, and 8 not contained in the low-resolution video 810 are encoded.
coding order in the low-resolution video 710 is determined to achieve temporal scalability.
That is, when a GOP size is 4, frame 1 in the GOP is encoded as an intraframe (I frame) and frame 5 is encoded as an interframe (H frame). Then, the frames 1 and 5 are used to encode frame 3. In this way, frames 1, 5, 3, and 7 in the GOP are encoded in order. A
decoding process is performed in the same order as the encoding process. On the other hand, a high-resolution video 820 is encoded with reference to the low-resolution video 810 in the same order as the low-resolution video 810, i.e., according to the order of frames 1, 5, 3, and 7. Then, frames 2, 4, 6, and 8 not contained in the low-resolution video 810 are encoded.
[80] Referring to FIG. 18, a high-resolution video 920 is encoded first. A
coding order in the high-resolution video 920 is determined to achieve temporal scalability. That is, when a GOP size is 8, all frames 1, 5, 3, 7, 2, 4, 6, and 8 in a GOP are sequentially encoded. A decoding process is performed in the same order as the encoding process.
A low-resolution video 910 is encoded with reference to the high-resolution video 920 in the same order as the high-resolution video 920, i.e., in the order of frames 1, 5, 3, and 7.
coding order in the high-resolution video 920 is determined to achieve temporal scalability. That is, when a GOP size is 8, all frames 1, 5, 3, 7, 2, 4, 6, and 8 in a GOP are sequentially encoded. A decoding process is performed in the same order as the encoding process.
A low-resolution video 910 is encoded with reference to the high-resolution video 920 in the same order as the high-resolution video 920, i.e., in the order of frames 1, 5, 3, and 7.
[81] While FIGS. 15 - 18 illustrate referencing relationships between two resolution layers according to the exemplary embodiments of the present invention, the illustrated embodiments can apply to a multi-layer video coding scheme as well, which encodes video data into three or more layers. In the case of video streaming services using a multi-layer video coding scheme in which a low-resolution frame is encoded with reference to a high-resolution frame, coding efficiency is reduced when a low-resolution bitstream is transmitted since the low-resolution bitstream contains low-resolution coded video data as well as high-resolution coded data. Simulcast video coding is more efficient for transmission of a low-resolution bitstream than multi-layer video coding.
[82] FIGS. 19 and 20 respectively illustrate sharing of an intraframe to improve coding efficiency in a simulcast video coding scheme to improve coding efficiency according to exemplary embodiments of the present invention.
[83] Referring to FIG. 19, videos 1010 and 1020 with different resolutions are encoded independently using a simulcast coding scheme. The high-resolution video 1020 is encoded according to the order of frames 1, 3, 2, and 4 in order to achieve temporal scalability. The low-resolution video 1010 is also encoded according to an order that achieves temporal scalability. The encoded high- and low-resolution videos re-spectively include one intraframe (I frame) and one or more interframes (H
frames) per GOP. In general, an I frame is allocated more bits than an H frame. Since the low-resolution video 1010 is quite similar to the high-resolution videos 1020 except for resolution, all frames in the low- and high-resolution videos 1010 and 1020 excluding low-resolution I frames 1012 and 1014 are encoded into a bitstream in the present exemplary embodiment. That is, the finally generated bitstream consists of all high-resolution encoded frames and low-resolution encoded interframes.
frames) per GOP. In general, an I frame is allocated more bits than an H frame. Since the low-resolution video 1010 is quite similar to the high-resolution videos 1020 except for resolution, all frames in the low- and high-resolution videos 1010 and 1020 excluding low-resolution I frames 1012 and 1014 are encoded into a bitstream in the present exemplary embodiment. That is, the finally generated bitstream consists of all high-resolution encoded frames and low-resolution encoded interframes.
[84] When a decoder requests for transmission of the high-resolution video 1020, the low-resolution encoded interframes in the bitstream are truncated and the remaining part is transmitted to the decoder. When the decoder requests for transmission of the low-resolution video 1010, the high-resolution encoded interframes are removed and unnecessary bits of high-resolution intraframes 1022 and 1024 shared with the low-resolution video 1010 are truncated to create the low-resolution intraframes 1012 and 1014, respectively. Then, a bitstream containing the low-resolution encoded in-terframes and the low-resolution intraframes 1012 and 1014 is transmitted to the decoder.
[85] FIG. 20 illustrates sharing of an intraframe according to a another exemplary embodiment of the present invention.
[86] Referring to FIG. 20, similar to the exemplary embodiment shown in FIG.
19, a high-resolution video 1120 shares an intraframe 1122 with a low-resolution video 1110. That is, for low-resolution video streaming, a low-resolution intraframe 1112 is created using the high-resolution intraframe 1122. However, the difference from the exemplary embodiment shown in FIG. 19 is that a high-resolution intraframe 1124 is not shared with the low-resolution video 1110 and a low-resolution frame 1114 is used an interframe. That is, when each resolution video has a different frame rate, it is possible to keep the percentage of I frames at a lower frame rate lower than at a high frame rate by making GOP sizes in the low- and high-resolution videos 1110 and equal instead of placing GOP boundaries to coincide with each other.
19, a high-resolution video 1120 shares an intraframe 1122 with a low-resolution video 1110. That is, for low-resolution video streaming, a low-resolution intraframe 1112 is created using the high-resolution intraframe 1122. However, the difference from the exemplary embodiment shown in FIG. 19 is that a high-resolution intraframe 1124 is not shared with the low-resolution video 1110 and a low-resolution frame 1114 is used an interframe. That is, when each resolution video has a different frame rate, it is possible to keep the percentage of I frames at a lower frame rate lower than at a high frame rate by making GOP sizes in the low- and high-resolution videos 1110 and equal instead of placing GOP boundaries to coincide with each other.
[87] FIG. 21 is a block diagram of a video encoder system 1200 according to an exemplary embodiment of the present invention. While the video encoder system encodes video data into two layers with different resolutions, it may encode video data into n layers with different resolutions.
[88] Referring to FIG. 21, the video encoder system 1200 includes a first scalable video encoder 1210 encoding a base layer video, a second scalable video encoder 1220 encoding an enhancement layer video, and a bitstream generating module 1230 that combines the encoded base layer video and enhancement layer video into a bitstream.
[89] The first scalable video encoder 1210 receives the base layer video and encodes the same using scalable video coding. To accomplish this, the first scalable video encoder 1210 includes a motion estimation module 1212, a transform module 1214, and a quantization module 1216.
[90] In order to remove temporal redundancies between frames in the base layer video, the motion estimation module 1212 estimates motion present between a reference frame and a current frame and produces a residual frame. Algorithms such as UMCTF
or STAR are used to remove temporal redundancies using motion estimation. Some of the techniques described with reference to FIGS. 5 - 20 are selected for motion estimation to achieve a better trade-off between coding efficiency and image quality.
or STAR are used to remove temporal redundancies using motion estimation. Some of the techniques described with reference to FIGS. 5 - 20 are selected for motion estimation to achieve a better trade-off between coding efficiency and image quality.
[91] The transform module 1214 performs wavelet transform on the residual frame to produce transform coefficients. In the wavelet transform, a residual frame is decomposed into four portions, and a quarter-sized image (L image) that is similar to the entire image is placed in the upper left portion of the frame while information (H
image) needed to reconstruct the entire image from the L image is placed in the other three portions. In the same way, the L image may be decomposed into a quarter-sized LL image and information needed to reconstruct the L image.
image) needed to reconstruct the entire image from the L image is placed in the other three portions. In the same way, the L image may be decomposed into a quarter-sized LL image and information needed to reconstruct the L image.
[92] The quantization module 1216 applies quantization to the transform coefficients obtained by the wavelet transform. Currently known embedded quantization algorithms include Embedded Zerotrees Wavelet Algorithm (EZW), Set Partitioning in Hierarchical Trees (SPIHT), Embedded Zero Block Coding (EZBC), Embedded Block Coding with Optimized Truncation (EBCOT), and so on.
[93] The second scalable video encoder 1220 receives the enhancement layer video and encodes the same using scalable video coding. To accomplish this, the second scalable video encoder 1220 includes a motion estimation module 1222, a transform module 1224, and a quantization module 1226.
[94] In order to remove temporal redundancies between frames in the enhancement layer video, the motion estimation module 1222 estimates motion present between a frame current being encoded and reference frames in the enhancement layer video and the base layer video and obtains a residual frame. Algorithms such as UMCTF or STAR are used to remove temporal redundancies using motion estimation.
[95] The transform module 1224 performs wavelet transform on the residual frame to produce transform coefficients. In the wavelet transform, a residual frame is decomposed into four portions, and a quarter-sized image (L image) that is similar to the entire image is placed in the upper left portion of the frame while information (H
image) needed to reconstruct the entire image from the L image is placed in the other three portions. In the same way, the L image may be decomposed into a quarter-sized LL image and information needed to reconstruct the L image.
image) needed to reconstruct the entire image from the L image is placed in the other three portions. In the same way, the L image may be decomposed into a quarter-sized LL image and information needed to reconstruct the L image.
[96] The quantization module 1226 applies quantization to the transform coefficients obtained by the wavelet transform. Currently known embedded quantization algorithms include EZW, SPIHT, EZBC, EBCOT, and so on.
[97] The bitstream generating module 1230 generates a bitstream containing base layer frames and enhancement layer frames encoded by the first and second scalable video encoders 1210 and 1220 and corresponding header information.
[98] In another exemplary embodiment, the video encoder system includes a plurality of video encoders encoding different resolution videos. Some of the plurality of video encoders use non-scalable video coding schemes such as H.264 or MPEG-4.
[99] The generated bitstream is predecoded by a predecoder 1240 and then sent to a decoder (not shown).
[100] The predecoder 1240 may be located at different positions depending on the type of video streaming services. In one embodiment, when the predecoder 1240 is in-corporated into the video encoder system 1200 for video streaming, the video encoder system 1200 transmits only a predecoded bitstream to the decoder, instead of the entire bitstream generated by the bitstream generating module 1230. In another exemplary embodiment, when being located separately from the video encoder system 1200 but within a streaming service provider, the streaming service provider predecodes a bitstream encoded by a content provider and sends the predecoded bitstream to the decoder. In yet another exemplary embodiment, when the predecoder 1240 is located within the decoder, the predecoder 1240 truncates unnecessary bits of the bitstream in such a way as to reconstruct a video with the desired resolution and frame rate.
[101] Various components of the above-described video encoder system 1200 and a video decoder system 1300, which will be described below, are functional modules and perform the same functions as described above. The term 'module', as used herein, means, but is not limited to, a software or hardware component, such as a Field Pro-grammable Gate Array (FPGA) or Application Specific Integrated Circuit (ASIC), which performs certain tasks. A module may advantageously be configured to reside on the addressable storage medium and configured to execute on one or more processors. Thus, a module may include, by way of example, components, such as software components, object-oriented software components, class components and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables. The functionality provided for in the components and modules may be combined into fewer components and modules or further separated into additional components and modules. In addition, the components and modules may be implemented such that they execute one or more computers in a com-munication system.
[102] FIG. 22 is a block diagram of the video decoder system 1300 according to an exemplary embodiment of the present invention. While the video encoder system encodes video data into two layers with different resolutions, it may encode video data into n layers with different resolutions.
[103] Referring to FIG. 22, the video decoder system 1300 includes a first scalable video decoder 1310 decoding a base layer video and a second scalable video encoder decoding an enhancement layer video. The first and second scalable video decoders 1310 and 1320 receive coded video data from the bitstream interpreting module for decoding.
[104] The first scalable video decoder 1310 receives the encoded base layer video and decodes the same using scalable video decoding. To accomplish this, the first scalable video decoder 1310 includes an inverse quantization module 1312, an inverse transform module 1314, and a motion compensation module 1316.
[105] The inverse quantization module 1312 applies inverse quantization to the received encoded video data and outputs transform coefficients. Currently known inverse quantization algorithms include EZW, SPIHT, EZBC, EBCOT, and so on.
[106] In the case of an intracoded frame, the inverse transform module 1314 performs inverse transform on the transform coefficients to reconstruct the original frame. In the case of an intercoded frame, the inverse transform module 1314 performs inverse transform to produce a residual frame.
[107] The motion compensation module 1316 compensates for motion of the residual frame using the previously reconstructed frame as a reference in order to reconstruct the original frame. Algorithms such as UMCTF or STAR may be used for the motion compensation.
[108] The second scalable video decoder 1320 receives the encoded enhancement layer video data and decodes the same using scalable video decoding. To accomplish this, the second scalable video decoder 1320 includes an inverse quantization module 1322, an inverse transform module 1324, and a motion compensation module 1326.
[109] The inverse quantization module 1322 applies inverse quantization to the received encoded video data and produces transform coefficients. Currently known inverse quantization algorithms include EZW, SPIHT, EZBC, EBCOT, and so on.
[110] The inverse transform module 1324 performs inverse transform on the transform coefficients. In the case of an intracoded frame, the inverse transform module performs inverse transform on the transform coefficients to reconstruct the original frame. In the case of an intercoded frame, the inverse transform module 1324 performs inverse transform to produce a residual frame.
[111] The motion compensation module 1326 receives a residual frame and compensates for motion of the residual frame using the previously reconstructed base layer frame and the previously reconstructed enhancement layer frame as a reference in order to re-construct the original frame. Algorithms such as UMCTF or STAR may be used for the motion compensation.
[112] FIG. 23 is a diagram for explaining a process of generating a smooth intraframe in a smooth enhancement layer in intraframe sharing and decoding a shared intraframe.
[113] In FIG. 23, D and U respectively denote downsampling and upsampling, and subscripts W and M respectively denote wavelet- and MPEG-based schemes. F, Fs, and F respectively represent a high-resolution (base layer) frame, a low-resolution L
(enhancement layer) frame, and a low-pass subband in the high-resolution frame.
(enhancement layer) frame, and a low-pass subband in the high-resolution frame.
[114] In order to obtain a low-resolution bitstream, a video sequence is first downsampled to a lower resolution and then the downsampled version is upsampled to a higher resolution using a wavelet-based method, followed by MPEG-based downsampling. A low-resolution video sequence obtained by performing the MPEG-based downsampling is then encoded using scalable video coding.
[115] When a low-resolution frame F 1420 is an intraframe, the low-resolution frame F
s s 1420 is not contained in a bitstream but obtained from a high-resolution intraframe F
1410 contained in the bitstream. That is, to obtain the smooth low-resolution intraframe Fs 1420, the high-resolution intraframe F 1410 is downsampled and then upsampled using a wavelet-based scheme to obtain approximation of the original high-resolution interframe F 1410, followed by MPEG-based downsampling. The high-resolution intraframe F 1410 is subjected to wavelet transform and quantization and then combined into the bitstream. Some bits of the bitstream is truncated by a predecoder before being transmitted to a decoder. By truncating high-pass subbands of the high-resolution intraframe F 1410, a low-pass subband F 1430 in the high-L
resolution intraframe F 1410 is obtained. In other words, the low-pass subband L
is a downsampled version D (F) of the high-resolution intraframe F 1410. The decoder W
that receives a low-pass subband F 1440 upsamples it using the wavelet-based scheme L
and downsamples an upsampled version using the MPEG-based scheme, producing a smooth intraframe F 1450.
s Industrial Applicability [116] As described above, in the encoding and decoding methods and systems according to the present invention, it is possible to provide video streaming services at various image qualities.
s s 1420 is not contained in a bitstream but obtained from a high-resolution intraframe F
1410 contained in the bitstream. That is, to obtain the smooth low-resolution intraframe Fs 1420, the high-resolution intraframe F 1410 is downsampled and then upsampled using a wavelet-based scheme to obtain approximation of the original high-resolution interframe F 1410, followed by MPEG-based downsampling. The high-resolution intraframe F 1410 is subjected to wavelet transform and quantization and then combined into the bitstream. Some bits of the bitstream is truncated by a predecoder before being transmitted to a decoder. By truncating high-pass subbands of the high-resolution intraframe F 1410, a low-pass subband F 1430 in the high-L
resolution intraframe F 1410 is obtained. In other words, the low-pass subband L
is a downsampled version D (F) of the high-resolution intraframe F 1410. The decoder W
that receives a low-pass subband F 1440 upsamples it using the wavelet-based scheme L
and downsamples an upsampled version using the MPEG-based scheme, producing a smooth intraframe F 1450.
s Industrial Applicability [116] As described above, in the encoding and decoding methods and systems according to the present invention, it is possible to provide video streaming services at various image qualities.
[117] In concluding the detailed description, those skilled in the art will appreciate that many variations and modifications can be made to the exemplary embodiments without substantially departing from the principles of the present invention.
Ac-cordingly, the scope of the invention is to be construed in accordance with the following claims.
Ac-cordingly, the scope of the invention is to be construed in accordance with the following claims.
Claims (19)
- [1] A video encoding method comprising:
encoding first frames having a first resolution using scalable video coding;
upsampling the first frames to a second resolution; and encoding second frames having the second resolution using scalable video coding with reference to the first frames upsampled to the second resolution. - [2] A video encoding method comprising:
encoding first frames having a first resolution using non-scalable video coding;
upsampling the first frames to a second resolution; and encoding second frames having a second resolution using scalable video coding with reference to the first frames upsampled to the second resolution. - [3] A video encoding method comprising:
encoding first frames having a first resolution using scalable video coding;
upsampling the first frames to a second resolution;
upsampling the first frames to a third resolution;
encoding second frames having the second resolution using scalable video coding with reference to the first frames upsampled to the second resolution;
and encoding third frames having the third resolution using scalable video coding with reference to the first frames upsampled to the third resolution. - [4] A video encoding method comprising:
encoding first frames having a first resolution using scalable video coding;
upsampling the first frames to a second resolution;
encoding second frames having the second resolution using scalable video coding with reference to the first frames upsampled to the second resolution;
encoding third frames having a third resolution which is higher than the second resolution using scalable video coding;
upsampling the third frames to a fourth resolution; and encoding fourth frames having the fourth resolution using scalable video coding with reference to the third frames upsampled to the fourth resolution. - [5] A video encoding method comprising:
encoding first frames having a first resolution using scalable video coding;
encoding second frames having a second resolution which is higher than the first resolution, using scalable video coding, independently of the first frames;
and encoding third frames having a third resolution which is higher than the second resolution using scalable video coding, independently of the second frames. - [6] A video encoding method comprising:
encoding first frames having a first resolution using non-scalable video coding;
encoding second frames having a second resolution which is higher than the first resolution using scalable video coding, independently of the first frames; and encoding third frames having a third resolution which is higher than the second resolution using scalable video coding, independently of the second frames. - [7] A video encoding method comprising:
encoding first frames having a first resolution using scalable video coding;
upsampling the first frames to a second resolution;
encoding second frames having a third resolution which is higher than the second resolution using scalable video coding;
downsampling the second frames to the second resolution; and encoding third frames having the second resolution using scalable video coding with reference to the first resolution frames upsampled to the second resolution and the second frames downsampled to the third resolution. - [8] A video encoding method comprising:
encoding first frames having a first resolution using scalable video coding;
downsampling the first frames to a second resolution; and encoding second frames having a second resolution using scalable video coding with reference to the first frames downsampled to the second resolution. - [9] A video encoding method comprising:
encoding first frames having a first resolution using scalable video coding;
downsampling the first frames to a second resolution; and encoding second frames having a second resolution using non-scalable video coding with reference to the first frames downsampled to the second resolution. - [10] A video encoding method comprising:
encoding first frames having a first resolution using scalable video coding;
downsampling the first frames to a second resolution;
encoding second frames having the second resolution using scalable video coding with reference to the first frames downsampled to the second resolution;
downsampling the first frames to a third resolution lower than the second resolution; and encoding third frames having the third resolution using scalable video coding with reference to the first frames downsampled to the third resolution. - [11] The method of claim 1, wherein if the first frames have the same frame rate as the second frames, the first frames are encoded in the same order as the second frames.
- [12] The method of claim 8, wherein each of the second frames has the same type as its corresponding first frame.
- [13] The method of claim 8, wherein if the second frames have a different frame rate than the first frames, the percentage of intraframes in the second frames is made equal to the percentage of intraframes in the first frames.
- [14] A video encoder system comprising:
a first scalable video encoder encoding first frames having a first resolution using non-scalable video coding;
a second scalable video encoder converting the first frames into a second resolution and encoding second frames having the second resolution using scalable video coding with reference to the first frames converted into the second resolution; and a bitstream generating module generating a bitstream consisting of the first frames which are encoded and the second frames which are encoded. - [15] The system of claim 14, wherein the first resolution frames are encoded according to an H.264 or MPEG-4 coding standard.
- [16] A video encoder system comprising:
a first scalable video encoder encoding first frames having a first resolution using scalable video coding;
a second scalable video encoder encoding second frames having a second resolution which is lower than the first resolution using scalable video coding;
and a bitstream generating module generating a bitstream consisting of the first frames which are encoded and the second frames which are encoded. - [17] The system of claim 16, wherein the second frames are obtained by downsampling and upsampling the first frames using a wavelet-based scheme, followed by MPEG-based downsampling.
- [18] A video encoder system comprising:
a scalable video encoder encoding first frames having a first resolution using scalable video coding;
a non-scalable video encoder encoding frames having a second resolution which is lower than the first resolution using non-scalable video coding; and a bitstream generating module generating a bitstream consisting of the first frames which are encoded and the second frames which are encoded. - [19] The system of claim 18, wherein the second resolution frames are encoded according to an H.264 or MPEG-4 coding standard.
A video decoding method comprising:
decoding first frames, which have a first resolution and are encoded using scalable video coding, to reconstruct original frames;
upsampling the first frames which are reconstructed to a second resolution;
and decoding second frames, which have a second resolution and are encoded using scalable video coding, with reference to upsampled versions of the first frames which are reconstructed in order to reconstruct original frames.
[21] A video decoding method comprising:
decoding first frames, which have a first resolution and are encoded using non-scalable video coding, to reconstruct original frames;
upsampling the first resolution frames which are reconstructed to a second resolution; and decoding second frames, which have a second resolution and are encoded using scalable video coding, with reference to upsampled versions of the first frames which are reconstructed in order to reconstruct original frames.
[22] A video decoding method comprising:
decoding first frames, which have a first resolution and are encoded using scalable video coding, to reconstruct original frames;
downsampling some of the first resolution frames which are reconstructed to a second resolution and generating intraframes with the second resolution; and decoding second interframes, which have a second resolution and are encoded using scalable video coding, with reference to the intraframes which are generated.
[23] A video decoding method comprising:
decoding first frames, which have a first resolution and are encoded using scalable video coding, to reconstruct original frames;
downsampling some of the first resolution frames which are reconstructed to a second resolution and generating intraframes with the second resolution; and decoding second interframes, which have the second resolution and are encoded using non-scalable video coding, with reference to the intraframes which are generated.
[24] A video decoder system comprising:
a first scalable video decoder decoding first frames, which have a first resolution and are encoded using scalable video coding, in order to reconstruct original frames; and a second scalable video decoder converting the first frames which are re-constructed to a second resolution and decoding second frames, which have the second resolution and are encoded using scalable video coding, with reference to the first frames which are converted in order to reconstruct original frames.
[25] A video decoder system comprising:
a non-scalable video decoder decoding first frames, which have a first resolution and are encoded using non-scalable video coding, in order to reconstruct original frames; and a scalable video decoder converting the first frames which are reconstructed to a second resolution and decoding second frames, which have the second resolution and are encoded using scalable video coding, with reference to the first frames which are converted in order to reconstruct original frames.
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US54954404P | 2004-03-04 | 2004-03-04 | |
US60/549,544 | 2004-03-04 | ||
KR1020040028487A KR100596705B1 (en) | 2004-03-04 | 2004-04-24 | Method and system for video coding for video streaming service, and method and system for video decoding |
KR10-2004-0028487 | 2004-04-24 | ||
PCT/KR2005/000520 WO2005086487A1 (en) | 2004-03-04 | 2005-02-25 | Video encoding and decoding methods and systems for video streaming service |
Publications (2)
Publication Number | Publication Date |
---|---|
CA2557312A1 true CA2557312A1 (en) | 2005-09-15 |
CA2557312C CA2557312C (en) | 2013-04-23 |
Family
ID=34921824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA2557312A Expired - Fee Related CA2557312C (en) | 2004-03-04 | 2005-02-25 | Video encoding and decoding methods and systems for video streaming service |
Country Status (4)
Country | Link |
---|---|
EP (1) | EP1721465A4 (en) |
JP (1) | JP2007525924A (en) |
CA (1) | CA2557312C (en) |
WO (1) | WO2005086487A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108540809A (en) | 2012-10-09 | 2018-09-14 | 英迪股份有限公司 | For the decoding apparatus of multi-layer video, code device and inter-layer prediction method |
US20150358635A1 (en) * | 2013-01-07 | 2015-12-10 | Vid Scale, Inc. | Motion information signaling for scalable video coding |
JP6120667B2 (en) * | 2013-05-02 | 2017-04-26 | キヤノン株式会社 | Image processing apparatus, imaging apparatus, image processing method, program, and recording medium |
EP3513558B1 (en) | 2016-09-15 | 2020-06-24 | Telefonaktiebolaget LM Ericsson (PUBL) | Guided transcoder for encoding and decoding quantized coefficients |
CN111406405A (en) * | 2017-12-01 | 2020-07-10 | 索尼公司 | Transmission device, transmission method, and reception device |
CN110572653B (en) * | 2019-09-27 | 2024-07-12 | 腾讯科技(深圳)有限公司 | Video encoding and decoding methods and devices, storage medium and electronic device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100304667B1 (en) * | 1998-09-17 | 2001-11-05 | 윤종용 | Scalable coding/decoding method and apparatus for still image using wavelet transformation |
EP1249131B1 (en) * | 1999-12-22 | 2004-03-17 | General Instrument Corporation | Video compression for multicast environments using spatial scalability and simulcast coding |
JP2001238210A (en) * | 2000-02-25 | 2001-08-31 | Matsushita Electric Ind Co Ltd | Hierarchical coder, hierarchical decoder, video signal transmission system, medium, and information aggregates |
JP2001309378A (en) * | 2000-04-10 | 2001-11-02 | Samsung Electronics Co Ltd | Method and device for encoding and decoding moving video simultaneously having spatial hierarchical structure and picture hierarchical structure |
JP2002142227A (en) * | 2000-11-02 | 2002-05-17 | Matsushita Electric Ind Co Ltd | Hierarchy-type coding device of image signal, and hierarchy-type decoding device |
US6920175B2 (en) * | 2001-01-03 | 2005-07-19 | Nokia Corporation | Video coding architecture and methods for using same |
-
2005
- 2005-02-25 JP JP2007501706A patent/JP2007525924A/en active Pending
- 2005-02-25 CA CA2557312A patent/CA2557312C/en not_active Expired - Fee Related
- 2005-02-25 EP EP05726745A patent/EP1721465A4/en not_active Withdrawn
- 2005-02-25 WO PCT/KR2005/000520 patent/WO2005086487A1/en not_active Application Discontinuation
Also Published As
Publication number | Publication date |
---|---|
CA2557312C (en) | 2013-04-23 |
WO2005086487A1 (en) | 2005-09-15 |
EP1721465A4 (en) | 2009-01-21 |
JP2007525924A (en) | 2007-09-06 |
EP1721465A1 (en) | 2006-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050195900A1 (en) | Video encoding and decoding methods and systems for video streaming service | |
CA2557294C (en) | Method and apparatus for video coding, predecoding, and video decoding for video streaming service, and image filtering method | |
US7839929B2 (en) | Method and apparatus for predecoding hybrid bitstream | |
US8031776B2 (en) | Method and apparatus for predecoding and decoding bitstream including base layer | |
US7933456B2 (en) | Multi-layer video coding and decoding methods and multi-layer video encoder and decoder | |
JP2005519542A (en) | FGST coding method using higher quality reference frame | |
EP1955546A1 (en) | Scalable video coding method and apparatus based on multiple layers | |
EP1766998A1 (en) | Scalable video coding method and apparatus using base-layer | |
WO2005086493A1 (en) | Scalable video coding method supporting variable gop size and scalable video encoder | |
US20050163224A1 (en) | Device and method for playing back scalable video streams | |
CA2557312C (en) | Video encoding and decoding methods and systems for video streaming service | |
JP4660550B2 (en) | Multi-layer video coding and decoding method, video encoder and decoder | |
Ou et al. | H. 264-based resolution, SNR and temporal scalable video transmission systems | |
WO2006043753A1 (en) | Method and apparatus for predecoding hybrid bitstream |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request | ||
MKLA | Lapsed |
Effective date: 20160225 |