Method for enciphering H.264 video based on CAVLC encode

An encryption method and encoding technology, which is applied in digital video signal modification, television, electrical components, etc., can solve the problems of immature development and limitations of entropy encoding encryption technology, and achieve key generation and distribution. The time required for small, compressed encoding The impact of time is small and the computational complexity is good

Inactive Publication Date: 2010-06-23
BEIJING UNIV OF TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

To solve the problem that most of the current video encryption technologies are mainly limited to

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for enciphering H.264 video based on CAVLC encode
  • Method for enciphering H.264 video based on CAVLC encode
  • Method for enciphering H.264 video based on CAVLC encode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The overall technical scheme that the present invention takes is: in the entropy coding CAVLC coding process of H.264 video compression coding, the RC4 algorithm that adopts initializes a 256-byte state table with the variable-length key of 1-256 bytes, and then Use the generated pseudo-random key stream and the number of non-zero coefficients (TotalCoeffs), the number of trailing coefficients (TrailingOnes), the number of zeros before the last non-zero coefficient (TotalZeros), the number of zeros before each non-zero coefficient ( The index numbers of each codeword in the encoding table of Runbefore) are XORed, and a new index number is obtained, and its corresponding new codeword is found in the original code table according to the new index number as code stream output. Through this encryption method, the position of the code word corresponding to the data to be encoded in the original code table is disturbed, and a new code word different from the original code word...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a video encryption method based on H.264 encoded by CAVLC, wherein in the process of CAVLC encoding of H.264 video compression coding, a 1-256-byte length variable cipher is used to initialize a 256-byte state table through RC4 algorithm, a generated pseudorandom key stream is used to be discrepant with the index number of code words to be encoded in an encoding table withthe number of nonzero coefficients, the number of tailing coefficients, the number of zeros prior to the last nonzero coefficient, and the number of zeros prior to each nonzero coefficient, or is used to generate a new index number; and based on the new index number, a new code word corresponding to the new index number is found in the prior code table and output as a code stream, so that encryption is realized. After encryption, the new code word needs to be judged, an area of code word is set up compulsively for invalid code words, and the index number of the invalid code words is changed to an index number of valid code words, so that the invalid code words roll back to the area of the valid code words. The method performs the encryption simultaneously during the H.264 encoding process, and has minor influence on compression coding time, higher encrypting speed, and better performance on safety.

Description

Technical field: [0001] The invention relates to the technical field of secure communication, and aims at a method for exchanging a given symbol sequence into an incomprehensible symbol sequence by converting symbols. technical background: [0002] H.264 is a new generation of video compression coding standard. Its excellent compression performance and good network affinity make it widely used in real-time video communication, storage and other fields. The entropy coding method is a lossless coding method commonly used in H.264 and other video compression standards. Encryption methods based on entropy coding have been studied to some extent. Chunping Wu once proposed an MHT method in the document Efficient Multimedia Encryption via Entropy CodecDesign, which trains 2k different huffman code tables through variation numbers, generates random variables as keys and selects different code tables to complete the encryption of the original data stream. Dahua Xie proposed an enha...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N7/26H04N19/13H04N19/46
Inventor 蔡勉李燕闫磊贾佳
Owner BEIJING UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products