Skip to main content

Temporal scalable mobile video communications based on an improved WZ-to-SVC transcoder


Wyner–Ziv (WZ) to scalable video coding (SVC) transcoding can offer a suitable framework to support scalable video communications between low-cost devices. In addition, the video delivery provided by SVC covers the needs of a wide range of homogeneous networks and different devices. Despite the advantages of the video transcoding framework, the transcoder accumulates high complexity and it must be reduced in order to avoid excessive delays in communication. In this article, an approach for WZ to SVC transcoding is presented. The information generated during the first stage is reused during the second one, and as a consequence the time taken by the transcoding is reduced by around 77.77%, with a negligible rate-distortion penalty.

1. Introduction

Traditionally, video communications, such as television broadcasting, have been based on a down-link model, where the information is encoded once and then transmitted to many terminal devices. These applications are supported by traditional video codecs, such as those adopted by all MPEG and ITU-T video coding standards[1], which are characterized by architectures where most of the complexity is present in the encoding part. However, in the last few years, with the ever-increasing development of mobile devices and wireless networks, a growing number of emerging multimedia applications have required an up-link model. These end-user devices are able to capture, record, encode, and transmit video with low-constraint requirements. Applications, such as low-power sensor networks, video surveillance cameras, or mobile communications, present a different framework in which low-cost senders transmit video bitstreams to a central receiver. In order to manage this kind of applications efficiently, distributed video coding[2], and specially Wyner–Ziv coding (WZ)[3], proposed a solution in which most of the complexity is moved from the encoder to the decoder. In particular, the WZ codec used in this study is based on the architecture proposed by VISNET-II[4], which is an improved version of the architecture proposed by the project DISCOVER[5]. More detail about WZ coding can be found in[3].

However, as existing networks are heterogeneous and the receivers have different features and limitations (such as power consumption, available memory, display size, etc.), a new scalable standard has recently been proposed in order to support this variety of networks and devices. In particular, scalable video coding (SVC)[6] has been standardized as a scalable extension of the H.264/AVC standard[1]. SVC supports three main types of scalability: (1) temporal scalability; (2) spatial scalability; and (3) quality (SNR) scalability. For a comprehensive overview of the scalable extension of H.264/AVC, the reader is referred to[6].

In particular, this article proposes a WZ-to-SVC transcoder with temporal capabilities; a bitstream provides temporal scalability when it can be divided into a temporal base layer (with an identifier equal to 0) and one or more temporal enhancement layers (with identifiers that increase by 1 in every layer), so that if all the enhancement temporal layers with an identifier greater than one specific temporal layer are removed, the remaining temporal layers form another valid bitstream for the decoder. In this way, to achieve temporal scalability, SVC links its reference and predicted frames using hierarchical prediction structures[7] which define the temporal layering of the final structure.

At this point, this article presents a straightforward step in the framework of WZ-based transcoders towards a scalable WZ-based transcoder (Figure 1). In this way, WZ encoding provides low complexity on the encoder side and by including the SVC paradigm, different receivers can satisfy their requirements and the video can also be delivered over a variety of networks. In addition, the main idea of this article is to perform this process as efficiently and as fast as possible by using information gathered in the first part in order to reduce the delay caused by the conversion. With this aim, the improved WZ-to-SVC transcoder with temporal scalability presented in this article reuses the motion vectors (MVs) generated during WZ decoding, because they can give us an idea about the quantity of movement in the current frame and this information will be used to accelerate the motion estimation (ME) stage as part of the SVC encoding algorithm.

Figure 1
figure 1

WZ-to-SVC transcoder framework.

The remainder of this article is organized as follows. In Section 2, the several works related to this topic are analyzed. Then, in Section 3 our improved approach is presented, and some implementation results are shown in Section 4. Finally, in Section 5 conclusions are presented.

2. Related work

Taking into account the advantages of WZ coding for low-cost video encoding, in the literature several WZ to traditional video coding transcoders have been proposed in order to support video communications between portable low-cost devices, such as one based on H.263[8] and another on H.264/AVC[9], although these approaches did not concern about heterogeneous network or devices.

