Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
STREAMING PIRACY DETECTION METHOD AND SYSTEM
Document Type and Number:
WIPO Patent Application WO/2018/007893
Kind Code:
A1
Abstract:
In one embodiment, a command is received from a video provider at a media rendering device, the command being a command to embed a subscriber ID in at least one video frame in a video stream, A random key, k is also received from the video provider at the media rendering device. An injective transformation is invoked for k and the subscriber ID, the injective transformation generating a sequence of pairs of: near-transparent patterns and corresponding time periods. Logical blocks of the at least one video frame in the video stream are overlaid with one of the near-transparent patterns for its one of the corresponding time periods. Related apparatus, systems, and methods are also described.

Inventors:
HAZAN AVI (IL)
ELKABATZ ORIEL (IL)
Application Number:
PCT/IB2017/053787
Publication Date:
January 11, 2018
Filing Date:
June 25, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CISCO TECH INC (US)
International Classes:
H04N21/2343; G06T1/00; H04N19/46; H04N21/8352; H04N21/8358
Foreign References:
GB2505657A2014-03-12
US20040125125A12004-07-01
Other References:
None
Attorney, Agent or Firm:
KATZ, Samuel M. et al. (US)
Download PDF:
Claims:
What is claimed is:

CLAIMS

1. A method comprising:

receiving, at a media rendering device, a command from a video provider to embed a subscriber ID in at least one video frame in a video stream;

receiving a random key, k, from the video provider; invoking an injective transformation for k and the subscriber ID, the inject ive transformation generating a sequence of pairs of: near-transparent patterns and corresponding time periods; and

overlaying logical blocks of the at least one video frame in the video stream with one of the near-transparent patterns for its one of the corresponding time periods. 2. The method according to claim 1 and further comprising outputting the at least one video frame in the video stream in logical blocks overlaid with the near-transparent patterns having a color component.

3. The method according to claim 1 or 2 wherein the subscriber ID comprises one of a smart card ID or a device ID.

4. The method according to any of claims 1 to 3 wherein the size of each of the logical blocks is equal to up to one eighth of a size of a video display screen of the media rendering device.

5. The method according to any of claims 1 to 4 wherein the time period is one second.

6. The method according to any of claims 1 to 5 wherein the near- transparent patterns are between 89% - 96% transparent.

7. The method according to any of claims 1 to 6 wherein the near- transparent patterns are imperceptible to the human eye.

8. The method according to any of claims 1 to 7 wherein the injective transformation comprises:

mapping the subscriber ID to a set of pairs: {(B1, X1), (B., X:)

(B,,, Xn)} , wherein n is the total number of logical blocks per video frame, and Xi is the number of time periods to overlay an embedded overlay on block Bi;

creating a set of sequences of the near-transparent patterns, each one of the patterns being associated with one logical block;

displaying one of the near-transparent patterns of the set of sequences on each one of the logical blocks for the number of time periods; and

changing the displayed one of the near-transparent patterns of the set of sequences on each one of the logical blocks to a next one of the one of the near- transparent patterns of the set of sequences on each one of die logical blocks at the end of the number of time periods.

9. The method according to any of claims 1 to 8 wherein the near- transparent patterns comprise one of: horizontal lines; vertical lines; diagonal lines; circular shapes; triangular shapes; fractal shapes; and an irregular gradient.

10. The method according to any of claims 1 to 9 wherein the video provider comprises at least one of a broadcast headend or a video server. 1 1. A method comprising:

generating a random key, k, at a video provider;

sending a command to a media rendering device to embed a subscriber ID in at least one video frame in a video stream, the command invoking an injective transformation for k and the subscriber ID, the injective transformation generating: a sequence of near-transparent patterns and corresponding time periods;

sending k to the media rendering device; and instructing the media rendering device to overlay, logical blocks of the at least one video frame in the video stream with one of the near-transparent patterns for its one of the corresponding time periods. 12. The method according to claim 1 1 and further the command sent to the media device a command to output die at least one video frame in die video stream comprising logical blocks overlaid with the near-transparent patterns having a color component. 13. The method according to claim 11 or 12 wherein the subscriber ID comprises one of a smart card ID or a device ID.

14. The method according to any of claims 1 1 to 13 wherein the size of each of the logical blocks is equal to up to one eighth of a size of a video display screen of the media rendering device.

15. The method according to any of claims 1 1 to 14 wherein the time period is one second. 16. The method according to any of claims 11 to IS wherein the near- transparent patterns are between 89% - 96% transparent.

