The following relates to the technical field of the protection of privacy in video streams.
H.264 describes an ITU-T standard for compressing video data and is described with the same wording in ISO/IEC 14496-10 (AVC).
HEVC describes a further standard for compressing video data and is described in ISO/IEC 23008-2.
AVC is the name at ISO and stands for Advanced Video Coding. HEVC is likewise the name at ISO and stands for High Efficiency Video Coding.
It is known that a video stream can comprise a slice structure, which is the case in AVC and HEVC, for example. A slice is usually used to structure the data of the video stream. A slice is typically a detail from an image.
There are numerous situations in which the protection of privacy in video streams is desirable. It may be advisable when monitoring a terrain or building by means of video camera to protect image details that show public space against unauthorized monitoring. Similarly, there are situations in which faces of persons who move in an area monitored by a video camera need to be disguised.
On the one hand, decoder-end solutions are known. However, most of these do not provide adequate protection, since the content of the video stream obtains in unprotected form at least at the input of the decoder.
These decoder-end methods involve original streams being decoded, for example in the decoder, and the regions to be protected being faded out, for example by blackening or distorting them, so that they no longer show content relevant to privacy when displayed on a screen. The resulting video streams are in turn encoded in a complex manner by a further encoder and stored. In this way, the decoder adds in measures for protecting privacy in the image region and the streams that are in turn encoded by the decoder are stored in the video management system of the monitoring installation. The restriction of access rights means that only particular users are able to present the video streams without protection of privacy, while other users are able to present the video streams with protection of privacy applied. A disadvantage of decoder-end solutions is also that multiple, predominantly identical video streams need to be stored, and that the videos without the application of measures for protecting privacy require special handling appropriate to the sensitive content.
On the other hand, further known measures involve selective encryption in the encoder. Most of these methods require profound integration into the video encoder. In this case, one main application is the reduction of the overall quality of the video in order to protect paid content. The benefit for protection of privacy is questionable in this case, however. In order to obtain standard compliance, only very few syntax elements are left to which the encryption can be applied, which is problematic particularly when context adaptive binary arithmetic coding (CABAC) is used. Selective encryption in the encoder also requires restrictions for the encoding modes used to be tolerated, or the presence of special features in the encoder, such as flexible macroblock ordering (FMO), for example, is a prerequisite. However, these known methods have the disadvantage that measures for protecting privacy necessitate adaptation of the encoder and decoder.
Both decoder-end and encoder-end methods usually have the disadvantage that measures for protecting privacy are applied to the entire content of the video stream, since signaling to limit standardized measures to particular image regions has not been known to date.
Therefore, the present embodiments of the invention are based on the aspect of simplifying the implementation of protection of privacy in a video stream.
According to one aspect, a method for protecting a privacy is proposed. This involves a video stream being produced. The video stream comprises a slice structure. A slice of the video stream that comprises content to be protected is identified. A slice that is at least partially redundant in relation to the identified slice is produced, so that two at least partially redundant slices are obtained. The content to be protected in one of the two slices is encrypted. In the other slice, at least one measure to ensure privacy is applied to the content to be protected.
According to a further aspect, an apparatus for protecting privacy in a video stream is presented. The video stream comprises a slice structure. The apparatus comprises an identification means, a production means, an encryption means and a privacy means. The identification means is adapted to identify a slice of the video stream that comprises content to be protected. The production means is adapted to produce a slice that is at least partially redundant in relation to the identified slice, so that two at least partially redundant slices are obtained. The encryption means is adapted to encrypt the content to be protected in one of the two slices. The privacy means is adapted to apply at least one measure to ensure privacy to the content to be protected in the other of the two slices.
Some of the embodiments will be described in detail, with reference to the following figures, wherein like designations denote like members, wherein:
The apparatus 1 for protecting privacy comprises an identification means or device 2, a production means or device 3, an encryption means or device 4 and privacy means or device 5. The identification means 2 is adapted to identify a slice 31 of a video stream 30 that comprises content 32 to be protected. The production means 3 is adapted to produce a slice 41 that is at least partially redundant in relation to the identified slice 31, so that two at least partially redundant slices 31, 41 are obtained. The encryption means 4 is adapted to encrypt the content 32 to be protected in one of the two slices 31, 41. The privacy means 5 is adapted to apply at least one measure to ensure privacy to the content 32 to be protected in the other 41, 31 of the two slices 31, 41.
Preferably, the method is performed for multiple slices that comprise content to be protected. By way of example, according to a preferred embodiment, each slice of the video stream 30 that comprises a content to be protected is identified as part of a method step 26. For each of these identified slices, a respective at least partially redundant slice is produced, so that slice pairs each having two at least partially redundant slices are obtained. For each of the slice pairs, respective method steps 27-29 are performed.
Preferably, the method is performed only for slices that comprise content to be protected. In this case, the video stream 30 thus contains at least one slice that comprises no content to be protected, and for which no redundant slice is produced.
Additionally, the two slices 31, 41 are each identifiable by means of a flag 33, 43 in the video stream 30, the flags 33, 43 preferably not being encrypted later in the process so that the two slices 31, 41 are still identifiable following the encryption without increased effort. The flags 33, 43 furthermore allow direct access to the slices, which is advantageous for the packetization in the case of relevant transmission methods or for the organization of the memory space in the case of the decoding, inter alia.
Preferably, the at least partially redundant slice 41 is produced in the video stream 30, so that two at least partially redundant slices 31, 41 are obtained in the video stream 30. According to preferred exemplary embodiments, the encoding of the video is also included. By way of example, the slice structure is, according to one exemplary embodiment, embodied such that the content to be protected is comprised by the identified slice. In other words: the structuring of the content into slices can thus be effected such that the region to be protected (e.g. the visible part of the road) is combined in one slice. This makes protection of privacy easier because only one slice needs to be duplicated.
Preferably, the video stream 30 is a compressed video stream and/or the at least partially redundant slice 41 is produced in the compressed video stream 30. In other words: first of all, the encoder 12 of the video camera 11, for example, produces a compressed video stream and, at a later time, the encryption means 4 encrypts the content 32 to be protected in one of the two slices 31, 41. Since encrypted data are normally compressible to less of an extent, this allows the compression rate to be increased.
Preferably, the compressed video stream in which privacy protection is performed is an AVC video stream.
According to preferred embodiments of the invention, an at least partially redundant slice 41 is produced in the compressed video for that slice 31 in the original image in which the measure is intended to be applied to the content to be protected. The original content in the slice 31 is rendered illegible by means of encryption. As a result, the decoder 22 is prompted to decode the redundant slice 41. In the redundant slice 41, the regions 32 to be protected are blackened or disguised.
The regions 32 that need to be protected are altered in the redundant slice in accordance with the chosen method. The original slice 31 is e.g. encrypted. This method works independently of the video encoder 12 and decoder 22.
At the end of the method 24, an encoded video is obtained that contains both components 32, 34, and any available decoder 22 would display exclusively the video in which the measures are applied.
The encryption of the original slice 31 means that no further special treatment of the content to be protected is required. The original slice can be represented again only if the key is known.
Preferred embodiments of the invention solve the following problems:
Preferred embodiments of the invention are distinguished by the following advantages:
Number | Date | Country | Kind |
---|---|---|---|
10 2013 226 802.5 | Dec 2013 | DE | national |
This application claims priority to PCT Application No. PCT/EP2014/072561, having a filing date of Oct. 21, 2014, based off of German application No. DE 102013226802.5 having a filing date of Dec. 20, 2013, the entire contents of which are hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2014/072561 | 10/21/2014 | WO | 00 |