Regarding the transcoding based on SVC with temporal scalability, several approaches have been proposed recently. Al-Muscati and Labeau[10] proposed a technique for transcoding that provided temporal scalability. The method presented was applied in the baseline profile and reused information from the mode decision and ME processes from the H.264/AVC stream. In the same year, Garrido-Cantos et al.[11] presented an H.264/AVC to SVC video transcoder that efficiently reuses some motion information from the H.264/AVC decoding process in order to reduce the time consumption of the SVC encoding algorithm by reducing the ME process time. The approach was developed for main profile and dynamically adapted for several temporal layers[11].

In our previous work[12], we propose a WZ-to-SVC transcoding approach, which only works with baseline profile (or P frames). However, this article proposes a flexible transcoding architecture which supports both baseline and main profiles and whatever combination of P and B frames. As a consequence, it can support any WZ to SVC conversion providing flexibility, and then the transcoding framework is more realistic. In addition, this proposal has deeply been evaluated by using different WZ GOPs, frame rates, and sequence resolutions, as can be seen in Section 4.

Concerning WZ-to-SVC transcoding, there are several approaches focused on reducing the WZ decoding stage (e.g., by using parallel computing[13, 14] or avoiding the use of a feedback channel[15]); something which could also be employed with the proposed dynamic search is ME in SVC, but this study wishes to isolate the second part of the transcoder and thus is focused only on accelerating the SVC encoding.

3. WZ-to-SVC transcoding

The main aim of a transcoder is to convert from one source video coding format to another. Taking into account a framework where the delay of the video conversion could lead to problems with communication stability (e.g., with a video streaming broadcast), the time spent by the transcoding process is of utmost importance. The most complex task in the SVC architecture is the ME process. In particular, the idea behind this study consists of analyzing the quantity of movement information during WZ decoding to accelerate SVC encoding. This movement information is contained in the MVs generated during the SI process. In other works, the complexity of SVC encoding is reduced without increasing the complexity of the WZ decoding stage. As is shown in Figure 2, the WZ-to-SVC transcoder is composed of a WZ decoder concatenated with an SVC encoder. In the proposed architecture, the MVs are temporally stored in a buffer and sent to the motion prediction module of SVC, where they are processed as described in the following sections.

Figure 2
figure 2

Proposed WZ-to-SVC video transcoder architecture.

3.1. MV extraction

In the WZ decoding process, side information generation is one of the most important tasks, because WZ frames are decoded by reconstructing the information provided by the SI. There are many studies on this topic but there are mainly two major approaches: hash-based ME and motion compensated temporal interpolation (MCTI). In particular, the SI generated by the VISNET-II codec is based on MCTI[16] with the following steps: first, a forward ME is performed between the two K- frames. In this step, each 16 × 16 macro block (MB) of the backward frame looks for the MB which generates the lowest residual inside the forward frame. This searching is carried out within a fixed search range of 32 × 32. Subsequently, the bidirectional ME calculates two MVs from the MV generated during the previous step. In order to improve the accuracy of the MVs generated, they are up-sampled for 8 × 8 blocks and a new bidirectional ME is performed. Once the bidirectional motion field is obtained, it can be observed that the MVs sometimes have low spatial coherence, so the MVs are improved by a spatial smoothing algorithm targeting the reduction in the number of false MVs. This is based on weighted vector median filters. Finally, bidirectional motion compensation is performed again. Since the SI is estimated from the K-frames or decoded WZ-frames, MV extraction is a process that is independent of the domain used during encoding of the sequence. For more details, the steps of the MCTI process are also described in[16].

As a result of this process, although at the beginning the side information starts with 16 × 6 MBs, at the end, for each 8 × 8 sub-block, two MVs (forward and backward) are calculated and stored. These MVs can help us to estimate the quantity of movement during the SVC stage. For GOP lengths longer than 2, only the MVs generated during the last step are reused by the SVC encoder, because they are more accurate. For example, Figure 3 shows the WZ decoding of a GOP of length 4. For this case, during the first step frame 2 is decoded by using frames 0 and 4 as references, but these MVs are not considered. In the second step, frames 1 and 3 are decoded by using frames 0, 2, and 4 as references, and these MVs are stored.