17. The method according to any of claims 11 to 16 wherein the near- transparent patterns are imperceptible to the human eye.

18. The method according to any of claims 1 1 to 17 wherein the injective transformation comprises:

mapping the subscriber ID to a set of pairs: {(B1, X1), (B_, X;)

(Bn, X»)} , such that n is the total number of logical blocks per video frame, and Xi is the number of time periods to overlay an embedded overlay on block B,;

creating a set of sequences of the near-transparent patterns, each one of the patterns being associated with one logical block; displaying one of the near-transparent patterns of the set of sequences on each one of the logical blocks for the number of time periods; and

changing the displayed one of the near-transparent patterns of the set of sequences on each one of the logical blocks to a next one of the one of the near- transparent patterns of the set of sequences on each one of the logical blocks at the end of the number of time periods.

19. The method according to any of claims 1 1 to 18 wherein the near- transparent patterns comprises one of: horizontal lines; vertical lines; diagonal lines; circular shapes; triangular shapes; fractal shapes; and an irregular gradient.

20. The method according to any of claims 11 to 19 wherein video provider comprises at least one of a broadcast headend or a video server. 21. Apparatus comprising:

means for receiving, at a media rendering device, a command from a video provider to embed a subscriber ID in at least one video frame in a video stream;

means for receiving a random key, k, from the video provider, means for invoking an injective transformation for k and the subscriber ID, the injective transformation generating a sequence of pairs of: near- transparent patterns and corresponding time periods; and

means for overlaying logical blocks of the at least one video frame in the video stream with one of the near-transparent patterns for its one of the corresponding time periods.

22. Apparatus according to claim 21 further comprising means for implementing the method according to any of claims 2 to 10. 23. Apparatus comprising:

means for generating a random key, k, at a video provider;

means for sending a command to a media rendering device to embed a subscriber ID in at least one video frame in a video stream, the command invoking an injective transformation for k and the subscriber ID, the injective transformation generating: a sequence of near-transparent patterns and corresponding time periods;

means for sending k to the media rendering device; and means for instructing the media rendering device to overlay, logical blocks of the at least one video frame in the video stream with one of the near- transparent patterns for its one of the corresponding time periods.

24. Apparatus according to claim 23 further comprising means for implementing the method according to any of claims 12 to 20.

25. A computer program, computer program product or logic encoded on a tangible computer readable medium comprising instructions for implementing the method according to any one of claims 1 to 20.

Description:
STREAMING PIRACY DETECTION METHOD AND SYSTEM TECHNICAL FIELD [0001 ] The present disclosure generally relates to forensic marking of video.

BACKGROUND

[0002] Video service providers contend with ongoing challenges posed by streaming piracy over the Internet. Streaming piracy has become one of the greatest threats to conditional access (CA) and digital rights management (DRM) systems at the present time. Pirates can use a simple frame grabber device in order to grab the video from a media rendering device, such as a set top box (STB), a tablet or handheld device, or other appropriate media device, output (analog or HDMI), and then stream the output to their web site. Video service providers use human based- detection in order to detect pirated copies of the pirated video. The video service providers may send commands which cause fingerprints, comprising subscriber card IDs to be displayed on a viewing screen. The video service providers then manually search for such IDs in pirated copies of the content. Alternatives to this manual method include using optical character recognition (OCR) systems which parse on-screen IDs. However, OCR systems typically have about a 95% success rate, due to known OCR issues, such as "B-8" confusion etc.

[0003] Persons who attempt to gain unauthorized access to video, sometimes referred to as "Hackers" or "Pirates' 1 may attempt to circumvent detection of such fingerprinted content by any of the following techniques:

Blocking of middleware or electronic program guide (EPG) processes by hardware modifications which cause IRQs (interrupt request lines) to overflow, thereby preventing proper communication between a set top box module which communicates with a security token, such as a smart card, and the EPG or middleware, thereby disabling fingerprinting;

Blocking of conditional access entitlement management messages (EMMs) which trigger fingerprinting; Modification of the sections of EM Ms and entitlement content messages (ECMs) directed to the media device module which communicates with the security token in order to remove fingerprint triggering;

Collaborative attacks, which use output of several media devices, where different areas between the output streams are blacked out; and

Interlace attacks, which use outputs from several media device s, and interlacing one stream upon another one in order to blur the fingerprinted ID.

