Professional Documents
Culture Documents
CODING (SVC)
RAHIMUNISA NAGMA
Department of ECE, HKBKCE, Nagawara, Bangalore, Karnataka-560045, India
DR. TC MANJUNATH
Department of ECE, HKBKCE, Nagawara, Bangalore, Karnataka-560045, India
ABSTRACT: Scalable Video Coding is a type of compression technique in which the video files
are transmitted effectively over low bandwidth and lossy networks. An SVC video stream is made
up of multiple layers with varying degrees of quality. First is the base layer and the next are
enhancement layers with incremental increase in quality and layers combined in hierarchical
fashion. In this paper we evaluate the effects of scalability with no reference or reduced reference
video quality metrics and comparison between various video quality metrics done taking different
types of videos using SVC.
KEYWORDS: H.264 SVC, PSNR, SSIM, Blocking, Blurring, Temporal scalability, Spatial
scalability, Quality scalability.
INTRODUCTION
PROPOSED WORK
Encoder
The source video is taken and prediction of video is carried out. H.264 SVC involves intra-
prediction and inter-prediction. In Intra-prediction prediction, prediction of macroblock is done by
referring to only current slice and not referring any outside data Inter prediction is done referring
to previously coded frames using motion compensated prediction. Inter prediction involves
prediction region selection, prediction block generation and then subtraction of this from original
block of samples to give a residual which is then coded and transmitted.
Entropy Encode
Prior to entropy coding, the blocks of transform co-efficients are converted into a linear array. The
intention of scan order is to group together the non-zero quantized co-efficients called significant
co-efficients. For a typical progressive frames block, the non-zero co-efficients tend to be grouped
or clustered around top-left DC co-efficient. A zigzag scan order is most efficient in this case.
Example for a progressive scan order for 4x4 blocks is shown below:
646
Figure 3: Zigzag coding pattern
Decoder
The compressed H.264 bitstream is given to the H.264 SVC video decoder which extracts the
information such as quantized transform co-efficients, prediction information, etc., by decoding
each of the syntax. Later this information is used to reverse the coding process and recreate video
sequence.
The dissertation work have started with the implementation of a H.264 SVC encoder part and
H.264 SVC decoder part. Subjective and Objective measurement of video quality is carried out.
Subjective Measurement of video quality: It is based on or influenced by personal opinions. It
does not give a quantitative measure of the quality but defines the quality in terms of words such
as good, better, best, etc.
Objective measure of video quality: It gives a quantitative measure of video quality with a little
complexity and cost as compared to subjective measurement. In Objective measure of video
quality we have Full-reference evaluation and Reduced-reference evaluation of video. Example of
Full-reference evaluation methods are:
PSNR: It is the ratio of useful energy to the error energy.
PSNR db=10log10 (2^n-1)^2eqn (1)
MSE
It is simple to calculate and requires very less time.widely used to compare compressed and
decompressed video image quality.
SSIM: It is based on measuring the three components like luminance similarity, contrast similarity
and structural similarity and then combining these to give the result.
SSIM(i)=((2mxmy)+c1)((2covxy)+c2) ...eqn(2)
(((mx)^2+c1)varx+vary+c2)
Examples of reducedreference evaluation are:
Blocking: These are the square or rectangular shaped distortion areas in an image. This kind of
distortion is likely to be seen at boundary between blocks that contain coded co-efficients or
647
boundary of an intra code macro block. Block distortion is likely to be more significant when
quantization parameter (QP) is higher.
Blurring: This is one of the degradation parameter. Blurring increases with increase in
compression, as there is a reduction in contrast between neighboring pixels.
SIMULATION RESULTS
648
.
Figure 7: Comparison waveform of SNR versus PSNR
The above snapshots in Figure 5 shows the simulation waveforms of the four metrics plotted
against the number of frames at a condition when noise is present at the decoder side. The Figure 6
shows the behavior of Mean Squared Error(MSE) when SNR(Signal to Noise Ratio) is varied and
Figure 7 shows the behavior of Peak Signal to Noise Ratio(PSNR) when SNR is varied. From the
comparison waveforms, tables for different types of video clips (screw video clip, rhinos video
clip and pets video clip) is shown below to know how the SNR value, MSE value and the PSNR
value will actually vary.
649
Table 3: Comparison table for Pets video clip.
SNR MSE PSNR
-20 .4796 7.3479
-15 .4645 7.6687
-10 .4355 8.3121
-5 .3890 9.4415
0 .3068 11.8617
5 .1867 16.7808
10 .0568 28.6786
15 .0024 60.1923
The H.264 SVC encoder and decoder parts are implemented. The two no-reference metrics
blocking and blurring are used to find out the effect on video quality as we progress through
degradation path for every scalable dimension. Also the effect on video quality in the presence of
loss is investigated for each scalable dimension. Our findings indicate that-as spatial resolution
decreases and the quantization decreases, the impact of loss on video quality is decreased. Also the
impact of loss in temporal degradation leads to a greater impact on video quality. This work can be
used as reference for selection of suitable dimensions to maximize the video quality when
constructing the SVC sequence layers and also to save the bandwidth to its largest amount.
ACKNOWLEDGMENT
We wish to acknowledge HKBK College of Engineering for providing the Infrastructure to carry
out the process of developing a soft core for Traffic aware video coding using Scalable Video
Coding(SVC).
REFERENCES
G-M. Muntean, P. Perry, and L. Murphy, Objective and subjective evaluation of QOAS video
streaming over broadband networks, IEEE Trasn. Network service Manage., vol.2, no.1,
pp.19-28, Nov.2005.
H.Schwarz, D.Marpe, and T.Wiegand, Overview of the scalable video coding extension of the
H.264/AVC standard,IEEE Transactions on Circuits and Systems for Video Technology,
vol.17, no.9, pp.1103-1120, 2007.
J. Ostermann, J. Bormans, P. List, D. Marpe, M. Narroschke, F. Pereira, T. Stockhammer, and T.
Wedi, Video coding with H.264/AVC:Tools, performance, and complexity, IEEE Circuits
Sust. Mag., vol.4, no.1, pp. 7-28, Jan-Mar.2004.
Ksentni, M.Naimi, and A. Gueroui, Toward an improvement of H.264 video transmission over
IEEE 802.11e through a cross-layer architecture, IEEE Commun. Mag., vol.44,no.1,pp.107-
114, Jan.2006.
Kassler, M.ODroma, M.Rupp, and Y. Koucheryavy, Advances in quality and performance
assessment for future wireless communication services, Eurasip Journal on Wireless
communication and networking, vol.2010, Article ID 389728, 2010.
M.Ghareeb, A. Ksentini, and C. Viho, Scalable video coding(SVC) for multipath video
streaming over video distribution networks(VDN), in Proc. IEEE Int. Conf. Inform.
Networking,2011,pp.206-211
650
K. Singh, A. Ksentini, and B. Marienval, Quality of experience measurement tool for SVC video
coding, in Proc. IEEE ICC, Jun.2011, pp.1-5.
Iain E. Richardson, The H.264 Advanced Video Compression Standard, 2nd ed, 2010.
Patrick McDonagh, Amit Pande, Member, IEEE, Liam Murphy, Member, IEEE, and Prasant
Mohapatra, Fellow, Towards Deployable Methods for Assessment of Quality for Scalable
IPTV Services, IEEE transactions on Broadcasting, vol 59, No.2, June 2013.
651