Figure 3
figure 3

WZ decoding for a GOP of length 4.

3.2. WZ-to-SVC transcoding and MV mapping

Once the MVs are obtained from the SI process, we must decide how we can use them to accelerate the SVC encoding. WZ and SVC are quite different video codecs. Thus, the first step is to decide the mapping needed to assign the MVs to the predicted (P) and bidirectional (B) frames of SVC, and then reduce the ME process. Figure 4 represents the transcoding from a WZ GOP 2 to a SVC GOP 4. The first K-frame is transcoded to an I-frame without any conversion, as shown in Figure 4. On the other hand, for every WZ frame we have two MVs (forward and backward predicted). Then, they are mapped considering the position of each WZ frame. For B frames, both MVs are considered, but the orientation is changed when necessary (as in frame 2). For P frames, just the backward MV is mapped.

Figure 4
figure 4

Mapping MVs from WZ (GOP 2) to SVC (GOP 4).

3.3. Fast SVC encoding

As is well known, this complexity depends largely on the search range used in the SVC ME process, as the range is linked to the number of positions checked. However, this process may be accelerated because the search range can be reduced by avoiding unnecessary checking without a significant impact on quality or bit rate. In this way, we can use the MVs generated by WZ decoding (which contain information about the quantity of movement per MB) to reduce the search area used by the ME of the SVC encoder. In Section 3.1, we explained how the MVs are calculated and extracted, and in Section 3.2 we described how we map the MVs from GOPs of WZ to SVC. Once the MVs are mapped between frames, depending on the partition checked in the SVC encoding algorithm, we can use a different group of these 8 × 8 MVs. As is well known, in SVC (as in the H.264/AVC standard) inter prediction is carried out by means of the process of variable block size ME. This approach supports motion compensation block sizes ranging between 16 × 16, 16 × 8, 8 × 16, and 8 × 8, where each of the sub-divided regions is an MB partition. If the 8 × 8 mode is chosen, each of the four 8 × 8 block partitions within the MB may be further split in four ways: 8 × 8, 8 × 4, 4 × 8, or 4 × 4, which are known as sub-MB partitions. For all these partitions, ME is carried out and a separate MV is generated. As is shown in Figure 5, WZ provides one backward and one forward MV for every 8 × 8 sub-partition in each MB. The backward ones are used for P-frame decoding in SVC, and B-frame decoding uses both MVs. Then, depending on the sub-partition to be checked by SVC, the final MV predicted is calculated as follows: if the sub-partition is bigger than 8 × 8 (16 × 16, 8 × 16, 16 × 8), the predicted MV is calculated by taking the average of the MVs included in the sub-partition. For example, for the 8 × 16 MB-partition, only the MVs allocated at Block_0 and Block_1 will be used, since the MVs of Block_0 and Block_1 contain the information about the displacement of the 8 × 16 MB-partition. If the sub-partition is equal to, or smaller than, 8 × 8, the corresponding MV is applied directly. Then, for each MB and sub-partition, we have one MV for P-frames (previous reference) and two MVs for B-frames (previous and future references). Each MV is composed of two components: MV x and MVy.

Figure 5
figure 5

Estimation of the dynamic ME search area for SVC.

As is shown by Equations (1) and (2), the components MV x and MVy are multiplied by a factor, which is directly dependent on the number of layers used, n, and the layer number of the current frame, m. This means that the MV length of frames from less significant layers will be shorter than the MV length of frames from more significant layers. This is because frames from more significant layers have their reference frames farther than frames from less significant layers. In other words, in WZ decoding the MVs extracted from the SI generation process are always calculated in a frame distance of two, whereas in SVC with temporal scalability these MVs can be mapped for a longer frame distance.

MV ' x = MV x * n m
MV ' y = MV y * n m