[0004] Such video, to which a hacker or pirate has gained unauthorized or illegal access may be referred to as hacked video, hacked content, rogue content, or other simi lar terms.

BRIEF DESCRIPTION OF THE DRAWINGS AND APPENDIX

[0005] The present disclosure will be understood and appreciated more fully from the following detailed description, taken in conjunction with the drawings in which:

[0006] Fig. 1 is a simplified block diagram illustration of a set top box comprising an overlay embedding sub-system constructed and operative in accordance with an embodiment of the present invention;

[0007] Fig.2 is a simplified pictorial illustration of a video frame subdivided into logical blocks for embedding an overlay;

[0008] Fig. 3 is a simplified pictorial illustration of several logical blocks of the video frame of Fig. 2 with embedded overlays;

[0009] Fig. 4 is a comparison of a portion of each of two video frames comprising embedded overlays according to an embodiment, where one video frame is from a pirated stream and a second video frame is from a source stream;

[0010] Fig. 5 is a simplified flowchart of a method of implementing an embodiment described herein at the set top box of Fig. 1 ;

[0011] Fig. 6 is a simplified flowchart of a method of implementing an embodiment described herein at a video provider in communication with the set top box of Fig. 1; and

[0012] Fig. 7 is a simplified pictorial illustration of alternative embodiments of the embedded overlays of Fig. 3. [0013] The present invention will be understood and appreciated more fully from the following detailed description, taken in conjunction with the appendix in which:

[0014] Appendix A is a discussion of the computational difficulty of finding randomly positioned overlays by temporal analysis of video, especially if the hacker has access to both the encoded video (possibly content encrypted) and the rendered video frames.

DESCRIPTION OF EXAMPLE EMBODIMENTS

OVERVIEW

[0015] Aspects of the invention are set out in the independent claims and preferred features are set out in the dependent claims. Features of one aspect may be applied to each aspect alone or in combination with other aspects. In one embodiment, a command is received from a video provider at a media rendering device, the command being a command to embed a subscriber ID in at least one video frame in a video stream. A random key, k is also received from the video provider at the media rendering device. An injective transformation is invoked for k and the subscriber ID, the injective transformation generating a sequence of pairs of: near-transparent patterns and corresponding time periods. Logical blocks of the at least one video frame in the video stream are overlaid with one of the near- transparent patterns for its one of the corresponding time periods. In another embodiment, a random key, k, is generated at a video provider. A command is sent to a media rendering device to embed a subscriber ID in at least one video frame in a video stream, the command invoking an injective transformation for k and the subscriber ID, the injective transformation generating: a sequence of near- transparent patterns and corresponding time periods. The random key, k, is sent to the media rendering device and the media rendering device is instructed to overlay, logical blocks of the at least one video frame in the video stream with one of the near-transparent patterns for its one of the corresponding time periods. The first embodiment and the second embodiment may be considered to be arranged as a system or as a plurality of inter-related products or methods analogous to a transmitter-receiver system. Related apparatus, systems, and methods are also described.

DESCRIPTIONS OF EXAMPLE EMBODIMENTS

[0016] Reference is now made to Fig. 1 , which is a simplified block diagram illustration of an exemplary media device, i.e., a media rendering device 10, which could be, for example, a set top box (STB), a tablet or hand-held device, or other appropriate media device, comprising an overlay embedding sub-system constructed and operative in accordance with an embodiment. The media rendering device 10 of Fig. 1 is now described. It is appreciated that the various sub-systems of the media rendering device 10 mentioned below may comprise their own sub- systems, hardware, software, and so forth, as is known in the art. The media rendering device 10 receives video, typically in the form of encrypted encoded video 155 from a video provider 20. The video provider 20 may comprise at least one of a broadcast headend or a video server, such as an over the top (OTT) video server. Figure 1 depicts logical relationships between processes and components, and not the physical relationship between those components. Additionally, components depicted in Fig. 1 may comprise physical hardware elements as well as logical or virtual components. As will be described below, the overlay embedding sub-system is comprised in a display output process, 180.

[0017] The media rendering device 10 typically comprises a processor 120, which may, be comprised of a single processor, several processors, including one or more specialized processor 120 for embedding a subscriber ID, which is typically a unique subscriber ID, as will be described below. The processor 120 is operationally connected to a security element, such as a smart card 130 via a smart card interface 140. A video decryptor ISO receives the encrypted encoded video 155 from media rendering device 10 systems which may include either real time video streaming systems or long term storage systems, such as long term storage 170. The video decryptor ISO also receives control words produced by the smart card interface 140, and decrypts encrypted encoded video 1SS according to the control words. The decrypted encoded video is decoded by a video decoder 160.

