# US 2024/0205426 A1 · Editable video data signed on decompressed data

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

- Number: US 2024/0205426 A1
- Document ID: US20240205426A1
- Status: Published application
- Kind: A1
- Application number: 18/510,996
- Filed: 2023-11-16
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: Axis AB
- Applicants: Axis AB
- Inventors: Björn VÖLCKER; Stefan Lundberg
- Web page: https://patentgrep.com/patent/US20240205426A1

## CPC

- H04N 19/176: the region being a block, e.g. a macroblock
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/3247: {involving digital signatures}
- H04N 19/40: using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 21/835: Generation of protective data, e.g. certificates {(protecting software against unauthorised usage in a vending or licensing environment G06F21/10)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A signed video bitstream obtained by prediction coding of a video sequence includes data units and associated signature units, wherein each data unit represents one macroblock in a video frame. Each signature unit includes a digital signature of a bitstring derived from fingerprints, and each fingerprint has been computed from a macroblock reconstructed from one data unit associated with the signature unit. The bitstream is edited by: receiving a request to substitute a region; reconstructing a first set of macroblocks, in which said region is contained, and a second set of macroblocks referring to macroblocks in the first set; adding an archive object that includes fingerprints of the first set of macroblocks; editing the first set of data units and encoding them; re-encoding the second set of macroblocks; and adding the new data units to the signed video bitstream.

## Claims

### Claim 1

A method of editing a signed video bitstream obtained by prediction coding of a video sequence, wherein:
the signed video bitstream includes data units and associated signature units, each data unit representing one macroblock in a video frame of the prediction-coded video sequence, each signature unit including a digital signature of a bitstring derived from a plurality of fingerprints, and each fingerprint has been computed from a macroblock reconstructed from one data unit associated with the signature unit, the method comprising:
receiving a request to substitute a region of at least one video frame;
reconstructing a first set of macroblocks, in which said region is contained, and a second set of macroblocks referring directly or indirectly to macroblocks in the first set;
adding an archive object to the signed video bitstream, the archive object including fingerprints computed from the reconstructed first set of macroblocks;
editing the first set of macroblocks in accordance with the request to substitute the region of the at least one video frame, and encoding the edited first set of macroblocks as a first set of new data units;
re-encoding the second set of macroblocks as a second set of new data units; and
adding the first and second sets of new data units to the signed video bitstream.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
adding fingerprints computed from the edited first set of macroblocks to the bitstream, wherein:
a signature unit associated with data units encoding the first set of macroblocks is replaced with a substitute signature unit, which includes a digital signature of a bitstring derived from at least the computed fingerprints, or
at least one new signature unit, which includes a bitstring derived from a digital signature of the computed fingerprints.

### Claim 3 (depends on 1)

The method of claim 1, wherein the archive object further includes positions of the first set of macroblocks.

### Claim 4 (depends on 1)

The method of claim 1, wherein the second set of macroblocks are re-encoded losslessly.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the second set of macroblocks are re-encoded using reduced data compression; and
the fingerprints of the second set of macroblocks in the signed video bitstream include robust hashes.

### Claim 6 (depends on 1)

The method of claim 1, wherein the second set of macroblocks are re-encoded non-predictively.

### Claim 7 (depends on 1)

The method of claim 1, wherein the second set of macroblocks are re-encoded predictively with reference to the edited first set of macroblocks.

### Claim 8 (depends on 1)

The method of claim 1, wherein editing and encoding the first set of macroblocks includes:
encoding the edited first set of macroblocks losslessly and/or using reduced data compression and/or non-predictively.

### Claim 9 (depends on 1)

The method of claim 1, further comprising initially providing a signature unit, which comprises:
reconstructing a plurality of macroblocks from respective data units associated with the signature unit;
computing a plurality of fingerprints from the respective reconstructed macroblocks;
deriving a bitstring from the computed fingerprints; and
obtaining a digital signature of the bitstring.

### Claim 10 (depends on 9)

The method of claim 9, wherein the bitstring is a combination of said plurality of fingerprints or a fingerprint of said combination.

### Claim 11 (depends on 1)

The method of claim 1, wherein computing the fingerprints includes retrieving the reconstructed macroblocks from a reference decoder buffer.

### Claim 12

A method of validating a signed media bitstream obtained by prediction coding of a video sequence, wherein:
the signed video bitstream includes data units, associated signature units and an archive object,
each data unit represents one macroblock in a video frame of the prediction-coded video sequence,
each signature unit includes a digital signature of a bitstring derived from a plurality of fingerprints,
each fingerprint has been computed from a macroblock reconstructed from one data unit associated with the signature unit, and
the archive object includes at least one archived fingerprint, the method comprising:
reconstructing macroblocks from data units associated with a signature unit;
computing respective fingerprints from at least some of the reconstructed macroblocks;
retrieving at least one archived fingerprint from the archive object;
deriving a bitstring from the computed and retrieved fingerprints; and
validating the data units associated with the signature unit using the digital signature in the signature unit.

### Claim 13 (depends on 12)

The method of claim 12, wherein:
the archive object further indicates positions of macroblocks to which the archived fingerprints pertain; and
deriving the bitstring comprises deciding, based on the positions according to the archive object, for each data unit associated with the signature unit, whether to compute a fingerprint from a reconstructed macroblock or retrieve a corresponding archived fingerprint from the archive object.

### Claim 14

A non-transitory computer readable recording medium comprising a computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out a method of editing a signed video bitstream obtained by prediction coding of a video sequence, wherein: the signed video bitstream includes data units and associated signature units, each data unit representing one macroblock in a video frame of the prediction-coded video sequence, each signature unit including a digital signature of a bitstring derived from a plurality of fingerprints, and each fingerprint has been computed from a macroblock reconstructed from one data unit associated with the signature unit, the method comprising:
receiving a request to substitute a region of at least one video frame;
reconstructing a first set of macroblocks, in which said region is contained, and a second set of macroblocks referring directly or indirectly to macroblocks in the first set;
adding an archive object to the signed video bitstream, the archive object including fingerprints computed from the reconstructed first set of macroblocks;
editing the first set of macroblocks in accordance with the request to substitute the region of the at least one video frame, and encoding the edited first set of macroblocks as a first set of new data units;
re-encoding the second set of macroblocks as a second set of new data units; and
adding the first and second sets of new data units to the signed video bitstream.