With the scaled MVs, the dynamic area can be defined. In Figure 5, the default search area used by SVC is defined by Equation (3) and labeled as S. In Equation (3), (x,y) represents the coordinates to check in the area. A is the search range used by SVC which represents the square of the search range d, as shown in Equation (4). Finally, C is a circumference which restricts the search with centre on the upper left corner of the MB. C is defined by Equation (5).

S = x , y / x , y A C
A = d * d
C = π * R mv 2

R mv represents the radius of the dynamic search area calculated from the MVs calculated during the WZ decoding stage, as Equation (6) shows. In addition, the components of R mv labeled as r x and r y are calculated from Equations (7) and (8), which take the maximum between the MVs estimated in Equations (1) and (2) and a minimum radius, R min, defined as a quarter of the search range (labeled as d), as shown by Equation (9). This minimum area is considered to avoid applying search ranges that are too small.

R mv 2 = r x 2 + r y 2
r x = max MV ' x , R min
r y = max MV ' y , R min
R min = d 4

4. Experimental results

The source WZ video was generated by the VISNET II codec using a fixed matrix QP = 3 in pixel domain (which means that there are three bitplanes processed) and a GOP length of 2, 4, and 8. While sequences are being decoded, the MVs are passed to the SVC encoder without any increase in complexity. Afterwards, the transcoder converts this WZ video input into an SVC video stream using QP = 28, 32, 36, and 40, as specified in Sullivan and Bjøntegaard’s common test rule[17]. The simulations were run using version JSVM 9.19.14[18] and the main profile with the default configuration file. The baseline profile was selected because it is the most widely used profile in real-time applications due to its low complexity. In order to check our proposal, we have chosen four representative sequences in QCIF and CIF resolutions with different motion levels at 15 and 30 fps, coding 150 and 300 frames, respectively; these are the same sequences that were selected in the DISOCOVER codec evaluation[5]. Furthermore, the percentage of Time Reduction (%TR) is calculated as is specified by Equation (10). In Tables 1 and2, the reported TR (%) displays the average time reduction for the four SVC QP points under study, compared with the reference transcoder, known as cascade pixel domain video transcoder (CPDT), which is composed of the full WZ decoding and SVC encoding algorithms.

TR % = 100 * Time proposed Time reference Time reference
Table 1 Performance for 15 fps QCIF sequences and two temporal layers
Table 2 Performance for 30 fps QCIF sequences and three temporal layers

Table 1 shows the RD penalty measured for 15 fps sequences encoded using two temporal layers and the TR of the proposed transcoder. Concerning the RD results, we can observe that the drop penalty is negligible for every layer; even for low-complexity sequences (such as the Hall or CoastGuard sequences) the coding efficiency is better than that of the reference transcoder because the MVs stored are shorter. The TR achieved is −73.18% on average, so the time consumed by SVC encoding is greatly reduced by using the MVs generated in the WZ decoding stage. For different WZ GOP lengths, the results are similar since the proposed MV extraction method is similar for every WZ GOP length.

In addition, Table 2 includes the results for the 30 fps sequences, and then three layers of temporal scalability. The results reported are similar to those of the 15 fps sequences, achieving a TR of −77.77% on average without a significant RD drop penalty. The proposed transcoder avoids a lot of unnecessary checking, but the number of MVs selected by the reference transcoder is the same as for the proposed one of around 92%. As a consequence, the encoding time is greatly reduced with a negligible RD drop penalty.

Taking into account the equations described in Section 3.3, we can observe that the performance is maintained for any layer by using a dynamic search area, which is calculated from the number of layers (n) and the current layer (m). In particular, frames from more significant layers have more distant reference frames (as can be seen in Figure 4), so it is compensated by using bigger factors in the equations of the algorithm, and as a consequence, bigger search areas for those frames. Keeping the quality in more significant layers is an important issue in order to maintain the performance of the rest of the layers, because in temporal scalability frames from enhancement layers use previous frames as reference frames.

