Flexible Macroblock Ordering Scramble Encryption Techniques for H.264/AVC Videos


  • Yih-Chuan Lin
  • Wei-Siang Wang
  • Yao-Tang Chang


violation of privacy, H.264/AVC, video encryption, protection effect


In this paper, a new video encryption method through scrambling the compressed videos is presented, which is targeted for H.264/AVC video encryptionin order to provide the greatest content protection in the compressed domain.The proposed algorithm uses a macroblock switching mechanism to scramble the video contentfor the compressed video sequences. Only the instantaneous decoded reference (IDR) pictures are scrambled to take the advantage of drift error propagation from all the inter-prediction frames. The proposed encryption technique is designed to perform after the encoding process on the compressed bitstream such that bitstream is modified by the parser directly. Finally,the scrambled video is still format-compliant to a general H.264/AVC decoder and can only be recovered by the authorized user that owns private key. Based on experimental results, the scene in the scrambled video can be effectively protected by the proposed scheme with low computational complexity and negligiblebitrate overhead.


Z. Shahid, M. Chaumont, and W. Puech, “Fast protection of H.264/AVC by selective encryption of CAVLC and CABAC for I and P frames,” IEEE Trans. Circuits Syst. Video Technol., vol. 21, no. 5, pp. 565-576, March 2011.

Y. Wang, M. O'Neill, and F. Kurugollu, “A tunable encryption scheme and analysis of fast selective encryption for CAVLC and CABAC in H.264/AVC,” IEEE Trans. Circuits Syst. Video Technol., vol. 23, no. 9, pp. 1476-1490, February 2013.

Y. T. Chang and Y. C. Lin, “The scrambling cryptography implemented with chaotic sequence trigger optical switch algorithm in WDM passive optical network,” Proc. IEEE Int. Carnahan Conference on Security Technology, September 2015.

W. S. Wang and Y. C. Lin, “A tunable data hiding scheme for CABAC in H.264/AVC video streams,” Proc. IEEE Int. Symposium on Next-Generation Electronics, May 2015.




How to Cite

Y.-C. Lin, W.-S. Wang, and Y.-T. Chang, “Flexible Macroblock Ordering Scramble Encryption Techniques for H.264/AVC Videos”, Proc. eng. technol. innov., vol. 3, pp. 19–21, Aug. 2016.