[0018] The processor is further operationally connected to the long term storage 170, non-transitory computer-readable storage media (i.e. memory) 173, and a user interface 175. The user interface 175 may include an electronic program guide and its sub-processes, as well as user input/output mechanisms, as are known in the art. The memory 173 may store instructions, which the processor 120 may execute in order to perform the methods described herein. The media rendering device 10 also comprises typical and standard other hardware, middleware and software components as are known in the art, and which, for ease of depiction, are not shown in Fig. 1.

[0019] The processor 120 is also operationally connected to a display output process 180 which comprises the embedder 185. The embedder 185 receives decoded decrypted video from the decoder 160 and, as will be described below, embeds the subscriber ID into the video 190. The subscriber ID embedded video 190 is output by the media rendering device 10 and may be displayed on a video display.

[0020] A range of subscriber IDs (by way of a non-limiting example, OxOOOOOO-OxFFFFFF) are encoded by the embedder 185 into a set of combinations of semi-transparent overlay blocks in several locations in the video for a variable period of time. As was noted above, these embedded overlays are created by the display output process 180, which may itself be a process of the EPG. A set of the overlays typically are shown on the video display for a long period of time (for example, 60 seconds). The overlays are typically large enough (up to 1/8 of the screen in some embodiments) so hackers will not black out these areas comprising the embedded overlays, because if they do, a large portion of the image on screen will be blacked out for this long period (i.e. an 1/8* of the screen will be blacked out for one minute, in this example). The overlay however, is designed to be almost imperceptible to human vision, and therefore, in principle will not disturb user viewing experience.

[0021] In order to encode 100,000,000 IDs, for example, the display output process 180 splits the screen into 8 imaginary blocks, covering each imaginary block in an overlay for 1 to 10 seconds. As such, 10" combinations of IDs (i.e. 100,000.000 IDs) may be encoded using the 8 imaginary blocks. The display output process 180 creates several transparent (about 90% transparency) overlays to embed in assorted locations on screen for a variant period of time each according to the given subscriber ID.

[0022] Since hackers can add additional random overlays on the pirated video stream for random number of seconds, the video provider 20 generates a random key (hereinafter, "key") and send the key every time the video provider 20 sends a command to embed the subscriber ID value in the video. The display output process 180 will translate the key to various shapes of overlays, in order that, based on the shapes of the overlays, a detection mechanism can overcome the random overlays added by the hackers. Reference is now made to Appendix A, which discusses the computational difficulty of finding randomly positioned overlays by temporal analysis of video, especially if the hacker has access to both the encoded video (possibly content encrypted) and the rendered video frames.

[0023] Reference is now made to Fig. 2, which is a simplified pictorial illustration of a video frame subdivided into logical blocks for embedding an overlay. The display output process 180 (Fig. 1) splits frames of the video to be displayed into a plurality of logical blocks, B1, B2 Β», (depicted as blocks B1 -

Bx in Fig.2) and adds an embedded overlay on the logical blocks as described below. This adding of the embedded overlay on the logical blocks is typically performed at the interface level, i.e. using HTML 5 or flash to inject a nearly transparent user interface element into the video.

[0024] The display output process 180 receives the subscriber ID, for example, an ID of the smart card 130 of Fig. 1. Alternatively, the subscriber ID may be a media device ID, in the case of DRM (digital rights management), OTT (over the top), or other non-STB based systems. The display output process 180 performs an injective transformation, denoted E, mapping the received smart card 130 ID to a set of pairs: {( B1, X 1 ), (B 2 , X 2 ), (B n , X n )}, such that n is the total number of blocks per video frame, and X i is the number of time periods to put an embedded overlay on block Bi. The embedded overlay will not overlay the entire logical block, as will be discussed in greater detail below. The display output process 180 is provided by the video provider 20 with a collection of several kind of predefined shapes which are used as overlays. Note that the time period may be a second, a second and a half, 400 milliseconds, or some other appropriate time.