Furthermore, Table 3 shows the performance of the proposed transcoding algorithm using CIF sequences. As for the case of QCIF sequences, proposed algorithm does not involve significant RD penalty for bigger resolution sequences, since it is not dependent on a particular resolution. In addition, it achieves better time reduction (−79.94 on average), because CIF sequences involves more a more complex process for the CPDT transcoder.

Table 3 Performance for 30 fps CIF sequences and three temporal layers

Finally, Figures 6 and7 show the RD obtained for QCIF sequences by using a QP = 28, 32, 36, and 40, respectively, for a transcoding from WZ GOP 2 to SVC GOP 2 (15 fps with two temporal layers) and SVC GOP 4 (30 fps with three temporal layers). As can be seen, there are no significant differences in quality or the bit rate obtained by the SVC reference codec and our proposed one. There are only tiny bitrate increases for several QP points and above all in high movement/complexity sequences. Similar RD results are obtained when comparing with PSNR, as is shown for 15 fps in Figure 6 and for 30 fps in Figure 7. For longer GOP lengths, the results are similar. For CIF sequences RD results (Figure 8), we obtain similar conclusions as for QCIF sequences.

Figure 6
figure 6

PSNR/bitrate results for transcoding from WZ GOP = 2, 4, and 8 to SVC GOP 2 (15 fps and two layers) with QCIF sequences. Reference symbols: ■ Foreman, ♦ Hall, ▲ CoastGuard, and Soccer.

Figure 7
figure 7

PSNR/bitrate results for transcoding from WZ GOP = 2, 4, and 8 to SVC GOP 4 (30 fps and three layers) with QCIF sequences. Reference symbols: ■ Foreman, ♦ Hall, ▲ CoastGuard, and Soccer.

Figure 8
figure 8

PSNR/bitrate results for transcoding from WZ GOP = 2, 4 ,and 8 to SVC GOP 4 (30 fps and three layers) with CIF sequences. Reference symbols: ■ Foreman, ♦ Hall, ▲ CoastGuard, and Soccer.

5. Conclusions

