# US 2004/0081333 A1 · Method and system for securing compressed digital video

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0081333 A1
- Document ID: US20040081333A1
- Status: Published application
- Kind: A1
- Application number: 10/615,898
- Filed: 2003-07-08
- Published: 2004-04-29
- Earliest claimed: 2002-10-23
- Assignees: Divx, LLC
- Inventors: Eric W. Grab; Adam H. Li
- Web page: https://patentgrep.com/patent/US20040081333A1

## CPC

- H04N 21/44055: {by partially decrypting, e.g. decrypting a video stream that has been partially encrypted}
- H04K 1/00: Secret communication
- H04L 9/065: {Encryption by serially and continuously modifying data stream elements, e.g. stream cipher systems, RC4, SEAL or A5/3}
- H04N 7/1675: {Providing digital key or authorisation information for generation or regeneration of the scrambling sequence (pseudo-random number generators in general G06F7/58)}
- H04N 21/23476: {by partially encrypting, e.g. encrypting the ending portion of a movie}
- H04N 21/63345: {by transmitting keys (key distribution for secret or secure communication H04L9/08; network support of key management H04L63/06)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04K: SECRET COMMUNICATION; JAMMING OF COMMUNICATION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for producing and for subsequently decrypting a protected stream of compressed video content is described herein. The method includes receiving an input stream of compressed video content containing a sequence of frames. A set of encrypted frames are created by encrypting selected frames of the sequence of frames in accordance with a frame encryption function. The method further includes generating frame decryption information necessary to decrypt the set of encrypted frames. In a particular implementation the protected stream is assembled using the set of encrypted frames, unencrypted frames from the input stream, and the frame decryption information. The decryption process is initiated by receiving the protected stream of compressed video content and the corresponding frame decryption information. In this regard the frame decryption information includes data distinguishing the encrypted frames from the unencrypted frames of the compressed video content within the protected stream. The encrypted frames are then decrypted in accordance with the frame decryption information.

## Claims

### Claim 1

A method for producing a protected stream of compressed video content, said method comprising:
receiving an input stream of compressed video content containing a sequence of frames;
creating a set of encrypted frames by encrypting at least selected portions of selected frames of said sequence of frames in accordance with a frame encryption function;
generating frame decryption information necessary to decrypt said set of encrypted frames; and
assembling said protected stream using at least said set of encrypted frames and said frame decryption information.

### Claim 2 (depends on 1)

The method of claim 1 wherein said assembling further includes using unencrypted frames of said sequence of frames, said frame decryption information being synchronized with said set of encrypted frames.

### Claim 3 (depends on 2)

The method of claim 2 wherein said frame decryption information includes encryption status information corresponding to each frame of said protected stream.

### Claim 4 (depends on 2)

The method of claim 2 wherein said frame decryption information includes decryption key information corresponding to encrypted frames within said protected stream.

### Claim 5 (depends on 2)

The method of claim 2 wherein said frame decryption information includes intra-frame encryption offset information corresponding to each encrypted frame of said protected stream.

### Claim 6 (depends on 2)

The method of claim 2 wherein said frame decryption information includes information identifying a data field size to be decrypted with respect to each encrypted frame of said protected stream.

### Claim 7 (depends on 1)

The method of claim 1 further including encrypting a first consecutive number of said selected frames using a first frame encryption key and encrypting a second consecutive number of said selected frames using a second frame encryption key.

### Claim 8 (depends on 1)

The method of claim 1 wherein said assembling includes synchronizing said frame decryption information with said set of encrypted frames.

### Claim 9 (depends on 5)

The method of claim 5 further including parsing said input stream in order to determine frame boundaries and frame types associated with frames of said sequence of frames.

### Claim 10 (depends on 9)

The method of claim 9 further including maintaining counts corresponding to each of said frame types, said counts and said boundaries being used to determine said intra-frame encryption offset information.

### Claim 11 (depends on 9)

The method of claim 9 further including maintaining counts corresponding to each of said frame types, said counts being used to determine when to generate new encryption keys used in said of encrypting of said selected frames.

### Claim 12 (depends on 10)

The method of claim 10 wherein said parsing further includes determining sizes of said frames of said sequence of frames, said sizes also being used in determining said intra-frame offset information.

### Claim 13 (depends on 1)

The method of claim 1 further including determining a number of bytes to be encrypted within each of said selected frames based upon a level of available processing power and a desired degradation of visual quality.

### Claim 14

A method for decrypting compressed video content comprising:
receiving an input stream of compressed video content containing encrypted frames and unencrypted frames;
receiving frame decryption information necessary to decrypt said encrypted frames, said frame decryption information distinguishing said encrypted frames from said unencrypted frames; and
decrypting said encrypted frames in accordance with said frame decryption information.

### Claim 15 (depends on 14)

The method of claim 14 wherein said input stream and said frame decryption information collectively comprise a protected video stream, said frame decryption information being synchronized with said encrypted frames within said input stream.

### Claim 16 (depends on 14)

The method of claim 14 wherein said frame decryption information includes encryption status information corresponding to each of said encrypted frames.

### Claim 17 (depends on 14)

The method of claim 14 wherein said frame decryption information includes decryption key information corresponding to each of said encrypted frames

### Claim 18 (depends on 14)

The method of claim 14 wherein said frame decryption information includes intra-frame encryption offset information corresponding to each of said encrypted frames.

### Claim 19 (depends on 14)

The method of claim 14 wherein said frame decryption information includes size information identifying a data field size to be decrypted with respect to each of said encrypted frames.

### Claim 20 (depends on 14)

The method of claim 14 wherein said decrypting includes decrypting a first consecutive number of said encrypted frames using a first frame decryption key and decrypting a second consecutive number of said encrypted frames using a second frame decryption key.

### Claim 21

An encrypting digital video encoder comprising:
a video processing unit for generating a plurality of input data streams in response to a sequence of uncompressed video frames;
an entropy compression unit for creating, based upon said plurality of input data streams, compressed video content containing a sequence of compressed frames; and
a video encryption module configured to transform said sequence of compressed frames into a protected video stream containing at least a set of encrypted frames and frame decryption information necessary to decrypt said set of encrypted frames.

### Claim 22 (depends on 21)

The encoder of claim 21 wherein said protected video stream is comprised of an encrypted video stream including said set of encrypted frames and unencrypted ones of said compressed frames, said frame decryption information being synchronized with said encrypted video stream.

### Claim 23 (depends on 22)

The encoder of claim 22 wherein said frame decryption information includes encryption status information corresponding to each frame of said encrypted video stream.

### Claim 24 (depends on 22)

The encoder of claim 22 wherein said frame decryption information includes decryption key information, intra-frame encryption offset information, and data field size decryption information corresponding to each frame of said encrypted video stream.

### Claim 25 (depends on 21)

The encoder of claim 21 wherein said video encryption module is operative to parse said sequence of frames in order to determine frame boundaries and frame types associated with individual frames of said sequence of frames.

### Claim 26 (depends on 25)

The encoder of claim 25 wherein said video encryption module is operative to maintain counts corresponding to each of said frame types, said counts and said boundaries being used to determine intra-frame encryption offset information.

### Claim 27 (depends on 25)

The encoder of claim 25 wherein said video encryption module is operative to maintain counts corresponding to each of said frame types, said counts being used to determine when to create new encryption keys used in generating ones of said encrypted frames.

### Claim 28

An decrypting digital video decoder comprising:
a video decryption module configured to receive a protected input stream of compressed video content containing at least a set of encrypted frames and frame decryption information, said frame decryption information being necessary for decrypting said set of encrypted frames so as to form a set of decrypted frames;
an entropy decompression unit for creating, based at least in part upon said set of decrypted frames, a plurality of video data streams; and
a video processing unit for generating an output stream of uncompressed video content in response to said plurality of video data streams.

### Claim 29 (depends on 28)

The decoder of claim 28 wherein said protected input stream is comprised of an encrypted video stream including said set of encrypted frames and unencrypted frames, said frame decryption information being synchronized with said encrypted video stream.

### Claim 30 (depends on 29)

The decoder of claim 29 wherein said frame decryption information includes encryption status information corresponding to each frame of said encrypted video stream.

### Claim 31 (depends on 29)

The decoder of claim 29 wherein said frame decryption information includes decryption key information, intra-frame encryption offset information, and data field size decryption information corresponding to each frame of said encrypted video stream.
