Robust video encryption for H.264 compressed bitstream based on cross-coupled chaotic cipher


In order to realize the secure transmission of the H.264 compressed video bitstream, a detailed analysis of the structure for video bitstream is performed. The parameter set and frame header data related to video decoding are retained, and the slice data payload in the network abstraction layer unit is selected as the encryption object. The video format is compliant under the premise of real time and security. The novel cross-coupled chaotic system is designed as the key stream generation component, and the key stream is closely related to the plaintext through the synchronization vector mechanism. When part of the ciphertext stream is lost, the subsequent units can still be decrypted normally, which solves the problem of robustness encryption and decryption for video stream based on chaotic cipher. Detailed performance testing and security analysis data show that the proposed scheme has obvious advantages over existing research in terms of time overhead, compression ratio, anti-chosen-plaintext attack and robustness.

This is a preview of subscription content, log in to check access.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16


  1. 1.

    Jiang, J., Liu, Y., Su, Z., et al.: An improved selective encryption for H.264 video based on intra prediction mode scrambling. J. Multimed. 5(5), 464–472 (2010)

    Google Scholar 

  2. 2.

    Khlif, N., Damak, T., Kammoun, F., et al.: A very efficient encryption scheme for the H.264/AVC CODEC adopted in Intra prediction mode. In: Image Processing, Applications and Systems Conference, pp. 1–7. IEEE (2014)

  3. 3.

    Wang, Y., O’Neill, M., Kurugollu, F.: The improved sign bit encryption of motion vectors for H.264/AVC. In: Signal Processing Conference, pp. 1752–1756. IEEE (2012)

  4. 4.

    Mao, N., Zhuo, L., Zhang, J., et al.: Fast compression domain video encryption scheme for H.264/AVC streaming. In: International Conference on Advanced Communication Technology, pp. 425–429. IEEE (2012)

  5. 5.

    Joshi, J., Dalal, U.: Selective encryption using ISMACryp in real time video streaming of H.264/AVC for DVB-H application. World Acad. Sci. Eng. Technol. 2011(79), 342–346 (2011)

    Google Scholar 

  6. 6.

    Wang, Y., O’Neill, M., Kurugollu, F.: Partial encryption by randomized zig-zag scanning for video encoding. In: IEEE International Symposium on Circuits and Systems, pp. 229–232. IEEE (2016)

  7. 7.

    Shahid, Z., Chaumont, M., Puech, W.: Fast protection of H.264/AVC by selective encryption of CAVLC and CABAC for I and P frames. IEEE Trans. Circuits Syst. Video Technol. 21(5), 565–576 (2011)

    Google Scholar 

  8. 8.

    Khlif, N., Damak, T., Kammoun, F., et al.: Selective encryption of CAVLC for H.264/AVC. In: International Conference on Sciences and Techniques of Automatic Control and Computer Engineering, pp. 314–317. IEEE (2014)

  9. 9.

    Xu, H., Tong, X.J., Zhang, M., et al.: Dynamic video encryption algorithm for H.264/AVC based on a spatiotemporal chaos system. J. Opt. Soc. Am. A 33(6), 1166–1174 (2016)

    Google Scholar 

  10. 10.

    Magli, E., Grangetto, M., Olmo, G.: Transparent encryption techniques for H.264/AVC and H.264/SVC compressed video. Signal Process. 91(5), 1103–1114 (2011)

    Google Scholar 

  11. 11.

    Ma, T., Ma, M., Lee, Y.H., et al.: Bitstream-oriented protection for the H.264/scalable video coding (SVC). Wirel. Pers. Commun. 97(9), 1–21 (2017)

    Google Scholar 

  12. 12.

    Almasalha, F., Hasimotobeltran, R., Khokhar, A.: Partial encryption of entropy-coded video compression using coupled chaotic maps. Entropy 16(10), 5575–5600 (2014)

    MathSciNet  Google Scholar 

  13. 13.

    Saleh, M.A., Hashim, H., Tahir, N.M.: A low computational method of secure video streaming in mobile system. In: 2014 IEEE Symposium on Computer Applications & Industrial Electronics (ISCAIE), pp. 193–197. IEEE (2015)

  14. 14.

    Unterweger, A., Ryckegem, K.V., Engel, D., et al.: Building a post-compression region-of-interest encryption framework for existing video surveillance systems. Multimed. Syst. 22(5), 1–23 (2015)

    Google Scholar 

  15. 15.

    Khlif, N., Masmoudi, A., Kammoun, F., et al.: Secure chaotic dual encryption scheme for H.264/AVC video conferencing protection. IET Image Process. 12(1), 42–52 (2018)

    Google Scholar 

  16. 16.

    Hamidouche, W., Farajallah, M., Sidaty, N., et al.: Real-time selective video encryption based on the chaos system in scalable HEVC extension. Signal Process. Image Commun. 58, 73–86 (2017)

    Google Scholar 

  17. 17.

    Chang, Y.T., Lin, Y.C.: Dynamic reconfigurable encryption and decryption with chaos/M-sequence mapping algorithm for secure H.264/AVC video streaming over OCDMA passive optical network. Multimed. Tools Appl. 75(16), 9837–9859 (2016)

    Google Scholar 

  18. 18.

    Zhang, X., Yu, S., Chen, P., et al.: Design and ARM-embedded implementation of a chaotic secure communication scheme based on H.264 selective encryption. Nonlinear Dyn. 89(8), 1–17 (2017)

    Google Scholar 

  19. 19.

    Saini, N., Sinha, A.: Video encryption using chaotic masks in joint transform correlator. J. Opt. 17(3), 73–93 (2015)

    Google Scholar 

  20. 20.

    Li, C., Xie, T., Liu, Q., et al.: Cryptanalyzing image encryption using chaotic logistic map. Nonlinear Dyn. 78(2), 1545–1551 (2014)

    Google Scholar 

  21. 21.

    Zhou, Y., Hua, Z., Pun, C.M., et al.: Cascade chaotic system with applications. IEEE Trans. Cybern. 45(9), 2001–2012 (2015)

    Google Scholar 

  22. 22.

    Tong, F.Z., Li, S.L., Ge, R.J., et al.: A novel 1D hybrid chaotic map-based image compression and encryption using compressed sensing and Fibonacci–Lucas transform. Math. Probl. Eng. 2016(3), 1–15 (2016)

    MathSciNet  Google Scholar 

  23. 23.

    Özkaynak, F.: A novel method to improve the performance of chaos based evolutionary algorithms. Optik 126(24), 5434–5438 (2015)

    Google Scholar 

  24. 24.

    Murillo-Escobar, M.A., Cruz-Hernández, C., Cardoza-Avendaño, L., et al.: A novel pseudorandom number generator based on pseudo randomly enhanced logistic map. Nonlinear Dyn. 87(1), 407–425 (2017)

    Google Scholar 

  25. 25.

    Liu, Y., Luo, Y., Song, S., et al.: Counteracting dynamical degradation of digital chaotic Chebyshev map via perturbation. Int. J. Bifurc. Chaos 27(3), 1750033 (2017)

    MathSciNet  MATH  Google Scholar 

  26. 26.

    Hua, Z., Zhou, Y.: Dynamic parameter-control chaotic system. IEEE Trans. Cybern. 46(12), 3330–3341 (2017)

    Google Scholar 

  27. 27.

    Xu, H., Tong, X., Meng, X.: An efficient chaos pseudo-random number generator applied to video encryption. Optik Int. J. Light Electron Opt. 127(20), 9305–9319 (2016)

    Google Scholar 

  28. 28.

    Sallam, A.I., Faragallah, O.S., El-Rabie, E.S.M.: HEVC selective encryption using RC6 block Cipher technique. IEEE Trans. Multimed. 20(7), 1636–1644 (2018)

    Google Scholar 

  29. 29.

    Ding, X., Deng, Y., Yang, G., et al.: Design of new scan orders for perceptual encryption of H.264/AVC videos. IE Inf. Secur. 11(2), 55–65 (2017)

    Google Scholar 

  30. 30.

    Ma, T., Ma, M., Hu, F.: Scalable protection scheme for the H.264/SVC video streaming. In: International Conference on Wireless Communications and Signal Processing, pp. 1–6 (2017)

  31. 31.

    Boyadjis, B., Bergeron, C., Pesquet-Popescu, B., et al.: Extended selective encryption of H.264/AVC (CABAC) and HEVC-encoded video streams. IEEE Trans. Circuits Syst. Video Technol. 27(4), 892–906 (2017)

    Google Scholar 

  32. 32.

    Zhou, Y., Bao, L., Chen, C.L.P.: A new 1D chaotic system for image encryption. Signal Process. 97(7), 172–182 (2014)

    Google Scholar 

  33. 33.

    Zang, H.Y., Chai, H.Y.: Homogenization and entropy analysis of a quadratic polynomial chaotic system. Acta Phys. Sin. 65(3), 030504-1–030504-7 (2016)

    Google Scholar 

  34. 34.

    Liu, S., Rho, S., Jifara, W., et al.: A hybrid framework of data hiding and encryption in H.264/SVC. Discrete Appl. Math. 241(31), 48–57 (2018)

    MathSciNet  MATH  Google Scholar 

  35. 35.

    Peng, F., Gong, X.Q., Long, M., et al.: A selective encryption scheme for protecting H.264/AVC video in multimedia social network. Multimed. Tools Appl. 76(3), 1–19 (2016)

    Google Scholar 

  36. 36.

    Li, J., Wang, C., Chen, X., et al.: A selective encryption scheme of CABAC based on video context in high efficiency video coding. Multimed. Tools Appl. 77(10), 12837–12851 (2018)

    Google Scholar 

  37. 37.

    Asghar, M.N., Kousar, R., Majid, H., et al.: Transparent encryption with scalable video communication: lower-latency, CABAC-based schemes. J. Vis. Commun. Image Represent. 45, 122–136 (2017)

    Google Scholar 

  38. 38.

    Wei, Z., Wu, Y., Ding, X., et al.: A scalable and format-compliant encryption scheme for H.264/SVC bitstreams. Signal Process. Image Commun. 27(9), 1011–1024 (2012)

    Google Scholar 

Download references


This work was supported by the following projects and foundations: project ZR2019MF054 supported by Shandong Provincial Natural Science Foundation, the Foundation of Science and Technology on Information Assurance Laboratory (No. KJ-17-004), 2017 Weihai University Co-construction Project, Equip Pre-research Projects of 2018, Foundation of China Academy of Space Technology (No. WT-TXYY/WLZDFHJY003), the Fundamental Research Funds for the Central Universities (Grant No. HIT.NSRIF.2020099), National Natural Science Foundation of China (Grant No. 61902091), Shandong College Science and Technology Planning Project (No. J18KB166), University Nursing Program for Young Scholars with Creative Talents in Heilongjiang Province (UNPYSCT-2016036) and National Natural Science Foundation of China (No. 61702139).

Author information



Corresponding author

Correspondence to Xiaojun Tong.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Communicated by A. Sur.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Xu, H., Tong, X., Wang, Z. et al. Robust video encryption for H.264 compressed bitstream based on cross-coupled chaotic cipher. Multimedia Systems 26, 363–381 (2020).

Download citation


  • Cross-coupling chaotic cipher
  • Video encryption
  • Robustness
  • H.264 coding stream
  • Synchronization vector