In this article, a novel WZ-to-SVC transcoding framework is proposed to support scalable video communications between a wide range of mobile devices and over heterogeneous networks. Our proposed transcoder with temporal scalability analyzes and adapts the motion information generated during WZ decoding to accelerate the ME process of the SVC encoder with a main profile. In order to manage this approach, several sequences were transcoded by using different scalability layers for 15 and 30 fps frame rates. In our results, the SVC encoding time is reduced by around 77.77% whilst maintaining the efficiency in RD terms.


  1. ISO/IEC International Standard 14496–10: "Information Technology – Coding of Audio – Visual Objects – Part 10: Advanced Video Coding". 2003.

    Google Scholar 

  2. Girod B, Aaron AM, Rane S, Rebollo-Monedero D: Distributed video coding. Proc. IEEE 2005, 93: 71-83.

    Article  Google Scholar 

  3. Aaron A, Rui Z, Girod B: Wyner–Ziv coding of motion video. In Proceedings of 36th Asilomar Conference on Signals, Systems and Computers, Vol. 1. Pacific Grove, CA, USA; 2002:240-244.

    Google Scholar 

  4. Ascenso J, Brites C, Dufaux F, Fernando A, Ebrahimi T, Pereira F, Tubaro S: The VISNET II DVC codec: architecture, tools and performance. In Proceedings of European Signal Processing Conference (EUSIPCO). Aalborg, Denmark; 2010.

    Google Scholar 

  5. Artigas X, Ascenso J, Dalai M, Klomp S, Kubasov D, Ouaret M: The DISCOVER codec: architecture, techniques and evaluation. In Proceedings of Picture Coding Symposium (PCS). Lisbon, Portugal; 2007:1-4.

    Google Scholar 

  6. ITU-T and ISO/IEC JTC 1: Advanced Video Coding for Generic Audiovisual Services. ITU-T Rec. H.264/AVC and ISO/IEC 14496–10 (including SVC extension). 2009.

    Google Scholar 

  7. Schwarz H, Marpe D, Wiegand T: Overview of the scalable video coding extension of the H.264/AVC standard. IEEE Trans. Circuits Syst. Video Technol 2007, 17: 1103-1120.

    Article  Google Scholar 

  8. Peixoto E, Queiroz RL, Mukherjee D: A Wyner–Ziv video transcoder. IEEE Trans. Circuits Syst. Video Technol. 2010, 20: 189-200.

    Article  Google Scholar 

  9. Martínez JL, Fernández-Escribano G, Kalva H, Fernando WAC, Cuenca P: Wyner–Ziv to H.264 video transcoder for low cost video encoding. IEEE Trans. Consum. Electron. 2009, 55: 1453-1461.

    Article  Google Scholar 

  10. Al-Muscati H, Labeau F: Temporal transcoding of H.264/AVC video to the scalable format. In Proceeding of 2nd International Conference on Image Processing Theory Tools and Applications (IPTA). Paris, France; 2010:138-143.

    Google Scholar 

  11. Garrido-Cantos R, De Cock J, Martínez JL, Van Leuven S, Cuenca P, Garrido A, Van de Walle R: Video adaptation for mobile digital television. In Proceedings of 3rd joint IFIP Wireless and Mobile Networking Conference (WMNC). Budapest, Hungary; 2010:1-6.

    Google Scholar 

  12. Corrales-García A, Martínez JL, Fernández-Escribano G, Quiles FJ: Scalable mobile-to-mobile video communications based on an improved WZ-to-SVC transcoder. In Proceedings of International Conference on MultiMedia Modeling (MMM), Lecures Notes in Computer Science, Vol. 7131. Klagenfurt, Austria; 2012:233-243.

    Google Scholar 

  13. Corrales Garcia A, Martinez Martinez JL, Fernandez Escribano G: Reducing DVC decoder complexity in a multicore system. In Proceedings of IEEE International Workshop on Multimedia Signal Processing (MMSP). Saint-Malo, France; 2010:315-320.

    Google Scholar 

  14. Corrales Garcia A, Martinez Martinez JL, Fernandez Escribano G, Quiles Flor FJ, Fernando WAC: Wyner-Ziv frame parallel decoding based on multicore processors. In Proceedings of 13th IEEE International Workshop on Multimedia Signal Processing (MMSP). Hangzhou, China; 2011:1-6.

    Google Scholar 

  15. Areia J, Ascenso J, Brites C, Pereira F: Low complexity hybrid rate control for lower complexity Wyner-Ziv video decoding. In Proceedings of 16th European Signal Processing Conference (EUSIPCO). Lausanne, Switzerland; 2008.

    Google Scholar 

  16. Ascenso J, Brites C, Pereira F: Improving frame interpolation with spatial motion smoothing for pixel domain distributed video coding. In Proceddings of 5th EURASIP Conference on Speech and Image Processing, Multimedia Communications and Services (EC–SIP–M). Slovak Republic: Smolenice Castle; 2005.

    Google Scholar 

  17. Sullivan G, Bjøntegaard G: Recommended simulation common conditions for H.26L coding efficiency experiments on low-resolution progressive-scan source material. ITU-T VCEG, Doc. VCEG-N81 2001.

    Google Scholar 

  18. Joint Scalable Video Model (JSVM) Reference Software, Version 9.19.3. Available at:

Download references


This study was supported by the Spanish MEC and MICINN, as well as European Commission FEDER funds, under Grant nos. CSD2006-00046 and TIN2009-14475-C04. It was also partly supported by the JCCM funds under Grant nos. PEII09-0037-2328 and PII2I09-0045-9916, and the University of Castilla-La Mancha under Project AT20101802. This study was performed by using the VISNET2-WZ-IST software developed in the framework of the VISNET II project.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Alberto Corrales-García.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Corrales-García, A., Martínez, J.L., Fernández-Escribano, G. et al. Temporal scalable mobile video communications based on an improved WZ-to-SVC transcoder. EURASIP J. Adv. Signal Process. 2013, 35 (2013).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: