Streaming media video encryption method and device based on H.264

An encryption method and streaming media technology, applied in the field of video processing, can solve problems such as slow encryption speed, achieve enhanced security, prevent known plaintext attacks, and be easy to implement

CN103856786AInactive Publication Date: 2014-06-11RES INST OF SUN YAT SEN UNIV & SHENZHEN
1 Cites 16 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2014-06-11
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a streaming media video encryption method and device based on H.264. The encryption method includes the steps that context-based adaptive variable length coding and QTC encryption are synchronously performed on the QTC, and the processed QTC is obtained; the prediction mode and motion vectors are scrambled, and the scrambled prediction mode and the scrambled motion vectors are obtained; multiplexing is performed on the processed QTC, the scrambled prediction mode and the scrambled motion vectors, and encrypted video data streams are input. Through the encryption method and device, the intra-frame prediction mode scrambling method in the prior art is improved, and Friedman key guessing and known plaintext attach can be prevented; safety of motion content is enhanced; the method is easy to achieve, real-time application complexity of data encryption in real-time application can be reduced, and the code error robustness of transmission of encrypted code streams is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of video processing, in particular to an H.264-based streaming media video encryption method and an encryption device thereof. Background technique

[0002] H.264 is the latest video coding standard formulated jointly by ITU-T and ISO / IEC, and its security encryption technology is becoming a research hotspot. H.264 can provide higher compression performance than H.263 and MPEG4, and can save 30% to 50% bit rate when the image reconstruction quality is the same. Its main new features are: (1) intra-frame coding adopts intra-frame prediction method to reduce the spatial redundancy of Intra frame; (2) inter-frame prediction supports 7 variable block sizes, and each block contains explicit The number of motion vectors improves the accuracy of motion estimation; (3) Entropy coding uses two coding methods, namely context-adaptive variable length coding (Context-Adaptive Varialbe-Length Coding, CAVLC) and adaptive...

Examples

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] The present invention proposes a H.264-based streaming media video encryption method and its encryption device by analyzing candidate domains suitable for H.264 encryption, including simultaneous encryption of CAVLC and quantized transformation coefficient (QTC), and scrambling of prediction modes Scrambling with the motion vector can achieve fast encryption speed, high security, enhance the robustness of transmission error, and reduce the impact on the compr...