Your browser is not supported. Please update it.

20 September 2018

Watercasting born from marriage of multicast and watermarking

It has been around a few years in academia but the neologism watercasting was new to IBC this year reflecting how another product of security research has come of age to solve a real-world problem. It comes at a time when demand for watermarking is growing across the video ecosystem driven now by owners of premium live sports content as well as from the traditional quarters of the big studios spearheaded by MovieLabs.

A related theme was that now watermarking is being more widely implemented and proving successful in disrupting content piracy it has naturally come under attack itself. Given that watermarks only pinpoint sources of infringing content when they have been detected, such attacks tend to target the recovery process by obfuscating the marks in various ways.

We are also starting to see watermarking increasing its scope across the wider video ecosystem. We can now identify several distinct use cases. The original one was in digital cinema to combat distribution of camcorder recordings by inserting marks identifying each theater uniquely, enabling subsequent identification to assist with investigations and preventative measures. It has been around in pay TV for 12 years ever since Verimatrix and Broadcom collaborated to produce the reference design platform BCM97398 as the first ever robust and yet invisible system capable of tracking content to individual set tops.

Then with growth of online distribution at ever higher qualities MovieLabs made that historic move to insist on watermarking to help identify pirates of blockbuster movie content with a view at that time on legal measures. At first implementation was slow. Watermarking has an overhead and cost, requiring additional steps in the content workflow and greater encoding complexity, using more bandwidth.

The overhead of watermarking appeared to outweigh the perceived benefit and that was especially the case for live streaming. But then with advent of live OTT services capable of delivering premium content, suddenly watermarking came center stage and the traditional content security vendors like Verimatrix, Kudelski’s Nagra and Irdeto, came out with live versions of their watermarking systems.

But given the system must be capable of uniquely identifying the user or device originating a pirated stream or rendition, the system must be capable of inserting marks on a one to one basis. This must be done in such a way that at no time can a pirate access decrypted content when marks have not been embedded. It can be done on the client side in association with Trusted Execution Environments (TEEs) such as ARM TrustZone technology where marks are inserted as content is decrypted and while still insulated from the device’s applications and OS. Alternatively the marks can be inserted on the server side in session-based watermarking. Both have pros and cons. The initial problem with the server-side one-step approach was that each user’s stream had to be marked separately, which resulted in excessive overheads both in storage, since there was one asset per customer, and processing because there was one encode per customer. This clearly did not scale.

By contrast client-side watermarking scales extremely well, because all the execution takes place on decoded baseband video in the client within the secure video pipeline during playback. The downside is that this requires tight integration of the watermarking with both hardware and DRM vendors, which is feasible only for the well-established and controlled set top distribution model. The diversity of devices and fragmentation between platforms makes this model at least much harder to achieve under HTTP adaptive streaming where devices, chipsets and to an extent DRMs are in a state of flux.

This has led towards modification of server-side watermarking into a two-step process exploiting the atomized construction of streams comprising segments as the smallest playable units. Every stream is a sequence of such media segments as defined in the manifest, which is metadata instructing the player how to select those segments or chunks. The idea then was to create two or more separate parallel streams of each video which were identical except that they were watermarked differently. It is then possible to create unique versions for each end user by selecting different segment combinations for each one from the two streams. Each user would then receive the same content but with a unique combination of marks through alternations between the parallel streams at the segment level.

But there was still a problem. Unicast streaming clearly does not scale to live events with mass appeal such as world cup football matches and so multicast ABR (Adaptive Bitrate Streaming) has had to be devised to minimize bandwidth consumption and load on routers or switches. In effect it is a reinvention for chunk-based streaming of IP multicast as deployed in managed IPTV services using IGMP (Internet Group Management Protocol). The idea is the same to ensure that bandwidth is only consumed once on a given IP link for each stream and not separately for every user. Then when a link has no users at all downstream who have requested a stream, it is pruned from that network branch altogether, that being how multicast differs from broadcast.

But this is a problem for session watermarking because now it appears there is no way of inserting unique mark combinations for each user. After all the initial stream may be viewed by millions of users and yet the server does not know who they are. This is because for multicasting to scale without consuming excessive bandwidth, all requests to join a session only come back up the network as far as the next router upstream, rather than all the way to the origin server.

However there is a way round this and that is where watercasting comes in. The original idea as set out in various research papers was to create multiple versions of the streams, each watermarked differently. It again exploits the fact that streaming works at the atomized level of segments or chunks with the ability to switch between different streams at that level to step up to a higher bit rate or down to a lower one. Then as streams flow down the multicast tree towards their destination segments are switched between the different watermarking schemes such that at the end it is possible to reconstruct which path a particular clip of video took from the server end. In that way it is possible to identify the end device, even though the server does not know which ones are receiving the video. Effectively the watermarking analysis systems can recover a code from each clip specifying its route through the network, or more specifically the multicast tree.

This has evolved into a simpler approach implemented by Nagra Nexguard for example by producing just two versions or “flavors” of the same content. Each flavor has a different mark with the key step then being to generate session-specific manifests on the origin server, that is metadata about the streams, comprising lists of segments with different chunk combinations selected from each of the two differently watermarked versions. Chunks are then selected from either the first or second version, yielding a binary code of 1s and 0s that can uniquely determine a path. Crucially this can be implemented so that it imposes no extra latency although there is naturally a significant processing overhead. For that reason the switching between chunks from the two differently watermarked flavors has to be restricted to intervals of say 30 seconds to keep the processing in check.

These are early days but the combination of ABR and session-based watermarking is likely to come along quickly now as it solves those twin problems of live streaming scalability and protection against content redistribution.

At a very different higher-level, watermarking can be employed in surveillance to identify which services or distributors are experiencing illicit content redistribution. This is known as distributor-level watermarking and is of interest to content owners or rights holders in identifying in the first place where their assets are being pirated through stream redistribution.

On this front UK content security service provider Friend MTS announced just before IBC 2018 that its Distribution iD watermarking is now interoperable with Amazon Web Services (AWS) Elemental MediaConvert, which is a file-based video transcoding service for creation of VoD content for broadcast and multiscreen delivery. This combines with Friend MTS’ global content monitoring service to enable providers of on-demand content via that AWS service to scan for distributors or networks where streaming piracy looks like it is occurring.

Firstly the automated global monitoring observes illegal content redistribution taking place and subsequent extraction of a Distribution iD watermark then identifies the specific distributor from whose service the content is being stolen. The content owner can then contact the distributor and hopefully cooperate over specific measures, quite likely including application of subscriber-level watermarking to enable swift termination of that illicit content redistribution.

The other development is that watermarking systems are now being subject to attacks themselves. Friend MTS confirmed at IBC that the so-called visual manipulation attacks on watermarks it predicted would occur a few years ago have now been observed in the field. Here pirates manipulate the video in various ways including combining output from two or more set tops in an attempt to befuddle the marks so that they cannot be recovered accurately. Pirates have developed custom hardware to do this and to counter it the watermarks have to incorporate another layer of robustness to protect against visual manipulation in addition to encryption, camcording and processing during distribution. Because video data is so pliable, effective watermarking is a considerable technical challenge and one where the dynamics of the arms race apply, just as they have done over the years for example over banknotes.