The invention discloses an 
encryption domain H.264 / AVC video reversible data hiding method. Under the premise that the 
encryption domain H.264 / AVC video reversible data hiding method is compatible with an H.264 / AVC video compressed encoding standard, code words of prediction 
modes, Exp-Golomb code words of 
motion vector difference and sign bits of residual error coefficients are selected to be encrypted, 
computation complexity is low, the application demands of real-time videos are met, and 
encryption safety is high. Meanwhile, influences of encryption on the 
code rate of code streams of H.264 / AVC videos are quite small, and the problem of 
data expansion in the video encryption process is solved. A data hiding person can embed private information in the H.264 / AVC videos of an encryption domain directly, and thus the problems of video content safety and privacy disclosure can be solved effectively. The 
hidden data can be extracted effectively from the encryption domain and can also be extracted effectively from a decryption domain, namely, 
data extraction and 
data decryption are separated completely, and practicality is high. In addition, the encryption domain H.264 / AVC video reversible data hiding method is completely revisable, and original videos can be restored without damage after the hidden information is decrypted and extracted.