[0025] Reference is now made to Fig. 3, which is a simplified pictorial illustration of several logical blocks of the video frame of Fig. 2 with embedded overlays. Fig. 3 shows logical blocks B1, B_t, and B? of Fig. 2. each of which has an embedded overlay of one particular exemplary pattern/shape. Specifically, logical block B1 has an embedded overlay which comprises horizontal lines 310. Logical block Bi has an embedded overlay which comprises vertical lines 320. Logical block Bi has an embedded overlay which comprises 43 degrees lines 330. Other logical blocks may have embedded overlays which are pattern/shape, such as, but not limited to -45 degrees lines, diagonal lines at other angles, circular shapes, triangular shapes, fractal shapes, and so forth. It is appreciated that in Fig. 3 and the other figures that the embedded overlays are depicted so as to be visible. However, the embedded overlays which are embedded in displayed video are, by design, nearly transparent (e.g. around 90 - 95% or 89% - 96% transparent), so as to be nearly imperceptible to a viewer of the video.

[0026] The embedded overlay of each block Bi will be changed once in a time period, for example, every second, second and a half, 400 milliseconds, or some other appropriate time, as noted above. It is appreciated that in cases of bright video content, the display output process 180 may be configured by the video provider 20 to embed the overlay for an increased amount of time (by way of example, 2 seconds instead of 1 second). The shape / pattern of the embedded overlay which will be used for the time period is determined using the key sent by the video provider 20 as will now be described.

[0027] Letting F = {Fi, F. F m } be a set of the patterns (i.e. shapes) of the predefined overlays (e.g., the shapes / patterns mentioned above), and let k denote the key sent by the video provider 20, then, the display output process 180 performs the injective transformation E, as mentioned above, hereinafter designated, T, such that T(A, i) = (Fi, j, Fi,2 Fi, »), where every result Fi,j in T(A, i) is a shape selected from F. So, in the example in Fig. 3, logical block B 2 is covered with a pattern of vertical embedded overlays. The corresponding Fj,j in T(k, i) is, accordingly, a pattern of horizontal embedded overlays appearing in logical block B 2 of Fig. 3.

[0028] Given the ID of the smart card 130 and the key k, the display output process 180 now has a set of pairs, {(B1, X 1 ), (B2, X2) (B D , X B )} and n corresponding sequences (Fi.i, Fi,? Fi,x;), one set of pairs and one corresponding sequence, for each block Bi. Accordingly, the display output process 180 is now able to encode the smart card ID on the screen with the overlays as described below. In order to increase the potential number of shapes in F, same shape with a different color can be used. For example, a horizontal, nearly-transparent overlay can be added in blue, red, or green (using an RGB palette). [0029] For each block Bi, the display output process 180 adds an overlay for Xi time periods, where, during the first time period the shape of the overlay will be Fi.i, and during the second time period the shape of the overlay will be Fu, and so forth, until, during the Xi lh time period the shape of the overlay will be F., xi.

[0030] Reference is now made to Table I, which depicts the shapes with which n logical blocks, B1 - Bn would be overlaid according to the above mentioned method:

Table 1

[0031] Accordingly, in each logical block Bi, and in every time period, an embodiment of a method for detection will be able to determine what shape should be overlaid on each block Bi. Because the embodiment of the method for detection will determine that there is an overlay on a given block Bi, if the overlay is the expected shape. If, however, the overlay is not the expected shape, e.g.. if a hacker has added an overlay on this block Bi, the embodiment of the method will filter out the hacker added overlay, because the hacker added overlay is typically not the expected shape. It is appreciated that if the hacker has manipulated the video stream by resizing, cropping, transcoding, and so form, the embedded overlay will still be detectable by video comparison algorithms known in the art

[0032] By way of example, consider a case where there are two logical blocks: B1 and B2, i.e., n = 2. Let the set of shapes F be defined as: F = { Fi = vertical lines, F2 = horizontal lines } . Given an exemplary smart card ID which is Ox 1 1 1 1 1 1 , the display output process 180 needs to map this smart card ID to the set of {(B1, X 1 ) , (B 2 , X2) }. For example, {(B1, X.) . (B 2 , X 2 ) } may be {(B1, 4), (B 2 , 3)}, i.e. the embedded overlay should appear for 4 seconds (assuming the time period in the present example is one second) on the right logical block (B1) and the embedded overlay should appear for 3 seconds on the left logical block (B 2 ). [0033] Let k, the key sent to the display output process 180 by the video provider 20, for the purposes of the present example, be 0x222222. Therefore, the display output process 180 invokes T(0x222222, 1) and T(0x222222, 2) to get the sequences for choosing overlay shapes. For example: T( 0x222222, 1) = (F2, Fi, Fi, Fi), by way of example, and T(0x222222, 2) = (Fi, Fi, F2), by way of example, i.e. in the first block (B1), the display output process 180 will add an overlay for 4 seconds where in the first second it will be overlay of horizontal lines (F2) and then 3 more seconds of vertical lines overlay (Fi). And in the left block (B2) display output process 180 will add vertical lines overlay (Fi) for 2 seconds and men horizontal lines (F2) for one more second. It is appreciated that the injective transformations given above in this example (i.e. T(0x222222, 1) = (F_, Fi, Fi, Fi) and T(0x222222, 2) = (Fi, Fi, F 2 ) are arbitrary and just for the sake of example). The result of the above example is summarized by Table 2:

