A digital media processing method, device and computer readable medium
Through secure hash algorithm and digital signature technology, the problem of source authentication and integrity verification of image/video/audio content is solved, security authentication and lossless coding detection of image/video/audio content are realized, and the credibility of the content is improved. sex and safety.
Patent Information
- Application Number
- CN202180020793.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-22
- Filing Date
- 2021-03-10
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-03-10
AI Technical Summary
Existing technology cannot effectively verify whether the image/video comes from an authenticated source, whether it has been tampered with, whether it is lossless encoding, and whether the source of the audio is authenticated, and the security of the current decoded picture hash SEI message is insufficient.
Employ secure hashing algorithms such as SHA-2 or SHA-3 to calculate secure hash values for images/videos/audio and signal these values to ensure content integrity and origin authentication, using digital signatures and trustworthiness timestamps to verify the integrity and authenticity of media clips.
Provides a security mechanism to verify the integrity and origin of images/videos/audio, ensuring that they are not tampered with during transmission and storage, and is able to detect lossless encoded videos, improving the credibility and security of media content sex.
Smart Images

Figure CN115280791B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority and the benefit of U.S. Provisional Patent Application No. US62 / 988,023, filed on March 11, 2020, and U.S. Provisional Patent Application No. US63 / 029,354, filed on May 22, 2020, under applicable patent law and / or rules pursuant to the Paris Convention. The entire disclosure of the above application is incorporated by reference as part of the disclosure of this application for all legal purposes. Technical Field
[0003] This patent document relates to digital media encoding and decoding. Background Art
[0004] Digital video accounts for the largest use of bandwidth on the Internet and other digital communications networks. As the number of connected user devices capable of receiving and displaying video increases, bandwidth requirements for digital video usage are expected to continue to grow. Summary of the invention
[0005] This document discloses techniques that can be used by image, audio, or video encoders and decoders to ensure the integrity of encoding operations, decoding operations, and encoded digital media segments.
[0006] In one example aspect, a digital media processing method is disclosed. The method includes performing a conversion between a media segment and a bitstream of the media segment, wherein the conversion complies with format rules and encryption rules, and wherein the format rules provide for signaling verification information in the bitstream, the verification information including an indication of integrity of a portion of the media segment.
[0007] In yet another exemplary aspect, a media processing device is disclosed, wherein the device includes a processor configured to implement the above method.
[0008] In yet another example aspect, a computer readable medium having code stored thereon is disclosed. The code embodies one of the methods described herein in the form of processor executable code.
[0009] These and other features are described throughout this document. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 An example of region-based image verification is shown.
[0011] Figure 2 An example of a digital signature of a secure hash value is shown.
[0012] Figure 3 An example of a trusted timestamp is shown.
[0013] Figure 4 is a block diagram of an example video processing system.
[0014] Figure 5 is a block diagram of a video processing device.
[0015] Figure 6 is a block diagram illustrating a video encoding and decoding system according to some embodiments of the present disclosure.
[0016] Figure 7 is a block diagram illustrating an encoder according to some embodiments of the present disclosure.
[0017] Figure 8 is a block diagram illustrating a decoder according to some embodiments of the present disclosure.
[0018] Fig. 9 is a flow chart of an example method of digital media processing. DETAILED DESCRIPTION
[0019] The section headings used in this document are intended to facilitate understanding, and are not intended to limit the applicability of the techniques and embodiments disclosed in each section to that section. In addition, the use of H.266 terminology in some descriptions is intended only to facilitate understanding, and is not intended to limit the scope of the disclosed techniques. Therefore, the techniques described herein are also applicable to other video codec protocols and designs.
[0020] 1. Overview
[0021] This patent document relates to image / video systems and codec technologies. Specifically, it provides a method for verifying the integrity of an image / video, i.e., whether the image / video has been modified from its authenticated source. It can be applied to future image / video codecs and / or system standards. It can also be applied as a core technology in general services for trusted image / video applications, such as telemedicine, source authenticated broadcasting.
[0022] 2. Preliminary Discussion
[0023] Video codec standards have evolved primarily through the development of the well-known ITU-T and ISO / IEC standards. ITU-T developed H.261 and H.263, ISO / IEC developed MPEG-1 and MPEG-4 Visual, and the two organizations jointly developed the H.262 / MPEG-2 Video and H.264 / MPEG-4 Advanced Video Codec (AVC) and H.265 / HEVC standards. Since H.262, video codec standards have been based on a hybrid video codec structure that utilizes temporal prediction plus transform codec. In order to explore future video codec technologies beyond HEVC, VCEG and MPEG jointly established the Joint Video Exploration Team (JVET) in 2015. Since then, JVET has adopted many new methods and input them into a reference software called the Joint Exploration Model (JEM). In April 2018, VCEG (Q6 / 16) and ISO / IEC JTC1 SC29 / WG11 (MPEG) established the Joint Video Experts Team (JVET) to work on the VVC standard with the goal of reducing the bit rate by 50% compared to HEVC.
[0024] The latest version of the VVC draft, Generic Video Codec (Draft 8), can be found at http: / / phenix.int-evry.fr / jvet / doc_end_user / documents / 17_Brussels / wg11 / JVET-Q2001-v13.zip.
[0025] The latest test model software can be found at https: / / vcgit.hhi.fraunhofer.de / jvet / VVCSoftware_VTM / - / archive / VTM-8.0 / VVC Software_VTM-VTM-8.0.zip.
[0026] In addition, the corresponding system standards are also under development. Video usability information and supplementary enhancement information are related, which convey various information that may not be required by the decoder. The latest draft document of SEI messages can be found at http: / / phenix.int-evry.fr / jvet / doc_end_user / documents / 17_Brussels / wg11 / JVET-Q2007-v5.zip.
[0027] 2.1. Image / video tempering and deepfakes
[0028] The image / video file contains the necessary information for reconstruction, and the relevant standards can ensure that the image / video can be reconstructed without any ambiguity. However, it cannot determine whether the image / video has been tampered with. With the development of deep neural networks, image / video tampering is more difficult to identify. The following definition is quoted from https: / / en.wikipedia.org / wiki / Deepfake.
[0029] “A deepfake (a portmanteau of “deep learning” and “fake”) is media that uses artificial neural networks to replace a person in an existing image or video with the likeness of another person. They often use machine learning techniques known as autoencoders and generative adversarial networks (GANs) to combine and overlay existing media onto source media. Deepfakes have gained widespread attention for their use in celebrity porn videos, revenge porn, fake news, hoaxes, and financial fraud. This has prompted a response from industry and governments to detect and limit their use”.
[0030] 2.2. Image / Video Applications that Require Verification
[0031] Applications that may require verification include
[0032] 1. Telemedicine. For security reasons, it is desirable to be able to verify relevant medical images / videos, e.g., whether they come from an authenticated source.
[0033] 2. Recording of images / videos with legal validity or legal force. Once an image / video is recorded, it is possible to know whether the original image / video has been tampered with. Therefore, any image / video that shows legal force should be tested to discern whether the video is original.
[0034] 2.3. Secure Hash Algorithm
[0035] The Secure Hash Algorithm is a family of cryptographic hash functions published by the National Institute of Standards and Technology (NIST) as a U.S. Federal Information Processing Standard (FIPS), including:
[0036] SHA-0: A throwback to the original version of the 160-bit hash function published under the name "SHA" in 1993. It was withdrawn shortly after publication due to an undisclosed "major flaw" and replaced by a slightly modified version, SHA-1.
[0037] SHA-1: A 160-bit hash function similar to the earlier MD5 algorithm. This was part of the digital signature algorithm designed by the National Security Agency (NSA). Cryptographic weaknesses were discovered in SHA-1, and after 2010 the standard is no longer approved for most cryptographic purposes.
[0038] SHA-2: A family of two similar hash functions with different block sizes, called SHA-256 and SHA-512. They differ in word size; SHA-256 uses 32-byte words, while SHA-512 uses 64-byte words. There are also abridged versions of each standard, called SHA-224, SHA-384, SHA-512 / 224, and SHA-512 / 256. These were also designed by the NSA.
[0039] SHA-3: A hash function formerly known as Keccak, which was selected after an open competition among non-NSA designers in 2012. It supports the same hash lengths as SHA-2, and its internal structure is significantly different from the rest of the SHA family.
[0040] The corresponding standards are FIPS PUB 180 (original SHA), FIPS PUB 180-1 (SHA-1), FIPS PUB 180-2 (SHA-1, SHA-256, SHA-384 and SHA-512). NIST has updated the draft FIPS Publication 202, and the SHA-3 standard is separate from the Secure Hash Standard (SHS).
[0041] 2.4. Document Verification
[0042] File verification is the process of using an algorithm to verify the integrity of a computer file. This can be done by comparing two files bit by bit, but requires two copies of the same file and can miss system corruption that could have occurred to both files. A more popular method is to generate a hash of the copied file and compare it to the hash of the original file.
[0043] The verification process can include both integrity verification and authenticity verification. File integrity can be compromised, often referred to as file corruption. Files can be corrupted in a variety of ways: storage media failure, transmission errors, write errors during copying or moving, software errors, and so on. Hash-based verification ensures that a file has not been corrupted by comparing the file's hash value to a previously calculated value. If these values match, the file is considered unmodified. Hash collisions can cause false positives due to the nature of hash functions, but for random corruption, the probability of a collision is usually negligible. It is often necessary to verify that a file has not been modified by an untrusted party during transmission or storage, for example, to include malicious code such as a virus or backdoor. To verify authenticity, traditional hash functions are not sufficient because they are not designed to be collision-resistant; it is computationally easy for an attacker to cause intentional hash collisions so that malicious changes in the file are not detected by hash comparisons. In cryptography, this attack is called a preimage attack. Cryptographic hash functions are often used to address this problem. As long as the hash values cannot be tampered with, for example, if they are transmitted over a secure channel, the file can be considered intact. Alternatively, digital signatures can be used to ensure tamper-resistance.
[0044] Some file formats can support file verification, such as checksum files. A checksum file is a small file that contains checksums of other files. There are several well-known checksum file formats. Some utilities, such as md5deep, can use such a checksum file to automatically verify an entire directory of files in a single operation. The specific hashing algorithm used is usually indicated by the file extension of the checksum file. The ".sha1" file extension indicates a checksum file that contains a 160-bit SHA-1 hash in the sha1sum format. The ".md5" file extension or a file named "MD5SUMS" indicates a checksum file that contains a 128-bit MD5 hash in the md5sum format. The ".sfv" file extension indicates a checksum file that contains a 32-bit CRC32 checksum in the simple file verification format. The "crc.list" file indicates a checksum file that contains a 32-bit CRC checksum in the brik format. As of 2012, the best practice recommendation is to generate new file integrity digests using SHA-2 or SHA-3; if stronger digests are not available, MD5 and SHA1 digests are accepted for backward compatibility. Theoretically weaker SHA1, weaker MD5, or much weaker CRC were previously commonly used for file integrity checking. CRC checksums cannot be used to verify the authenticity of a file because CRC32 is not a collision-resistant hash function - even if the hash and file have not been tampered with, it is computationally easy for an attacker to replace a file with the same CRC digest as the original, meaning that malicious changes in the file will not be detected by CRC comparisons.
[0045] 2.5. Lossless encoding and decoding of HEVC and VVC
[0046] In VVC, lossless codec technology is also being studied. However, although there will be codec technology that supports lossless codec, there is currently no way to guarantee that the video is lossless.
[0047] To provide lossless codecs, the operational configurations of VVC, i.e., the JVET common test conditions and software reference configurations for lossless, near-lossless, and hybrid lossy / lossless codecs, can be found at:
[0048] http: / / phenix.int-evry.fr / jvet / doc_end_user / current_document.php?id=9683
[0049] 2.6.VUI / SEI
[0050] In HEVC / VVC, an SEI message called the decoded picture hash SEI message is defined to verify whether the decoded video is correct.
[0051] 2.6.1. Decoding Picture Hash SEI Message Syntax
[0052]
[0053] 2.6.2. Decoded Picture Hash SEI Message Semantics
[0054] This message provides a hash for each color component of the currently decoded picture.
[0055] The following parameters need to be defined when using this SEI message:
[0056] – Picture width and picture height in units of luma samples, denoted here as pic_width_in_luma_samples and pic_height_in_luma_samples.
[0057] – Chroma format indicator, denoted by chroma_format_idc in this document.
[0058] – Bit depth of the luminance component samples, this article uses BitDepth Y Indicates the bit depth of the two related chroma component samples when chroma_format_idc is not equal to 0. This article uses BitDepth C express.
[0059] – For each color component cIdx, the array element [cIdx][i] in raster scan order of the decoded sample values in two's complement representation
[0060] Before computing the hash, the decoded picture data is arranged into a one or three byte string called pictureData[cIdx] of length dataLen[cIdx], as shown below:
[0061]
[0062]
[0063] where component [cIdx][i] is an array of raster scans of decoded sample values in two's complement representation.
[0064] hash_type indicates the method used to calculate the checksum, as specified in Table 9. Values of hash_type not listed in Table 9 are reserved for future use by ITU-T|ISO / IEC and shall not appear in payload data conforming to this version of this specification. A decoder shall ignore decoded picture hash SEI messages containing reserved values of hash_type.
[0065] Table 9 – Explanation of hash types
[0066] hash_type method 0 MD5 (IETF RFC 1321) 1 CRC 2 Checksum
[0067] picture_md5[cIdx][i] is the 16-byte MD5 hash of the cIdx-th color component of the decoded picture. Using the MD5 function defined in IETF RFC 1321, the value of picture_md5[cIdx][i] shall be equal to the value of digestVal[cIdx] obtained as follows:
[0068] MD5Init(context)
[0069] MD5Update(context,pictureData[cIdx],dataLen[cIdx])
[0070] MD5Final(digestVal[cIdx],context)
[0071] picture_crc[cIdx] is the cyclic redundancy check (CRC) of the color component cIdx of the decoded picture. The value of picture_crc[cIdx] shall be equal to the value of crcVal[cIdx], which is calculated as follows:
[0072]
[0073] NOTE - The same CRC specification is found in Rec. ITU-T H.271.
[0074] picture_checksum[cIdx] is the checksum of the color component cIdx of the decoded picture. The value of picture_checksum[cIdx] shall be equal to the value of checksumVal[cIdx], which is calculated as follows:
[0075]
[0076] Although the SEI message can be used to detect whether the decoded picture matches the corresponding encoded picture, its security is weak because the MD5, CRC and checksum can be easily cracked.
[0077] 3. Existing technical problems solved by the disclosed technical solution
[0078] 1. There is no specific scheme to verify whether an image / video (partial or full) comes from an authenticated source / encoder.
[0079] 2. There is no specific scheme to verify whether the image / video (partially or completely) has been tampered with.
[0080] 3. There is no specific scheme to verify whether an image / video (partially or fully) is losslessly encoded, and relative to what.
[0081] 4. The currently decoded picture hash SEI message is not secure enough and is not part of the video.
[0082] 5. There is no specific scheme to verify that the audio is coming from a certified source / encoder.
[0083] 4. Example List of Techniques and Embodiments
[0084] One aspect of the present disclosure is to provide a secure mechanism to indicate whether a specific portion or all of an image / video / audio was generated by an authenticated source or encoder at a specific time. Unlike file authentication, two signals are considered to match if the reconstruction of a specific portion matches. Therefore, authentication is independent of a specific image / video / audio representation / codec standard.
[0085] The listed items should be considered as examples to explain the general concept and should not be interpreted narrowly. In addition, these items can be applied alone or in combination in any way.
[0086] 1. One or more secure hash values, such as SHA-2, SHA-3, of the image / video / audio can be signaled to indicate the integrity of the content.
[0087] a. Two images / videos / audios can be considered identical as long as the secure hash of the reconstructed value is the same.
[0088] b. Two images / videos / audios can be considered different as long as the secure hash of the reconstructed value is different.
[0089] 2. One or more secure hash values, such as SHA-2, SHA-3, of the image / video / audio region may be signaled to indicate the integrity of the content.
[0090] a. The region can be a slice, sub-picture, slice, CTU row or CTU.
[0091] b. Additionally, optionally, an indication of the area of the image / video / audio may be further signaled.
[0092] i. In one example, the region may be represented by coordinates of a specific position within the region relative to the image, such as the upper left position and the lower right position of the region.
[0093] ii. In one example, the region may be represented by unit coordinates of specific positions within the region, such as the upper left position and the lower right position of the region.
[0094] 1. In one example, the unit is defined as CTU / CTB. And the unit coordinates are position coordinates expressed in CTU / CTB.
[0095] iii. In one example, the region may be a sub-picture, and the indication of the region may be represented by an index of the sub-picture.
[0096] c. Figure 1 An example is shown in , where (x0, y0) to (x1, y1) define the image region to be protected. To protect a region, SHA-3(p[x0, y0], p[x0+1, y0], ..., p[x1, y0], p[x0, y0+1], p[x0+1, y0+1], ..., p[x1, y0+1], ..., p[x1, y0], p[x1, y0+1], ..., p[x1, y1]), i.e., a secure hash value of all pixels in the region in raster scan order is calculated and sent to indicate the content of the image.
[0097] d. In another example, the secure hash values of the regions may be signaled in sequence.
[0098] i. For example, the order may be a raster scan order.
[0099] ii. For example, the order may be a decoding order.
[0100] iii. For example, the order may be in ascending or descending order of the index of the region, such as a sub-picture index, or a slice index, or a slice index, or a CTU index.
[0101] e. In one example, the same area of multiple pictures (eg, all pictures) within a video may be used to check the integrity of the content.
[0102] i. For example, for multiple pictures, the indication of the region may be signaled once, for example, represented by top left / bottom right coordinates.
[0103] f. Optionally, different regions of multiple pictures (eg, all pictures) within a video may be used to check the integrity of the content.
[0104] i. Furthermore, optionally, for multiple pictures, the indication of the region may be signaled multiple times, for example, represented by top left / bottom right coordinates within a particular picture.
[0105] 1. In addition, optionally, an indication of the picture (eg indicated by a POC value) may be further signaled.
[0106] g. In order to determine whether the protected area has been tampered with, a direct comparison of SHA-3() values can be applied.
[0107] 3. A private key encrypted message of a secure hash value can be sent along with the image / video / audio to indicate the source.
[0108] a. In one example, use Figure 2 The digital signature system shown in .
[0109] b. Alternatively, private key encryption can be applied directly to the image / video / audio signal.
[0110] c. Optionally, private key encryption can be applied to MD5 / CRC / checksum of images / videos / audios.
[0111] 4. Trusted timestamped messages can be sent along with secure hash values.
[0112] a. Figure 3 An example is shown. The encoder sends a secure hash of the encoded signal (partial or full) to a third-party timestamping authority (TSA), which then signs the hash with timestamp information and sends the signed information back. To verify that the signal was encoded at a specific time, the decoder can use the TSA's public key to decrypt the hash and verify that it matches the content.
[0113] 5. For images, secure hashes of specific regions or encrypted versions thereof may be sent to indicate integrity and / or origin.
[0114] a. In one example, a region may be defined as a rectangular box with a starting point, a region width, and a region height.
[0115] b. In one example, a region may be defined as a starting point and a predefined closed shape.
[0116] 6. For the above examples, the information to be sent / signaled may be present in a specific SEI message.
[0117] a. In addition, optionally, when certain codec tools (eg, reference picture resampling) are enabled, a compliant bitstream should satisfy that certain SEI is not present in the bitstream.
[0118] 7. A conforming image decoder may observe the following constraints.
[0119] a. In one example, a conforming image decoder should output whether the region matches the secure hash value.
[0120] b. In one example, a conforming image decoder should output whether the region matches the secure hash value regardless of the starting point.
[0121] 8. For audio signals, a secure hash of specific consecutive segments or an encrypted version of it may be sent to indicate integrity and / or origin.
[0122] a. In one example, a segment can be defined by the start time and duration of a signal.
[0123] 9. A conforming audio decoder may adhere to the following constraints.
[0124] a. In one example, a compliant audio decoder should output whether the segment matches the secure hash value.
[0125] b. In one example, a compliant audio decoder should output whether the segment matches the secure hash value regardless of the starting point.
[0126] 10. A conforming audio player may adhere to the following constraints.
[0127] a. In one example, unless human interaction is detected, the player should play authenticated audio in sequence.
[0128] b. In one example, the player should play the authenticated audio at a speed within a certain accuracy compared to the source speed.
[0129] 11. For video, a secure hash of a specific segment or an encrypted version of it can be sent to indicate integrity and / or origin.
[0130] a. In one example, a video clip can be defined as a set of consecutive pictures in display order.
[0131] b. Additionally, optionally, for each picture, a predefined area may be specified.
[0132] 12. A conforming video decoder may adhere to the following constraints.
[0133] a. In one example, a compliant video decoder should output whether the segment matches the secure hash value.
[0134] b. In one example, a compliant video decoder should output whether the segment matches the secure hash value regardless of the starting point.
[0135] c. In one example, a compliant video decoder should output whether the segment matches the secure hash value, regardless of the start point of the segment and the start point of each region.
[0136] 13. A compliant video player may adhere to the following constraints.
[0137] a. In one example, a compliant video player should play certified videos in presentation order.
[0138] b. In one example, a compliant video player should be able to tell whether a video is authenticated, and if so, which part is authenticated.
[0139] c. In one example, a compliant video player should play certified video at a speed within a certain accuracy compared to the source speed.
[0140] 14. Secure hash functions can be applied to binary bit streams.
[0141] a. In one example, a secure hash function may be applied to the NAL unit.
[0142] b. In one example, a secure hash function may be applied to the video codec layer NAL units.
[0143] c. In one example, a secure hash function may be applied to multiple NAL units.
[0144] 15.DSA / RSA / ECDSA can be applied to binary bit streams.
[0145] a. In one example, DSA / RSA / ECDSA can be applied to the NAL unit.
[0146] b. In one example, DSA / RSA / ECDSA can be applied to the video codec layer NAL unit.
[0147] c. In one example, DSA / RSA / ECDSA can be applied to multiple NAL units.
[0148] 16. The secure hashing in FIPS 180-4 and FIPS 202 can be applied to a portion of the video sequence.
[0149] a. In one example, secure hashing as listed in FIPS 180-4 and FIPS 202 may be applied to the reconstruction of the picture region.
[0150] b. In one example, secure hashing as listed in FIPS 180-4 and FIPS 202 may be applied to the reconstruction of the picture region.
[0151] 17.DSA / RSA / ECDSA can be applied to the reconstruction of the same area of one or more pictures.
[0152] a. In one example, DSA / RSA / ECDSA may be applied to the reconstruction of the same region of one or more pictures until the cancel flag in the SEI message is true.
[0153] b. In one example, DSA / RSA / ECDSA can be applied to the reconstruction of the same region of one or more pictures.
[0154] 18. Region definitions can have constraints.
[0155] a. In one example, the horizontal and vertical components of the top left point of the region should always be non-negative integers.
[0156] i. Additionally, optionally, the horizontal component of the top left point of the region should be smaller than the picture / sub-picture width.
[0157] ii. Additionally, optionally, the vertical component of the top left point of the region should be smaller than the height of the picture / sub-picture.
[0158] b. In one example, the region should not be outside the picture or sub-picture.
[0159] c. In one example, the area may be measured in chrominance units or luminance units.
[0160] d. In one example, a region definition may include an origin at the top left position (in the x and / or y direction), a width, and a height.
[0161] e. In one example, a region definition may include a start point at an upper left position (in the x and / or y direction) and an end point at a lower right position (in the x and / or y direction).
[0162] f. In one example, the width and / or height may be signaled as (the actual width and / or height minus K (K is an integer value, eg, K=1)).
[0163] i. Optionally, you can add constraints that the width and / or height should be greater than 0.
[0164] g. In the above examples, pictures / sub-pictures may be replaced by other video units (eg, views / layers / slices / slices / multiple CTUs).
[0165] 19. One or more public keys may be included in the video bitstream.
[0166] a. In one example, a public key may be included in the SEI message.
[0167] b. In one example, the decoder may reject the signature when the public key(s) are different than the public key the decoder obtained from a trusted source.
[0168] 20. One or more field parameters in DSA / ECDSA may be included in the video bitstream.
[0169] a. In one example, one or more domain parameters in DSA / ECDSA may be included in a SEI message.
[0170] b. In one example, the decoder may reject the signature when the domain parameters differ from the domain parameters the decoder obtained from a trusted source.
[0171] 21. For RSA signatures, the following applies
[0172] a.RSA signatures can be binary in big-endian format.
[0173] b.RSA signatures can be binary encoded in little endian format.
[0174] 22. For DSA / ECDSA, let r and s be digital signatures, then the following applies
[0175] ar and s can be binarized in big-endian fashion.
[0176] br and s can be binaryized in little-endian fashion.
[0177] cr can be binarized before s.
[0178] dr can be binarized after s.
[0179] er can be binarized immediately after s.
[0180] fs can be binarized immediately after s.
[0181] 23. Digital signatures can be byte aligned in the bit stream.
[0182] a. In one example, the digital signature may be byte aligned in the SEI.
[0183] 5. Examples
[0184] 5.1. Example #1: SEI of an image
[0185] Decode Picture Security Hash SEI message syntax
[0186]
[0187] Decoding the Image Security Hash SEI message semantics
[0188] This message provides a secure hash for a rectangular region of the currently decoded image.
[0189] Using this SEI message requires defining the following variables:
[0190] – Rectangular region, here defined by region_start_x, region_start_y, region_width and region_height respectively.
[0191] – The bit depth of the sample, where BitDepthY represents brightness and BitDepthC represents chrominance.
[0192] – For each color component cIdx, the array ComponentSamples[cIdx][i][j] contains the decoded sample values.
[0193] Before computing the hash, the decoded image data is arranged into a one or three byte string called regionData[cIdx] of length dataLen, as shown below:
[0194]
[0195]
[0196] secure_hash_type indicates the method used to calculate the secure hash value. If secure_hash_type is equal to 0, SHA-3 (256, 256) is used.
[0197] SHA-3(256, 256) is defined by the NIST standard https: / / nvlpubs.nist.gov / nistpubs / FIPS / NIST.FIPS.202.pdf.
[0198] 5.2. Example #2: Digitally Signing SEI Messages
[0199] Digitally Signed SEI Message Syntax
[0200]
[0201]
[0202] Digitally Signed SEI Message Semantics
[0203] This message provides a secure hash for a rectangular region of the associated decoded image.
[0204] Using this SEI message requires defining the following variables:
[0205] – The picture width and picture height in units of luma samples, denoted here by PicWidthInLumaSamples and PicHeightInLumaSamples respectively.
[0206] – The chroma format indicator, denoted here ChromaFormatIdc, as described in clause 7.2 of JVET-R2007-v2.
[0207] – The bit depth of the luminance component samples, here BitDepth Y Indicates that when ChromaFormatIdc is not equal to 0, the bit depth of the two related chrominance component samples, here BitDepth C express.
[0208] – For each color component cIdx, the array ComponentSamples[cIdx][i] is arranged in raster scan order of the decoded sample values represented in two's complement.
[0209] ds_cancel_flag equal to 1 indicates that the SEI message cancels the persistence of any previous digitally signed SEI message in decoding order. ds_cancel_flag equal to 0 indicates that digitally signed information follows.
[0210] ds_persistence_flag specifies the persistence of the digitally signed SEI message of the current layer.
[0211] ds_persistence_flag equal to 0 specifies that the digitally signed SEI message applies only to the currently decoded picture.
[0212] ds_persistence_flag equal to 1 specifies that the digitally signed SEI message applies to the currently decoded picture and persists for all subsequent pictures of the current layer in output order until one or more of the following conditions are true:
[0213] – A new CLVS starts for the current layer.
[0214] – End of bitstream.
[0215] – The picture of the current layer in the AU associated with the digitally signed SEI message is located after the current picture in the decoding order.
[0216] Let numAssociatedPics be the number of decoded pictures associated with the digitally signed SEI message with ds_cancel_flag equal to 0.
[0217] Before computing the hash, the decoded image data is arranged into a one or three byte string called regionData[cIdx] of length dataLen, as shown below:
[0218]
[0219]
[0220] The ds_reserved_zero_bit shall be equal to 0. The value 1 of the ds_reserved_zero_bit is reserved for future use by ITU-T | ISO / IEC.
[0221] ds_type indicates the method used to calculate the digital signature as specified in the following table. Values of ds_type not listed in the table are reserved by ITU-T|ISO / IEC for future use and SHOULD NOT be present in payload data conforming to this version of this specification. A decoder SHOULD ignore Digital Signature SEI messages containing reserved values of ds_type.
[0222] digital_signature_type method 0 DSA(2048,256) (FIPS 186-4) 1 RSA 2 ECDSA
[0223] ds_secure_hash_type indicates the method used to calculate the hash value as specified in the following table. ds_secure_hash_type values not listed in the table are reserved for future use by ITU-T|ISO / IEC and shall not be present in payload data conforming to this version of this specification. A decoder shall ignore Secure Picture Hash SEI messages containing reserved values of ds_secure_hash_type.
[0224] secure_hash_type method 0 SHA-512 / 256 (FIPS 180-4) 1 SHA-512 / 224 (FIPS 180-4)
[0225] ds_single_component_flag equal to 1 specifies that the picture associated with the digital signal SEI message contains a single color component. ds_single_component_flag equal to 0 specifies that the picture associated with the digital signal SEI message contains three color components. The value of ds_single_component_flag shall be equal to (ChromaFormatIdc == 0).
[0226] ds_region_params_present_flag equal to 1 specifies that ds_region_start_left, ds_region_start_top, ds_region_width, and ds_region_height are present. ds_region_params_present_flag equal to 0 specifies that ds_region_start_left, ds_region_start_top, ds_region_width, and ds_region_height are not present.
[0227] If the SEI message is contained in a scalable nested SEI message with sn_subpic_flag equal to 1, the variable subpicFlag is set equal to 1. Otherwise (the SEI message is not contained in a scalable nested SEI message with sn_subpic_flag equal to 1), subpicFlag is equal to 0.
[0228] ds_region_start_left and ds_region_start_top specify the left and right offsets of the top left corner of the region relative to the top left corner of the decoded picture (when subpicFlag is equal to 0) or the decoded sub-picture (when subpicFlag is equal to 1) in units of chroma samples. When ds_region_params_present_flag is equal to 0, the values of ds_region_start_left and ds_region_start_top are both inferred to be equal to 0.
[0229] ds_region_width and ds_region_height specify the width and height of the region in chroma samples, respectively. When ds_region_params_present_flag is equal to 0, the values of ds_region_width and ds_region_height are inferred to be the width and height of the decoded picture (when subpicFlag is equal to 0) or the decoded sub-picture (when subpicFlag is equal to 1), respectively, in chroma samples.
[0230] It is required that, when present, both ds_region_width and ds_region_height shall be greater than or equal to 1.
[0231] The value of (ds_region_start_left + ds_region_width) shall be less than or equal to the width of the decoded picture (when subpicFlag is equal to 0) or the decoded sub-picture (when subpicFlag is equal to 1) in units of chroma samples.
[0232] The value of (ds_region_start_top + ds_region_height) shall be less than or equal to the height of the decoded picture (when subpicFlag is equal to 0) or the decoded sub-picture (when subpicFlag is equal to 1) in units of chroma samples.
[0233] digital_signature specifies a number of bytes of information used to verify the integrity of the protected area.
[0234] For DSA(2048, 256), the digital signature consists of two integers r and s, both of which are 256 bits.
[0235] The syntax element is 64 bytes with the value dsVal defined as follows:
[0236] dsVal=0
[0237] for(i=248;i>=0;i-=8)
[0238] dsVal+=r>>i&0xFF
[0239] dsVal=dsVal<<256
[0240] for(i=248;i>=0;i-=8)
[0241] dsVal+=s>>i&0xFF
[0242] Figure 44000 . 4002 . 4004 . 4005 . 4006 . 4007 . 4008 . 4009 . 4010 . 4011 . 4012 . 4013 . 4014 . 4015 . 4016 . 4017 . 4018 . 4019 . 4020 . 4021 . 4022 . 4023 . 4024 . 4025 . 4026 . 4027 . 4028 . 4029 . 4030 . 4031 . 4032 . 4033 . 4034 . 4035 . 4036 . 4037 . 4038 . 4039 . 4100 . 4101 . 4102 . 4103 . 4104 . 4105 . 4106 . 4107 . 4108 . 4109 . 4110
[0243] System 4000 may include a codec component 4004, which may implement various codecs or coding methods described in this document. Codec component 4004 may reduce the average bit rate of a video from input 4002 to the output of codec component 4004 to generate a codec representation of the video. Therefore, codec techniques are sometimes referred to as video compression or video transcoding techniques. The output of codec component 4004 may be stored or transmitted via the communication connected by component 4006. The stored or transmitted bitstream (or codec) representation of the video received at input 4002 may be used by component 4008 to generate pixel values or displayable video sent to display interface 4010. The process of generating a user-viewable video according to a bitstream is sometimes referred to as video decompression. In addition, although some video processing operations are referred to as "codec" operations or tools, it will be understood that codec tools or operations are used at the encoder, and the corresponding decoding tools or operations of the inverted codec results will be performed by the decoder.
[0244] Examples of peripheral bus interfaces or display interfaces may include Universal Serial Bus (USB) or High Definition Multimedia Interface (HDMI) or Displayport, etc. Examples of storage interfaces include SATA (Serial Advanced Technology Attachment), PCI, IDE interfaces, etc. The technology described in this document may be embodied in various electronic devices, such as mobile phones, laptop computers, smart phones, or other devices capable of performing digital data processing and / or video display.
[0245] Figure 55000 is a block diagram of a video processing device 5000. Device 5000 can be used to implement one or more methods described herein. Device 5000 can be embodied in a smart phone, a tablet computer, a computer, an Internet of Things (IoT) receiver, etc. Device 5000 may include one or more processors 5002, one or more memories 5004, and video processing hardware 5006. (Multiple) processors 5002 can be configured to implement one or more methods described in this document. One or more memories 5004 can be used to store data and code for implementing the methods and techniques described herein. Video processing hardware 5006 can be used to implement some of the techniques described in this document in hardware circuits. In some embodiments, hardware 5006 can be partially or entirely in one or more processors 5002 (e.g., a graphics processor).
[0246] Figure 6 is a block diagram illustrating an example video coding system 100 that may utilize the techniques of this disclosure.
[0247] like Figure 6 As shown, the video codec system 100 may include a source device 110 and a destination device 120. The source device 110 generates encoded video data, which may be referred to as a video encoding device. The destination device 120 may decode the encoded video data generated by the source device 110, which may be referred to as a video decoding device.
[0248] Source device 110 may include a video source 112 , a video encoder 114 , and an input / output (I / O) interface 116 .
[0249] The video source 112 may include a source such as a video capture device, an interface for receiving video data from a video content provider, and / or a computer graphics system for generating video data, or a combination of these sources. The video data may include one or more pictures. The video encoder 114 encodes the video data from the video source 112 to generate a bit stream. The bit stream may include a bit sequence that forms a codec representation of the video data. The bit stream may include a codec picture and associated data. The codec picture is a codec representation of the picture. The associated data may include a sequence parameter set, a picture parameter set, and other grammatical structures. The I / O interface 116 may include a modulator / demodulator (modem) and / or a transmitter. The encoded video data may be directly sent to the destination device 120 via the network 130a via the I / O interface 116. The encoded video data may also be stored on a storage medium / server 130b for access by the destination device 120.
[0250] Destination device 120 may include an I / O interface 126 , a video decoder 124 , and a display device 122 .
[0251] The I / O interface 126 may include a receiver and / or a modem. The I / O interface 126 may obtain the encoded video data from the source device 110 or the storage medium / server 130b. The video decoder 124 may decode the encoded video data. The display device 122 may display the decoded video data to the user. The display device 122 may be integrated with the destination device 120, or may be located outside the destination device 120, and the destination device 120 is configured to interface with an external display device.
[0252] The video encoder 114 and the video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Codec (HEVC) standard, the Versatile Video Codec (VVC) standard, and other current and / or future standards.
[0253] Figure 7 is a block diagram showing an example of a video encoder 200, which may be Figure 6 The video encoder 114 in the system 100 is shown.
[0254] Video encoder 200 may be configured to perform any or all of the techniques of this disclosure. Figure 7 In the example of , video encoder 200 includes multiple functional components. The techniques described in this disclosure can be shared between the various components of video encoder 200. In some examples, a processor can be configured to perform any or all of the techniques described in this disclosure.
[0255] The functional components of the video encoder 200 may include a segmentation unit 201, a prediction unit 202 which may include a mode selection unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra-frame prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213 and an entropy coding unit 214.
[0256] In other examples, the video encoder 200 may include more, fewer, or different functional components. In one example, the prediction unit 202 may include an intra-block copy (IBC) unit. The IBC unit may perform prediction in an IBC mode, where at least one reference picture is a picture where the current video block is located.
[0257] Furthermore, some components (such as the motion estimation unit 204 and the motion compensation unit 205) may be highly integrated, but for the purpose of explanation, they are not described in detail in the following sections. Figure 7 In the example, they are respectively represented.
[0258] The partitioning unit 201 may partition a picture into one or more video blocks. The video encoder 200 and the video decoder 300 may support various video block sizes.
[0259] The mode selection unit 203 may, for example, select one of the coding modes (intra or inter) based on the error result, and provide the resulting intra or inter coded block to the residual generation unit 207 to generate residual block data, and to the reconstruction unit 212 to reconstruct the coded block for use as a reference picture. In some examples, the mode selection unit 203 may select a combination of intra prediction and inter prediction (CIIP) modes, where the prediction is based on an inter prediction signal and an intra prediction signal. The mode selection unit 203 may also select a resolution of motion vectors for the block in the case of inter prediction (e.g., sub-pixel precision or integer pixel precision).
[0260] In order to perform inter-frame prediction on the current video block, the motion estimation unit 204 may generate motion information of the current video block by comparing the current video block with one or more reference frames from the buffer 213. The motion compensation unit 205 may determine a predicted video block of the current video block based on the motion information of pictures other than the picture associated with the current video block from the buffer 213 and decoded samples.
[0261] For example, motion estimation unit 204 and motion compensation unit 205 may perform different operations on the current video block depending on whether the current video block is in an I slice, a P slice, or a B slice.
[0262] In some examples, the motion estimation unit 204 may perform unidirectional prediction on the current video block, and the motion estimation unit 204 may search for a reference video block of the current video block in the reference picture of list 0 or list 1. The motion estimation unit 204 may then generate a reference index indicating a reference picture in list 0 or list 1 containing the reference video block, and a motion vector indicating a spatial displacement between the current video block and the reference video block. The motion estimation unit 204 may output the reference index, the prediction direction indicator, and the motion vector as motion information of the current video block. The motion compensation unit 205 may generate a predicted video block of the current block based on the reference video block indicated by the motion information of the current video block.
[0263] In other examples, the motion estimation unit 204 may perform bidirectional prediction on the current video block, and the motion estimation unit 204 may search for a reference video block of the current video block in the reference pictures in list 0, and may also search for another reference video block of the current video block in the reference pictures in list 1. Then, the motion estimation unit 204 may generate a reference index indicating the reference pictures in list 0 and list 1 containing the reference video block, and a motion vector indicating a spatial displacement between the reference video block and the current video block. The motion estimation unit 204 may output the reference index and the motion vector of the current video block as the motion information of the current video block. The motion compensation unit 205 may generate a predicted video block of the current video block based on the reference video block indicated by the motion information of the current video block.
[0264] In some examples, motion estimation unit 204 may output a complete set of motion information for use in the decoding process of a decoder.
[0265] In some examples, motion estimation unit 204 may not output a complete set of motion information for the current video. Instead, motion estimation unit 204 may reference motion information of another video block to signal the motion information of the current video block. For example, motion estimation unit 204 may determine that the motion information of the current video block is sufficiently similar to the motion information of a neighboring video block.
[0266] In one example, motion estimation unit 204 may indicate, in a syntax structure associated with the current video block, a value that indicates to video decoder 300 that the current video block has the same motion information as another video block.
[0267] In another example, the motion estimation unit 204 may identify another video block and a motion vector difference (MVD) in a syntax structure associated with the current video block. The motion vector difference indicates the difference between the motion vector of the current video block and the motion vector of the indicated video block. The video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.
[0268] As discussed above, the video encoder 200 may predictively signal motion vectors. Two examples of predictive signaling techniques that may be implemented by the video encoder 200 include advanced motion vector prediction (AMVP) and merge mode signaling.
[0269] The intra prediction unit 206 may perform intra prediction on the current video block. When the intra prediction unit 206 performs intra prediction on the current video block, the intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture. The prediction data for the current video block may include a prediction video block and various syntax elements.
[0270] The residual generation unit 207 can generate residual data of the current video block by subtracting (eg, indicated by a minus sign) the predicted video block of the current video block from the current video block. The residual data of the current video block may include residual video blocks corresponding to different sample components of the samples in the current video block.
[0271] In other examples, for the current video block, there may be no residual data of the current video block, for example, in skip mode, the residual generation unit 207 may not perform a subtraction operation.
[0272] Transform processing unit 208 may generate one or more transform coefficient video blocks for a current video block by applying one or more transforms to the residual video block associated with the current video block.
[0273] After transform processing unit 208 generates a transform coefficient video block associated with the current video block, quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
[0274] The inverse quantization unit 210 and the inverse transform unit 211 may apply inverse quantization and inverse transform to the transform coefficient video block, respectively, to reconstruct the residual video block from the transform coefficient video block. The reconstruction unit 212 may add the reconstructed residual video block to the corresponding sample points of one or more predicted video blocks generated by the prediction unit 202 to generate a reconstructed video block associated with the current block to be stored in the buffer 213.
[0275] After the reconstruction unit 212 reconstructs the video block, a loop filtering operation may be performed to reduce video block artifacts in the video block.
[0276] The entropy coding unit 214 may receive data from other functional components of the video encoder 200. When the entropy coding unit 214 receives the data, the entropy coding unit 214 may perform one or more entropy coding operations to generate entropy-coded data and output a bitstream including the entropy-coded data.
[0277] Figure 8 is a block diagram showing an example of a video decoder 300, which may be Figure 6 The video decoder 114 in the system 100 is shown.
[0278] Video decoder 300 may be configured to perform any or all of the techniques of this disclosure. Figure 8 In the example of , video decoder 300 includes multiple functional components. The techniques described in this disclosure can be shared between the various components of video decoder 300. In some examples, a processor can be configured to perform any or all of the techniques described in this disclosure.
[0279] exist Figure 8 In the example of FIG. 3 , the video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transform unit 305, a reconstruction unit 306, and a buffer 307. In some examples, the video decoder 300 may perform encoding passes generally described with respect to the video encoder 200 ( Figure 7 )The opposite decoding pass.
[0280] The entropy decoding unit 301 may retrieve a coded bitstream. The coded bitstream may include entropy coded video data (e.g., coded blocks of video data). The entropy decoding unit 301 may decode the entropy coded video data, and the motion compensation unit 302 may determine motion information based on the entropy decoded video data, the motion information including motion vectors, motion vector precision, reference picture list index, and other motion information. For example, the motion compensation unit 302 may determine such information by performing AMVP and merge modes.
[0281] The motion compensation unit 302 may generate a motion compensated block, possibly performing interpolation based on an interpolation filter. An identifier for an interpolation filter to be used with sub-pixel precision may be included in the syntax element.
[0282] The motion compensation unit 302 may calculate interpolation of sub-integer pixels of the reference block using the interpolation filter used by the video encoder 200 during video block encoding. The motion compensation unit 302 may determine the interpolation filter used by the video encoder 200 according to received syntax information, and use the interpolation filter to generate a prediction block.
[0283] The motion compensation unit 302 may use some syntax information to determine the size of blocks used to encode frames and / or slices of the coded video sequence, partitioning information describing how each macroblock of a picture of the coded video sequence is partitioned, a mode indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter-frame coded block, and other information used to decode the coded video sequence.
[0284] The intra prediction unit 303 may form a prediction block from spatially adjacent blocks using, for example, an intra prediction mode received in the bitstream. The inverse quantization unit 303 inversely quantizes (i.e., dequantizes) the quantized video block coefficients provided in the bitstream and decoded by the entropy decoding unit 301. The inverse transform unit 303 applies an inverse transform.
[0285] The reconstruction unit 306 may add the residual block to the corresponding prediction block generated by the motion compensation unit 202 or the intra prediction unit 303 to form a decoded block. If necessary, a deblocking filter may also be applied to filter the decoded block to remove blockiness artifacts. The decoded video block is then stored in a buffer 307, which provides reference blocks for subsequent motion compensation / intra prediction and also produces decoded video for presentation on a display device.
[0286] Fig. 9 It is shown that in e.g. Figures 4 to 8 An exemplary method for implementing the above technical solution is shown in the embodiment shown in .
[0287] Fig. 9 A flow chart of an example method 900 of video processing is shown. The method 900 includes, at operation 910, performing conversion between a media segment and a bitstream of the media segment, the conversion conforming to format rules and encryption rules, and the format rules specify that verification information including an indication of integrity of a portion of the media segment is signaled in the bitstream.
[0288] Next, a list of preferred solutions for some embodiments is provided.
[0289] P1. A digital media processing method, comprising performing verification of the integrity of an encoded representation of a media segment by processing a portion of the media segment; and presenting a decoded version of the encoded representation of the media segment based on a result of the verification.
[0290] P2. The method of solution P1, wherein performing the verification comprises comparing a secure hash value of the decoded version of the portion with a secure hash value included in the encoded representation.
[0291] P3. The method of solution P1, wherein performing verification comprises authenticating a digital signature of an encoded representation of the media segment and / or a portion of the media segment.
[0292] P4. The method of solution P1, wherein the encoded representation of the media segment includes a timestamp, and performing verification includes verifying the integrity of the timestamp by obtaining security information from a trusted source and verifying that the security information matches the timestamp.
[0293] P5. The method of any of solutions P1 to P4, wherein the coded representation carries syntax elements indicating portions of the media fragment.
[0294] P6. The method of solution P5, wherein the syntax element includes supplemental enhancement information (SEI).
[0295] P7. The method of any of solutions P1 to P6, wherein the media segment comprises a video comprising one or more pictures, and wherein a portion of the media segment corresponds to one or more slices, sub-pictures, slices, codec tree units, or codec tree unit rows.
[0296] P8. The method of solution P7, wherein the portion of the media segment comprises an internal portion of a video picture, and wherein performing the verification comprises sequentially computing a hash of the pixel values of all pixels in the internal portion.
[0297] P9. A method for solution P8, wherein the order is specified in the encoded representation.
[0298] P10. The method of solution P8, wherein the order is predetermined and is a zigzag order or a raster scan order.
[0299] P11. The method of any of solutions P1 to P10, wherein the portion of processing the media segment comprises decoding the media segment.
[0300] P12. The method of any of solutions P1 to P11, wherein presenting the decoded version comprises presenting only the portion of the encoded representation that passed verification.
[0301] P13. The method of any of solutions P1 to P11, wherein presenting the decoded version comprises omitting from the presentation the portion of the media segment for which the verification result is inconclusive.
[0302] P14. The method of any of solutions P1 to P11, wherein presenting the decoded version comprises presenting the media segment and an indication of the verification result.
[0303] P15. A digital media processing method, comprising generating an encoded representation of a media segment; generating verification information for a portion of the media segment that enables verification of the integrity of the encoded representation of the media segment; and providing the encoded representation and verification information for verification and presentation of the media segment by a media decoder.
[0304] P16. The method of solution P15, wherein the verification comprises comparing a secure hash value of the decoded version of the portion with a secure hash value included in the encoded representation.
[0305] P17. The method of solution P15, wherein the verification comprises authenticating a digital signature of an encoded representation of the media segment and / or a portion of the media segment.
[0306] P18. The method of solution P15, wherein the encoded representation of the media segment includes a timestamp, and the verification is performed by verifying the integrity of the timestamp by obtaining security information from a trusted source and verifying that the security information matches the timestamp.
[0307] P19. The method of any of solutions P15 to P18, wherein the encoded representation carries syntax elements indicating portions of the media fragment.
[0308] P20. The method of solution P19, wherein the syntax element includes supplemental enhancement information (SEI).
[0309] P21. The method of any of solutions P15 to P20, wherein the media segment comprises a video comprising one or more pictures, and wherein a portion of the media segment corresponds to one or more slices, sub-pictures, slices, codec tree units, or codec tree unit rows.
[0310] P22. The method of solution P21, wherein the portion of the media segment comprises an internal portion of a video picture, and wherein performing verification comprises sequentially computing a hash of pixel values of all pixels in the internal portion.
[0311] P23. A method for solution P22, wherein the order is specified in the encoded representation.
[0312] P24. The method of solution P22, wherein the order is predetermined and is a zigzag order or a raster scan order.
[0313] P25. The method of any of solutions P15 to P24, wherein the portion of processing the media segment comprises decoding the media segment.
[0314] P26. The method of any of solutions P15 to P25, wherein presenting the decoded version comprises presenting only the portion of the encoded representation that passed verification.
[0315] P27. The method of any of solutions P15 to P26, wherein presenting the decoded version comprises omitting from the presentation the portion of the media segment for which the verification result is inconclusive.
[0316] P28. The method of any of solutions P15 to P26, wherein presenting the decoded version comprises presenting the media segment and an indication of the verification result.
[0317] P29. A video processing method, comprising performing a conversion between a media segment and a bitstream representation of a video segment, wherein the conversion complies with a format rule or an encryption rule.
[0318] P30. The method of solution P29, wherein the bitstream includes the results of a secure hash function of the media segments.
[0319] P31. The method of any of solutions P29 to P30, wherein the bitstream comprises an encrypted version of the base codec video stream.
[0320] P32. A method for solution P31, wherein the encrypted version is based on the DSA or RSA or ECDSA encryption / decryption protocol.
[0321] P33. The method of any of solutions P1 to P32, wherein the media fragments are one or more network abstraction layers (NALs) of the video.
[0322] P34. The method of any of solutions P1 to P32, wherein the media fragment corresponds to a video layer.
[0323] P35. The method of any of solutions P1 to P32, wherein the media segment represents a region of a video.
[0324] P36. The method of any of solutions P1 to P32, wherein the media segment is a video.
[0325] P37. The method of solutions P1 to P32, wherein the media segment is audio.
[0326] P38. The method of solutions P1 to P32, wherein the media segment is an image.
[0327] P39. The method of any of solutions P1 to P31, wherein the portion of the media segment comprises a spatial portion of the media segment.
[0328] P40. The method of any of solutions P1 to P39, wherein the portion of the media segment comprises a time domain portion of the media segment.
[0329] P41. The method of any of Solutions P1 to P39, wherein the portion of the media segment comprises less than the entire media segment.
[0330] P42. The method of any of solutions P1 to P39, wherein the portion of the media segments includes all the media segments.
[0331] P43. A media processing device comprising a processor configured to implement the method described in any one or more of solutions P1 to P42.
[0332] P44. A computer program product comprising a computer-readable medium having codes stored thereon, which, when executed by a processor, causes the processor to implement the method described in any one or more of solutions P1 to P42.
[0333] P45. The methods, devices or systems described in this document.
[0334] Another list of preferred solutions for some embodiments is provided next.
[0335] 1. A method of digital media processing, comprising performing a conversion between a media segment and a bitstream of the media segment, wherein the conversion complies with format rules and encryption rules, and wherein the format rules specify signaling verification information in the bitstream, the verification information including an indication of the integrity of a portion of the media segment.
[0336] 2. The method of solution 1, wherein the verification information includes one or more secure hash values.
[0337] 3. The method of solution 2, further comprising calculating one or more reconstructed secure hash values based on the bitstream; and comparing the one or more reconstructed secure hash values with the one or more secure hash values.
[0338] 4. The method of solution 3, wherein one or more reconstructed secure hash values being equal to the one or more secure hash values indicates that integrity of the portion of the media segment is maintained.
[0339] 5. The method of solution 3, wherein one or more reconstructed secure hash values differ from the one or more secure hash values indicating that integrity of the portion of the media segment is not maintained.
[0340] 6. The method of any one of solutions 1 to 5, wherein the area of the current picture of the media segment corresponds to a slice, a sub-picture, a slice, a codec tree unit (CTU), or a CTU row.
[0341] 7. The method of solution 6, wherein the bitstream includes an indication of the region.
[0342] 8. The method of solution 7, wherein the indication includes an upper left coordinate or a lower right coordinate of the region relative to the picture including the region.
[0343] 9. The method of solution 7, wherein the indication comprises an upper left coordinate or a lower right coordinate of an area specified using an upper left coordinate or a lower right coordinate of a unit in the media segment.
[0344] 10. The method of solution 9, wherein the unit is a codec tree block (CTB) or a codec tree unit (CTU).
[0345] 11. The method of solution 7, wherein the region is a sub-picture, and wherein the indication comprises an index of the sub-picture.
[0346] 12. The method of solution 7, wherein the one or more secure hash values include secure hash values of all pixels of the region in sequential order.
[0347] 13. The method of solution 12, wherein the order is a raster scan order.
[0348] 14. The method of solution 12, wherein the order is a decoding order.
[0349] 15. The method of solution 12, wherein the order comprises ascending or descending order of the indices of the regions of the media segments.
[0350] 16. The method of solution 6, wherein the integrity of the portion of the media segment is further based on a plurality of regions in a plurality of pictures in the media segment, wherein a relative position of each of the plurality of regions is the same as a relative position of the region in the current picture.
[0351] 17. The method of solution 16, wherein the bitstream includes a single indication including coordinates applicable to the region and each of the plurality of regions.
[0352] 18. The method of solution 6, wherein the integrity of the portion of the media segment is further based on a plurality of regions in a plurality of pictures in the media segment, wherein a relative position of each of the plurality of regions is different from a relative position of the region in the current picture.
[0353] 19. The method of solution 6 wherein the integrity of the zone is based on a direct comparison of one or more secure hash values.
[0354] 20. The method of any one of solutions 2 to 5, wherein the verification information further includes a private key encrypted message of one or more secure hash values indicating the source of the bitstream.
[0355] 21. The method of any one of solutions 1 to 5, wherein the verification information also includes a private key encrypted message of an area of the current image.
[0356] 22. The method of any one of solutions 1 to 5, wherein the verification information further includes a private key encrypted message of a checksum or cyclic redundancy check (CRC) of an area of the current picture.
[0357] 23. The method of any one of solutions 2 to 5, wherein the verification information further includes a trusted timestamp message, the trusted timestamp message including one or more hashed secure hash values time stamped by a timestamp authority (TSA).
[0358] 24. The method of solution 6, wherein the definition of the region includes a starting point, a region height, and a region width.
[0359] 25. The method of solution 6, wherein the definition of the region includes a starting point and a predefined closed shape.
[0360] 26. The method of any one of solutions 1 to 5, wherein the verification information is sent in a Supplemental Enhancement Information (SEI) message.
[0361] 27. The method of solution 6, further comprising outputting whether the secure hash value of the region matches one or more secure hash values.
[0362] 28. The method of solution 6 further includes outputting whether the secure hash value of the region matches one or more secure hash values, independent of the starting point of the region.
[0363] 29. The method of any one of solutions 1 to 28, wherein the media segment is a video segment.
[0364] 30. The method of any one of solutions 1 to 28, wherein the media segment is an audio segment.
[0365] 31. The method of any one of solutions 1 to 28, wherein the media segment is an image.
[0366] 32. The method of any one of solutions 1 to 5, wherein the media segment is an audio signal defined using a start time and a duration of the audio signal.
[0367] 33. The method of solution 32, wherein the audio decoder is configured to output an indication of whether the secure hash value of the audio signal matches one or more secure hash values.
[0368] 34. The method of solution 32, wherein the audio decoder is configured to output an indication of whether the secure hash value of the audio signal matches the one or more secure hash values independent of a starting point of the audio signal.
[0369] 35. The method of any one of solutions 1 to 5, wherein a media segment is a video signal defined as a set of consecutive pictures in display order.
[0370] 36. The method of solution 35, wherein the video decoder is configured to output an indication of whether the secure hash value of the video signal matches the one or more secure hash values.
[0371] 37. The method of solution 35, wherein the video decoder is configured to output an indication of whether the secure hash value of the video signal matches the one or more secure hash values independent of a starting point of the video signal.
[0372] 38. The method of solution 34 or 35, wherein after decoding the bitstream, the media segments are played in a predetermined order.
[0373] 39. The method of solution 34 or 35, wherein after decoding the bitstream, the media segment is played at a speed that is different from the source speed.
[0374] 40. The method of any one of solutions 1 to 39, wherein the media fragment is in a network abstraction layer (NAL) unit.
[0375] 41. The method of any one of solutions 1 to 39, wherein the media fragments are in a video codec layer network abstraction layer (NAL) unit.
[0376] 42. The method of any one of solutions 1 to 39, wherein the media fragment is in multiple network abstraction layer (NAL) units.
[0377] 43. The method of any one of solutions 1 to 39, wherein the encryption rules specify applying at least one of a Digital Signature Algorithm (DSA), a Rivest Shamir Adleman (RSA) algorithm, and an Elliptic Curve Digital Signature Algorithm (ECDSA) to portions of the media segments.
[0378] 44. The method of any one of solutions 1 to 39, wherein generation of one or more secure hash values is based on Federal Information Processing Standard (FIPS) 180-4 or FIPS 202.
[0379] 45. The method of any of solutions 1 to 5, wherein the cryptographic rules specify applying at least one of a Digital Signature Algorithm (DSA), a Rivest Shamir Adleman (RSA) algorithm, and an Elliptic Curve Digital Signature Algorithm (ECDSA) to reconstruction of the same region in one or more pictures of the media segment.
[0380] 46. The method of solution 45, wherein at least one of DSA, RSA, or ECDSA is applied to the reconstruction until a cancel flag in a supplemental enhancement information (SEI) message in the bitstream is true.
[0381] 47. The method of any of solutions 1 to 5, wherein the format rules specify that the region of the media segment is constrained.
[0382] 48. The method of solution 47, wherein the horizontal component and the vertical component of the upper left point of the constraint specifying the region are non-negative integers.
[0383] 49. The method of solution 47, wherein the constraint specifies that the region is within a picture or a sub-picture.
[0384] 50. The method of solution 47, wherein the constraint specifies that the region is measured in chrominance units or luminance units.
[0385] 51. The method of solution 47, wherein the constraint specifies the area to be defined using the coordinates of the top left position, the width, and the height.
[0386] 52. The method of solution 47, wherein the constraint specifies that the region is defined using a start point at the upper left position and an end point at the lower right position.
[0387] 53. The method of solution 47, wherein the constraint specifies that the region is defined using (HK) and (WK), where H is the height of the region, W is the width of the region, and K is an integer.
[0388] 54. The method of solution 53, wherein K=1.
[0389] 55. The method of any one of solutions 1 to 5, wherein the encryption rules stipulate that the verification information also includes one or more public keys.
[0390] 56. The method of solution 55, wherein at least one of the one or more public keys is sent in a Supplemental Enhancement Information (SEI) message.
[0391] 57. The method of any one of solutions 1 to 5, wherein the cryptographic rules specify that the verification information includes one or more parameters related to a digital signature algorithm (DSA) or an elliptic curve digital signature algorithm (ECDSA).
[0392] 58. The method of solution 57, wherein at least one of the one or more parameters is sent in a Supplemental Enhancement Information (SEI) message.
[0393] 59. The method of any of solutions 1 to 5, wherein the encryption rules specify the application of the Rivest Shamir Adleman (RSA) algorithm, and wherein the RSA signature is binarized in big endian or little endian.
[0394] 60. The method of any of solutions 1 to 5, wherein the cryptographic rules specify the application of a Digital Signature Algorithm (DSA) or an Elliptic Curve Digital Signature Algorithm (ECDSA), and wherein r and s are parameters of a digital signature of the DSA or ECDSA.
[0395] 61. The method of solution 60, wherein r and s are binarized in big-endian fashion.
[0396] 62. The method of solution 60, wherein r and s are binarized in little-endian fashion.
[0397] 63. The method of any of solutions 60 to 62, wherein r is binarized before s.
[0398] 64. The method of any of solutions 60 to 62, wherein r is binarized after s.
[0399] 65. The method of any of solutions 1 to 5, wherein the cryptographic rules dictate that the digital signature associated with the cryptographic technique is byte-aligned in the bitstream.
[0400] 66. The method of solution 65, wherein the digital signature is byte-aligned in a Supplemental Enhancement Information (SEI) message.
[0401] 67. The method of any one of solutions 1 to 66, wherein the encryption rule specifies no encryption.
[0402] 68. The method of any of solutions 1 to 67, wherein converting comprises decoding the media segments from a bitstream.
[0403] 69. The method of any one of solutions 1 to 67, wherein the conversion comprises encoding the media segments into a bitstream.
[0404] 70. A method for storing a bitstream representing a media segment to a computer-readable recording medium, comprising generating a bitstream from the media segment according to the method described in any one or more of Solutions 1 to 67; and writing the bitstream to the computer-readable recording medium.
[0405] 71. A media processing device, comprising a processor configured to implement any one or more of the methods of solutions 1 to 70.
[0406] 72. A computer-readable medium having instructions stored thereon, which when executed cause a processor to implement the method described in one or more of solutions 1 to 70.
[0407] 73. A computer-readable medium storing a bitstream generated according to any one or more of solutions 1 to 70.
[0408] 74. A media processing device for storing a bitstream, wherein the media processing device is configured to implement the method described in any one or more of solutions 1 to 70.
[0409] In this document, the term "media processing" may refer to media encoding, media decoding, media compression, or media decompression. The term media may refer to video, audio, and images. For example, during the conversion from a pixel representation of a video to a corresponding bitstream, a video compression algorithm may be applied, and vice versa. As defined by the syntax, the bitstream of the current video block may correspond to bits that are juxtaposed or interspersed at different positions within the bitstream. For example, a macroblock may be encoded based on a transformed and encoded error residual value, and also using bits in a header and other fields in the bitstream. In addition, during conversion, the decoder may parse the bitstream based on the determination as described in the above solution, knowing that some fields may or may not exist. Similarly, the encoder may determine whether to include or not include certain syntax fields, and generate the codec representation accordingly by including or excluding the syntax fields from the codec representation.
[0410] The disclosed solutions and other solutions, examples, embodiments, modules and functional operations described in this document may be implemented in the following: digital electronic circuits, or computer software, firmware or hardware, including the structures disclosed in this document and their structural equivalents, or a combination of one or more of the above. The disclosed embodiments and other embodiments may be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer-readable medium, for execution by a data processing device or controlling its operation. The computer-readable medium may be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter that affects a machine-readable propagation signal, or one or more combinations thereof. The term "data processing device" encompasses all devices, equipment and machines for processing data, including, for example, a programmable processor, a computer or multiple processors or computers. In addition to hardware, the device may also include code that creates an execution environment for the computer program in question, for example, code that constitutes a processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more thereof. A propagation signal is an artificially generated signal, for example, a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device.
[0411] A computer program (also referred to as a program, software, software application, script, or code) may be written in any form of programming language, including compiled or interpreted languages, and may also be deployed in any form, including as a standalone program or a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program may be stored in a file portion that holds other programs or data (e.g., one or more scripts stored in a markup language document), a single file dedicated to a related program, or multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions). A computer program may be deployed to execute on a single computer, or on multiple computers located at one site or distributed across multiple sites and interconnected by a communications network.
[0412] The processes and logic flows described in this document may be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows may also be performed by, and the apparatus may also be implemented as, special purpose logic circuitry, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
[0413] For example, processors suitable for executing computer programs include general and special purpose microprocessors, and any one or more processors of any type of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include or be operatively coupled to receive data from or transfer data to one or more mass storage devices (e.g., magnetic disks, magneto-optical disks, or optical disks) for storing data. However, a computer does not require such a device. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM optical disks. The processor and memory can be supplemented by or incorporated into a dedicated logic circuit.
[0414] Although this patent document contains many details, these details should not be interpreted as limitations on the scope of any subject matter or claimed content, but should be interpreted as descriptions of features peculiar to specific embodiments of specific technologies. Certain features described in the context of separate embodiments in this patent document may also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable sub-combination. In addition, although the above-mentioned features may be described as working in a specific combination, or even initially claimed to be so, in some cases, one or more features may be deleted from the claimed combination, and the claimed combination may point to a variant of a sub-combination or a sub-combination.
[0415] Similarly, although the operations are described in a particular order in the drawings, this should not be understood as requiring that such operations be performed in the particular order or sequential order shown, or that all of the operations shown be performed to achieve the desired results. In addition, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.
[0416] Only a few implementations and examples are described, and other implementations, enhancements, and variations may be made based on what is described and illustrated in this patent document.
Claims
1. A digital media processing method, comprising: performing conversion between media segments and bitstreams of said media segments, Wherein, the conversion complies with the format rules and encryption rules, wherein the format rule specifies signaling verification information in the bitstream, the verification information comprising a first indication of integrity of the portion of the media segment, The area of the current picture of the media segment corresponds to a slice, a sub-picture, a slice, a codec tree unit CTU or a CTU row, wherein the bitstream comprises a second indication of the region, wherein the second indication comprises an upper left coordinate or a lower right coordinate of the region relative to a picture comprising the region, or the second indication comprises an upper left coordinate or a lower right coordinate of the region specified using an upper left coordinate or a lower right coordinate of a unit in the media segment, Wherein, the verification information includes one or more secure hash values, and The verification information further includes a private key encrypted message of the one or more secure hash values indicating a source of the bit stream.
2. The method according to claim 1, further comprising: computing one or more reconstructed secure hash values based on the bitstream; as well as The one or more reconstructed secure hash values are compared to the one or more secure hash values.
3. The method according to claim 2, wherein: The one or more reconstructed secure hash values being equal to the one or more secure hash values indicates that the integrity of the portion of the media segment is maintained.
4. The method according to claim 2, wherein: The one or more reconstructed secure hash values being different from the one or more secure hash values indicates that the integrity of the portion of the media segment is not maintained.
5. The method according to claim 1, wherein: The unit is a codec tree block CTB or a codec tree unit CTU.
6. The method according to claim 1, wherein: The region is a sub-picture, and wherein the second indication comprises an index of the sub-picture.
7. The method according to claim 1, wherein: The one or more secure hash values include secure hash values of all pixels of the region in sequential order.
8. The method according to claim 7, wherein: The order is a raster scan order.
9. The method according to claim 7, wherein: The order is the decoding order.
10. The method according to claim 7, wherein: The order comprises an ascending or descending order of the indices of the regions of the media segments.
11. The method according to claim 1, wherein: The integrity of the portion of the media segment is further based on a plurality of regions in a plurality of pictures in the media segment, a relative position of each region in the plurality of regions being the same as a relative position of the region in the current picture.
12. The method according to claim 11, wherein: The bitstream includes a single indication including coordinates applicable to the region and each of the plurality of regions.
13. The method according to claim 1, wherein: The integrity of the portion of the media segment is further based on a plurality of regions in a plurality of pictures in the media segment, a relative position of each region in the plurality of regions being different from a relative position of the region in the current picture.
14. The method according to claim 1, wherein: The integrity of the region is based on a direct comparison of the one or more secure hash values.
15. The method according to any one of claims 1 to 4, wherein: The verification information also includes a private key encrypted message of the area of the current picture.
16. The method according to any one of claims 1 to 4, wherein: The verification information also includes a private key encrypted message of a checksum of the area of the current picture and / or a cyclic redundancy check CRC.
17. The method according to any one of claims 1 to 4, wherein: The verification information also includes a trusted timestamp message including the one or more hash security hash values time stamped by a timestamp authority TSA.
18. The method according to claim 1, wherein: The definition of the region includes a starting point, a region height, and a region width.
19. The method according to claim 1, wherein: The definition of the area includes a starting point and a predefined closed shape.
20. The method according to any one of claims 1 to 4, wherein: The verification information is sent in a supplemental enhancement information SEI message.
21. The method according to claim 1, further comprising: Outputting whether the secure hash value of the region matches the one or more secure hash values.
22. The method of claim 1, further comprising: Independent of a starting point of the region, outputting whether the secure hash value of the region matches the one or more secure hash values.
23. The method according to any one of claims 1 to 14, wherein: The media segment is a video segment.
24. The method according to any one of claims 1 to 14, wherein: The media segment is an audio segment.
25. The method according to any one of claims 1 to 14, wherein: The media segment is an image.
26. The method according to any one of claims 1 to 4, wherein: The media segment is an audio signal defined using a start time and a duration of the audio signal.
27. The method according to claim 26, wherein: The audio decoder is configured to output an indication of whether the secure hash value of the audio signal matches the one or more secure hash values.
28. The method according to claim 26, wherein: The audio decoder is configured to output an indication of whether the secure hash value of the audio signal matches the one or more secure hash values independent of a starting point of the audio signal.
29. The method according to any one of claims 1 to 4, wherein: The media segment is a video signal defined as a set of consecutive pictures in display order.
30. The method of claim 29, wherein: The video decoder is configured to output an indication of whether the secure hash value of the video signal matches the one or more secure hash values.
31. The method of claim 29, wherein: The video decoder is configured to output an indication of whether the secure hash value of the video signal matches the one or more secure hash values independent of a starting point of the video signal.
32. The method of claim 28, wherein: After decoding the bitstream, the media segments are played in a predetermined order.
33. The method of claim 28, wherein: After decoding the bitstream, the media segment is played at a speed that is different in accuracy from the source speed.
34. The method according to any one of claims 1 to 14, wherein: The media segment is located in a Network Abstraction Layer (NAL) unit.
35. The method according to any one of claims 1 to 14, wherein: The media segment is located in the video codec layer network abstraction layer NAL unit.
36. The method according to any one of claims 1 to 14, wherein: The media segments are located in a plurality of Network Abstraction Layer (NAL) units.
37. The method according to any one of claims 1 to 14, wherein: The encryption rules specify applying at least one of a digital signature algorithm DSA, a Rivest Shamir Adleman RSA algorithm, and an elliptic curve digital signature algorithm ECDSA to a portion of the media segment.
38. The method according to any one of claims 1 to 14, wherein: The generation of the one or more secure hash values is based on Federal Information Processing Standard FIPS180-4 or FIPS202.
39. The method according to any one of claims 1 to 4, wherein: The encryption rules specify applying at least one of a digital signature algorithm DSA, a Rivest Shamir Adleman RSA algorithm, and an elliptic curve digital signature algorithm ECDSA to reconstruction of the same region in one or more pictures of the media segment.
40. The method of claim 39, wherein: The at least one of the DSA, the RSA or the ECDSA is applied to the reconstruction until a cancel flag in a supplemental enhancement information SEI message in the bitstream is true.
41. The method according to any one of claims 1 to 4, wherein: The format rules specify that the region of the media segment is constrained.
42. The method according to claim 41, wherein: The constraint stipulates that the horizontal and vertical components of the upper left point of the region are non-negative integers.
43. The method of claim 41, wherein: The constraint specifies that the region is within a picture or a sub-picture.
44. The method of claim 41, wherein: The constraint specifies that the region be measured in chrominance units or luma units.
45. The method of claim 41, wherein: The constraints specify that the region is defined using the coordinates of the top left position, width, and height.
46. The method of claim 41, wherein: The constraint specifies that the region is defined using a start point at the upper left position and an end point at the lower right position.
47. The method of claim 41, wherein: The constraint specifies the use of HK and WK to define the region, where H is the height of the region, W is the width of the region, and K is an integer.
48. The method of claim 47, wherein: K=1。 49. The method according to any one of claims 1 to 4, wherein: The encryption rules specify that the authentication information also includes one or more public keys.
50. The method of claim 49, wherein: At least one public key of the one or more public keys is sent in a supplemental enhancement information SEI message.
51. The method according to any one of claims 1 to 4, wherein: The encryption rule stipulates that the verification information includes one or more parameters related to the digital signature algorithm DSA or the elliptic curve digital signature algorithm ECDSA.
52. The method of claim 51, wherein: At least one parameter of the one or more parameters is sent in a supplemental enhancement information SEI message.
53. The method according to any one of claims 1 to 4, wherein: The encryption rules specify the application of the Rivest Shamir Adleman RSA algorithm, and wherein the RSA signature is binarized in big endian or little endian.
54. The method according to any one of claims 1 to 4, wherein: The encryption rules specify the application of a digital signature algorithm DSA or an elliptic curve digital signature algorithm ECDSA, and wherein r and s are parameters of the digital signature of the DSA or the ECDSA.
55. The method of claim 54, wherein: r and s are binary-encoded in big-endian format.
56. The method of claim 54, wherein: r and s are binary-encoded in little-endian format.
57. The method of claim 54, wherein: r is binarized before s.
58. The method of claim 54, wherein: r is binarized after s.
59. The method according to any one of claims 1 to 4, wherein: The encryption rules dictate that a digital signature associated with an encryption technique be byte-aligned in the bit stream.
60. The method of claim 59, wherein: The digital signature is byte-aligned in the supplemental enhancement information SEI message.
61. The method according to any one of claims 1 to 14, wherein: The encryption rule specifies no encryption.
62. The method according to any one of claims 1 to 14, wherein: The converting includes decoding the media segments from the bitstream.
63. The method according to any one of claims 1 to 14, wherein: The converting includes encoding the media segments into the bitstream.
64. A method of storing a bitstream representing a media segment to a computer readable recording medium, comprising: Generating the bitstream from the media fragments according to the method of any one of claims 1 to 61; and The bit stream is written to the computer-readable recording medium.
65. A media processing device, comprising a processor, wherein the processor is configured to implement the method of any one of claims 1 to 64.
66. A computer readable medium having stored thereon instructions which, when executed, cause a processor to implement the method of any one of claims 1 to 64.
67. A computer-readable medium storing a bitstream, wherein the bitstream is generated according to any one of claims 1 to 61, 63.
68. A media processing device for storing a bit stream, wherein: The media processing device is configured to implement the method of any one of claims 1 to 64.
Citation Information
Cited By
Indication of digital medial integrity
US12432077B2
Picture partitioning in video coding
US12627495B2