TABLE 2

[0034] In some embodiments, there is a reference set top box (or other media rendering device) which does not produce any modifications to a source video stream of the sort which would be introduced to a pirated version of the source video stream (which may, for example, be downloaded from a pirate website). In some embodiments, the reference set top box comprises a smart card 130 having a chosen smart card ID such that no overlays are produced for video displayed on the reference media rendering device 10. Alternatively, the video provider 20 may never address a command to embed an overlay to the reference smart card. By way of example, the reference command to implement the overlay embedding in the video may be addressed by bit, and this bit may be turned off in the reference set top box. For example, a bit in the smart card 130 or the smart card interface 140 may be set in the reference set top box which prevents the embedder 18S from embedding embedded overlays in the reference set top box.

[0035] Reference is now made to Fig. 4, which is a comparison of a portion of each of two video frames comprising embedded overlays according to an embodiment, where one video frame is from a captured pirated stream and a second video frame is from the source stream. In the one video frame from the pirated stream B1, B 2 Bn, denote the n blocks in the one video frame from the pirated stream. Similarly, the n blocks in the second video frame from source stream are denoted ΒΊ, B': B' n . B; and B\ are selected such mat they share the same (i.e. corresponding) positions in their respective video frames. I.e. there is a one to one correspondence between positions of blocks in the same video frame between the two streams.

[0036] In an embodiment of the method for detection, each one of the blocks from the source stream is matched to a corresponding block in the given pirated stream i.e. Bi to BY For each i, Bi will be (partially) overlaid by the transparent overlay for Xi time periods. The embodiment of the method for detection finds X 1 ,

Xj X n so that Xi is the number of time periods for which Bi was overlaid by the embedded overlay. Even though the overlays are nearly transparent (for example, 90-95% or 89% - 96% transparent), die first, captured pirated stream is compared to the second, reference stream, thereby enabling determining when the embedded overlay appear in the captured pirate stream on each block and for how many time periods. The {(B1, X 1 ), (Bi, X:), (B n , X n )} set can then be retrieved from the captured pirate video stream. Because E is an injective transformation, there is only one single corresponding ID matching the {(B1, X 1 ), (B2, X.) (Bn, X n )} set to the smart card ID from which the captured pirated video was taken.

[0037] As was noted above in the description of the method of encoding, when decoding the smart card ID, it is known, for each time period, what shape / pattern of embedded overlay should be in every logical block. Accordingly, embedded overlays which might have been added by the hacker can be filtered out and ignored as spurious.

[0038] It is appreciated that the hacker might introduce a delay in the captured pirate stream resulting in a lag by comparison to the reference video stream. In order to alert the detection system that the encoding process (i.e. overlay embedding) is about to begin in the video, the display output process 180 may, in some embodiments, cover the entire video screen with a transparent overlay for few hundreds of milliseconds. Such an overlay eases synchronization between the captured pirated video and the reference video.

[0039] Continuing with the example brought above to show how the exemplary smart card ID 0x1 11 11 1 can be encoded as embedded overlays, after matching and aligning the two video streams, the number of seconds (in the above example the time period was set to one second) that each block was to be covered by the embedded overlays is observed. In the decoding device, the mapping of the ID to set of {(B1, X 1 ) , (B 2 , X 2 ) } is also known. Since the transformation E is an injecti ve transformation, there is only one value x such that E(x)={( B1, X 1 ) , (I¼, X:)} , namely, the exemplary smart card ID 0x11 11 11.

[0040] Reference is now made to Figs. S and 6. Fig. 5 is a simplified flowchart of a method of implementing an embodiment described herein at the media rendering device 10 of Fig. 1. Fig. 6 is a simplified flowchart of a method of implementing an embodiment described herein at a video provider 20 (Fig. 1 ) in communication with the media rendering device 10 of Fig. 1. The following discussion describes embodiments in the video provider 20 (Fig. 1), the smart card interface 140 (Fig. 1 ), and the display output process 180 (Fig. 1 ) in order to embed the overlay which encodes the unique subscriber ID, such as the smart card ID, as described above. The video provider 20 sends a command to embed the overlay in the video (step 510, 610). The command might be sent using one of an entitlement management message (EMM), and entitlement control message (ECM) or other command available to the video provider 20. The video provider 20 also generates the random key, k (steps 520, 620). The key, k, is sent to the set top box in an appropriate command (step 630), as described above.

[0041] The commands are received from the video provider 20 in the smart card interface 140. The smart card interface 140 sends the command to embed the overlay to the display output process 180 with the key k and value of the smart card ID to be embedded in the video to be displayed. [0042] The display output process 180 invokes the injective transformation E (step 530) for the given subscriber ID (such as the smart card ID) in order to generate the set of pairs: {(B1, X 1 ), (B2, X2) (Be, X n )}. For each value of i and key k, the display output process 180 invokes T(k, i), thereby generating a sequence: (Fi.i, Fi,2 F,,xi). accordingly determining the shape/ pattern of each overlay for every given time period.

[0043] The display output process 180 covers each block, Bi, with a nearly transparent overlay of the shape F,, 1 for a first time period. The block Bi is then covered with a nearly transparent overlay of shape Fj,2 for a second time period, and so forth (step 540).

[0044] Marking the video this way results in video which has been uniquely marked with nearly transparent embedded overlays. Hackers, however, are not able to cover the embedded overlays, because covering the embedded overlay with a black block, for instance, effectively covers a substantial portion of the video, negatively effecting viewing experience (e.g. an eighth of the screen for a second). Alternatively, if the hackers were to cover the video with a transparent overlay, the detection method filters out these overlays as part of the detection process.

[0045] Reference is now made to Fig. 7, which is a simplified pictorial illustration of alternative embodiments of the embedded overlays of Fig.3. In some embodiments of the overlays, such as those depicted in Fig. 5, the display output process 180 may set overlay edges as irregular gradients of the transparent pattern 710(as in block Be), rather than the full transparent overlay 720, as depicted in block Bj. It is appreciated that using an irregular gradient of the transparent pattern will have the effect of decreasing the visibility of the overlays. EMBEDDED VERSUS ENCODED VERSUS ENCRYPTED

[0046] The term "embedded" is used throughout the present specification and claims, in all of its grammatical forms, to refer to any type of activity involving placing the watermark, or portions thereof, in the video stream. For example, "embedding die watermark", "embedded bit", "a watermark embedding device", and so forth. [0047] The term "encoded" is used throughout the present specification and claims, in all of its grammatical forms, to refer to any type of data stream encoding including, for example and without limiting the scope of the definition, well known types of encoding such as, but not limited to, MPEG-2 encoding, H.264 encoding, VC-I encoding, and synthetic encodings such as Scalable Vector Graphics (SVG) and LASER (ISO/I EC 14496-20), and so form. It is appreciated that an encoded data stream generally requires more processing and typically more time to read than a data stream which is not encoded. Any recipient of encoded data, whether or not the recipient of the encoded data is the intended recipient, is, at least in potential, able to read encoded data without requiring cryptanalysis. It is appreciated that encoding may be performed in several stages and may include a number of different processes, including, but not necessarily limited to: compressing the data; transforming the data into other forms; and making the data more robust (for instance replicating the data or using error correction mechanisms).

[0048] The term "compressed" is used throughout the present specification and claims, in all of its grammatical forms, to refer to any type of data stream compression. Compression is typically a part of encoding and may include image compression and motion compensation. Typically, compression of data reduces the number of bits comprising the data. In that compression is a subset of encoding, the terms "encoded" and "compressed", in all of their grammatical forms, are often used interchangeably throughout the present specification and claims.

[0049] Similarly, the terms "decoded" and "decompressed" are used throughout the present specification and claims, in all their grammatical forms, to refer to the reverse of "encoded" and "compressed" in all their grammatical forms.

[0050] The terms "scrambled" and "encrypted", in all of their grammatical forms, are used interchangeably throughout the present specification and claims to refer to any appropriate scrambling and / or encryption methods for scrambling and / or encrypting a data stream, and / or any other appropriate method for intending to make a data stream unintelligible except to an intended recipients) thereof. Well known types of scrambling or encrypting include, but are not limited to DES, 3DES, and AES. Similarly, the terms "descrambled" and "decrypted" are used throughout the present specification and claims, in all their grammatical forms, to refer to the reverse of "scrambled" and "encrypted" in all their grammatical forms.

[0051] Pursuant to the above definitions, the terms "encoded"; "compressed": and the terms "scrambled" and "encrypted" are used to refer to different and exclusive types of processing. Thus, a particular data stream may be, for example:

encoded, but neither scrambled nor encrypted:

compressed, but neither scrambled nor encrypted;

scrambled or encrypted, but not encoded:

scrambled or encrypted, but not compressed;

encoded, and scrambled or encrypted: or compressed, and scrambled or encrypted.

[0052] Likewise, the terms "decoded" and "decompressed" on the one hand, and the terms "descrambled" and "decrypted" on the other hand, are used to refer to different and exclusive types of processing.

[0053] It is appreciated that software components of the present invention may, if desired, be implemented in ROM (read only memory) form. The software components may, generally, be implemented in hardware, if desired, using conventional techniques. It is further appreciated that the software components may be instantiated, for example: as a computer program product or on a tangible medium. In some cases, it may be possible to instantiate the software components as a signal interpretable by an appropriate computer, although such an instantiation may be excluded in certain embodiments of the present invention.

[0054] It is appreciated that various features of the invention which are, for clarity, described in the contexts of separate embodiments may also be provided in combination in a single embodiment. Conversely, various features of the invention which are, for brevity, described in the context of a single embodiment may also be provided separately or in any suitable subcombination.

[0055] It will be appreciated by persons skilled in the art that the present invention is not limited by what has been particularly shown and described hereinabove. Rather the scope of the invention is defined by the appended claims and equivalents thereof:

APPENDIX A

[0056] Appendix A is a discussion of the computational difficulty of finding randomly positioned overlays by temporal analysis of video, especially if the hacker has access to both the encoded video (possibly content encrypted) and the rendered video frames.

[0057] Let the following variables be defined, such that:

D = a maximum number of seconds to show an overlay on a block

R = a time to show each form of overlay

S = a number of subscriber IDs to be encoded by overlays

F = a number of forms for the overlays

C = a number of colors to select for the overlays (by using different colors of forms in F, the potential different overlays can be multiple)

[0058] Then, the probability P that a hacker is able to interfere with the decoding algorithm is:

[0059] By way of proof of the above, consider the following example. Assume D, the maximum number of seconds to show an overlay on a block, is 90 and R, the time to show each form of overlay, is 5 seconds. In this case, a block may have an overlay for 0, 5, 10, 15,„, 90 seconds, allowing for an overlay duration of 5 seconds.

[0060] Assume that F, the number of forms for the overlays, is 30, and C, the number of colors to select for the overlays, is 8 (when using RGB, there are 2' basic colors which are used, in order to ease decoder calculations).

[0061] Then, in block I, for the first 5 second overlay, there are 30*8 =240 different shapes which may comprise the overlay. Similarly, for the next 5 seconds, and each subsequent 5 second period, there are 240 potential different overlays.

[0062] In order to mimic the encoder and disturb the decoder by adding another overlay, the hacker has to guess the form and color for its added overlay. And the probability to achieve this is 1 / (C*F), in the exemplary case it will be 1/(8*30) = 1/240. However, that is for a single block. If, however any given video frame is divided into n logical blocks, and the hacker has to correctly mimic one overlay in at least one logical block, then the probability of the hacker adding the correct shape in one of the blocks (and so mimic the encoder's encoding) is n/(C*F. [0063] Thus, to complete the proof, it is necessary to show that:

[0064] Since in each block the overlay can be shown for 0 seconds, or R seconds, or 2*R seconds, .... or D seconds, there are (D/R) + 1 options (theoretically, if there was only one block, (D/R) + 1 different subscriber IDs could be encoded). Since there are n blocks, there are ((D/R) + 1 )" options, i.e. one option for each subscriber ID.

[0065] Since there are S subscriber IDs which could be encoded, then: [0066]

[0067]

[0068] Accordingly, the number of blocks is . And thus, in the

above example, S = 10,000,000, then in the above example, the probability that a hacker will successfully mimic the encoder is:

[0069] In systems where such an option is available, once a particular subscriber ID is determined to be the hacked, then an on-screen display (OSD) may be addressed to that particular subscriber ID. The hacked stream can then be checked to verify if the OSD appears in the stream when displayed.