<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jamie Thompson &#187; anti-DRM</title>
	<atom:link href="http://jamiethompson.co.uk/tags/anti-drm/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamiethompson.co.uk</link>
	<description>Web Developer</description>
	<lastBuildDate>Thu, 09 Sep 2010 12:16:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>BBC IPlayer XOR Decryption</title>
		<link>http://jamiethompson.co.uk/rants/2008/06/11/bbc-iplayer-xor-decryption/</link>
		<comments>http://jamiethompson.co.uk/rants/2008/06/11/bbc-iplayer-xor-decryption/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 11:31:42 +0000</pubDate>
		<dc:creator>Jamie Thompson</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[anti-DRM]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[iplayer]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://jamazon.co.uk/?p=79</guid>
		<description><![CDATA[As has been widely reported, it is still possible to successfully download the x264  MPEG streams of BBC programmes from the BBC IPlayer service but that they are now XOR &#8220;encrypted&#8221; in such a way that they will only play on Apple mobile devices.

It&#8217;s not really encryption, is it
Long story short, the streams are [...]]]></description>
			<content:encoded><![CDATA[<p>As has been <a href="http://po-ru.com/diary/bbc-iplayer-countermeasures-prove-futile-yet-again/">widely reported,</a> it is still possible to successfully download the x264  MPEG streams of BBC programmes from the BBC IPlayer service but that they are now XOR &#8220;encrypted&#8221; in such a way that they will only play on Apple mobile devices.</p>
<p><img src="/wp-content/uploads/2008/07/iplayer.jpg" width="530" height="190" alt="BBC IPlayer XOR Decryption"/></p>
<h2>It&#8217;s not really encryption, is it</h2>
<p>Long story short, the streams are XOR&#8217;d with a two-byte repeating pattern. It&#8217;s not yet clear how the iPhone picks up the two-byte key for this XOR scheme, or what kind of inside knowledge was needed to discover the capability (collusion?), but it&#8217;s rumoured that the XOR scheme has actually broken the iPod Touch functionality. If this is true it&#8217;s a massive WTF and probably rules out any idea of the BBC colluding with Apple over this.</p>
<p>Putting the moral arguments for the BBC&#8217;s latest move aside for a second. It&#8217;s fairly simple to deXOR the files and there are already a handful of pre-written scripts for doing just that.</p>
<h2>So, What Are The Options?</h2>
<p>Paul Battley has <a href="http://po-ru.com/diary/bbc-iplayer-countermeasures-prove-futile-yet-again/">patched his iplayer-dl</a> script so that it will continue to function in light of the XOR encryption. He&#8217;s also planning on patching the Windows GUI version for n00bs.</p>
<p>There&#8217;s a nice little <a href="http://linuxcentre.net/iplayer_decode">perl script</a> which should prove pretty useful for those of use already using one of the perl based solutions to access the TV shows we&#8217;re forced to pay for.</p>
<p>Most interestingly i&#8217;ve found some C++ code for decrypting the streams which is available at <a href="http://beebhack.wikia.com/wiki/Iplayerdexor">beebhack</a> along with simple instructions for how to compile it for use.</p>
<p>The cat and mouse game continues. Yawn.</p>
<p><strong>Update: June 12th 2008</strong> Paul Battley has <a href="http://po-ru.com/diary/iplayer-downloading-fixes-and-enhancements/">released updated versions</a> of both his ruby command line tool and the Windows GUI download client. Not only that but this morning, new releases of both have appeared which utilise faster XOR decryption. <a href="http://po-ru.com/diary/faster-decryption-for-iplayer-downloads/">His blog post</a> details the changes.</p>
<p>The new project page for iPlayer Downloader is at <a href="http://po-ru.com/projects/iplayer-downloader/">http://po-ru.com/projects/iplayer-downloader/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jamiethompson.co.uk/rants/2008/06/11/bbc-iplayer-xor-decryption/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>XBMC BBC iPlayer Plugin</title>
		<link>http://jamiethompson.co.uk/rants/2008/03/19/xbmc-bbc-iplayer-plugin/</link>
		<comments>http://jamiethompson.co.uk/rants/2008/03/19/xbmc-bbc-iplayer-plugin/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 13:38:33 +0000</pubDate>
		<dc:creator>Jamie Thompson</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[anti-DRM]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[iplayer]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://jamazon.co.uk/rants/2008/03/19/xbmc-bbc-iplayer-plugin/</guid>
		<description><![CDATA[
I&#8217;m sure the BBC won&#8217;t approve of this but within the last few days an XBMC plugin for the BBC iPlayer has been released for general consumption. Though it&#8217;s far from a finished product, it neatly lists and plays the H.264 encoded iPlayer streams designed for the Apple iPhone.
The BBC&#8217;s provision of non-DRM MPEG streams [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://s322999261.websitehome.co.uk/wp-content/uploads/2008/07/xbmc.jpg" alt="xbmc iplayer plugin - jamie thompson - web developer" title="xbmc iplayer plugin" width="530" height="190" /></p>
<p>I&#8217;m sure the BBC won&#8217;t approve of this but within the last few days an <a href="http://code.google.com/p/xbmc-iplayer/">XBMC plugin</a> for the BBC iPlayer has been released for general consumption. Though it&#8217;s far from a finished product, it neatly lists and plays the H.264 encoded iPlayer streams designed for the Apple iPhone.</p>
<p>The BBC&#8217;s provision of non-DRM MPEG streams only for iPhone users has <a href="/rants/2008/03/14/bbc-iplayer-the-iphone-and-illegal-state-aid/">sparked widespread controversy</a> not least because they have previously stated and continue to take the line that non-DRM versions can not be made available for legal reasons, meaning those wanting to download and watch iPlayer content are forced to use Microsoft Windows.</p>
<blockquote><p>BBC iPlayer programmes specify the dates for which they are valid and<br />
whether the programme is available for download at all.</p>
<p>In the interest of common decency, the [XBMC iPlayer plugin] should store and honour these<br />
values &#8211; deleting programmes once they expire. &#8211; <em>Developer of the XBMC iPlayer Plugin</em></p></blockquote>
<p>So, just what argument can the BBC come up with to justify referring to projects such as this as <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/03/bbc_iplayer_on_iphone_update_1.html">&#8216;hacking&#8217;</a>?</p>
<p>The <a href="http://code.google.com/p/xbmc-iplayer/">XBMC iPlayer plugin</a> looks like the first step on a promising path toward the British public being permitted to use an actual TV to watch the programming that they&#8217;re forced to pay for. Here&#8217;s hoping that this trend continues, and sets a precedent for the abandonment of pointless applications of badly executed DRM.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamiethompson.co.uk/rants/2008/03/19/xbmc-bbc-iplayer-plugin/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>BBC iPlayer, The iPhone and Illegal State Aid</title>
		<link>http://jamiethompson.co.uk/rants/2008/03/14/bbc-iplayer-the-iphone-and-illegal-state-aid/</link>
		<comments>http://jamiethompson.co.uk/rants/2008/03/14/bbc-iplayer-the-iphone-and-illegal-state-aid/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 14:03:26 +0000</pubDate>
		<dc:creator>Jamie Thompson</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[anti-DRM]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[DRM]]></category>
		<category><![CDATA[iplayer]]></category>
		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://jamazon.co.uk/general/2008/03/14/bbc-iplayer-the-iphone-and-illegal-state-aid/</guid>
		<description><![CDATA[No one could have missed the fact that the BBC has launched a new service called iPlayer recently. They stuff it down our throats after every pointless episode of EastEnders.
Most people (normal people) would be surprised however to learn of the ongoing controversy which surrounds the beeb&#8217;s most recent squandering of our money.

The (Microsoft Windows [...]]]></description>
			<content:encoded><![CDATA[<p>No one could have missed the fact that the BBC has launched a new service called iPlayer recently. They stuff it down our throats after every pointless episode of EastEnders.</p>
<p>Most people (normal people) would be surprised however to learn of the ongoing controversy which surrounds the beeb&#8217;s most recent squandering of our money.<br />
<span id="more-30"></span></p>
<h2>The (Microsoft Windows Only) Desktop Client</h2>
<p>Which allows you to download DRM encumbered BBC programming from the last 7 days and store and view it for the following 30 days, after which time the DRM technology built into the files renders them unplayable. This DRM protection however has roughly the strength of ten paper bags. But that&#8217;s beside the point.</p>
<p>The Windows iPlayer application uses the same Kontiki Peer to Peer client as does Channel 4&#8217;s 4OD. For the unitiated, this piece of software, once installed, will run constantly in the background as a &#8220;seed&#8221; hosting chunks of content oh behalf of the BBC for others to download from you rather than them. This is in essence the SAME technology as the BitTorrent which is touted by digital rights enthusiasts, such as the BBC as the root of all evil.</p>
<p>Aside from this. Kontiki is well known to randomly cuase high CPU load, systm freezes and lockups. Certainly not something i&#8217;d wnt to install on my Windows PC. If I had one.</p>
<p>Of course the other problem with the Windows based client software is just that. It is Microsoft Windows only. It is certainly not platform agnostic, and that is something to BBC is supposed to be duty bound to provide to license fee payers. By deciding to create a platform specific solution, in partnership with the supplier of that platform (Yes, Micorsoft were involved in the development of iPlayer) they are offering an unfair advantage to a private enterprise, and doing so using public funds.</p>
<h2>The Online Streaming Service</h2>
<p>Released around Christmas 2007, This promised to be an excellent opportunity for the BBC to finally offer up it&#8217;s programming to ALL license fee payer, regardless of whether or not they were also Microsoft license fee payers. They failed.</p>
<p>The choice of flash video streaming over RTMP offers yet again another unfair advantage to yet another private enterprise. Adobe. Rather than chose an open non-proprietary codec, they opted for yet another proprietary system of content delivery. So who do you think advised the BBC on their online streaming iPlayer service? Yes. Adobe Inc.</p>
<h2>The &#8220;Salt In The Wounds&#8221; iPhone Service</h2>
<p>So, last week some people started noticing that if visited using an iPhone, the iPlayer site was now serving up nice Non-DRM&#8217;d h.264 encoded MPEG4 files. A quick glance at a BBC pres release confirmed that yes, they had released a &#8220;streaming&#8221; service targetted specifically at the iPhone. Only it doesn&#8217;t stream. It&#8217;s just that the iPhone is able to buffer and begin playing the file as it downloads.</p>
<p>Most people with half a braincell realised that by simply changing the User Agent string in their browser they too could download an unencumbered lovely little h.264 of any program they wanted by simply looking at the html source and copying and pasting a URL.</p>
<p>The mainstream media <a href="http://www.guardian.co.uk/technology/2008/mar/13/digitalvideo.television?gusrc=rss&#038;feed=networkfront">reported these &#8220;hackers&#8221;</a> and the BBC closed the security hole mumbling something about &#8220;oh, it was only supposed to be a beta, come on guys, ree-lax&#8221;. To suggest that switching user agents is hacking is tantamount to describing wolf-whistling builders as crazed rapists.</p>
<p>This then opens the debate, if the BBC do not have the rights to distribute their programming in an open format as they say they do, how is it they can offer this very service to users of one device, which is only offered by one mobile carrier (O2), only produced by one company (Apple) and has a relatively tiny user base.</p>
<p>From a simple marketing perspective this act gives Apple a HUGE extra selling point for their iPhone product in the UK. It&#8217;s almost beyond belief that this could be allowed.</p>
<p>Either they openly distribute their content to ALL those who are forced to fund it, or they don&#8217;t. It seems clear to me that the decision makes in all this are uneducated in the technologies involved. With a Personal Video Recorder under my telly, and a large enough hard disk, i can digitally record anything i want on any free-to-air channel, whenever i want &#8211; and keep it forever. Why go to such lengths to try and secure something which is so freely available.</p>
<p>Consider this scenario. I miss an episode of my favourite BBC TV show. It&#8217;s ok cause i had my Freeview digital video recorder i bought from ASDA to record it in full digital quality using nothing but the aerial on my roof. In fact i&#8217;ve recorded the entire series, as well as the previous series all in full SD broadcast quality&#8230; maybe even HD if i had <a href="http://www.freesat.co.uk/">freesat</a>. It&#8217;s good enough to keep and watch again. Or share with others if I wanted.</p>
<p>Then consider another scenario. I miss an episode of my favourite BBC TV show. It&#8217;s ok cause i can head over to the iPlayer site and download a small but unrestricted h.264 encoded MPEG4. It&#8217;s pretty shitty quality, but good enough to watch at a push. I&#8217;ve done this every week since the show started, and i now have two series of it burnt to a CD at a fairly low resolution and bitrate, that i&#8217;ll probably dispose of once i&#8217;ve watched them all.</p>
<p>In which one of these sitations am i more likely NOT to go out and buy some BBC DVDs. And let&#8217;s face it, this whole debate boils down to potential loss of residual income.</p>
<p>The current state of play benefits no one but three giant multinational organisations and a UK mobile phone carrier, who pretend not to be BT Cellnet. All at the expense of the UK public.</p>
<p>I wonder if the EU Antitrust Commission are busy at the moment?</p>
<p><strong>Update:</strong> The fix issued by the BBC seems to be more of a publicity stunt than an actual fix.  The MP4 streams are still pretty much completely unsecured. <a href="http://beebhack.bluwiki.com/">Beebhack</a> is an excellent resource for anyone wanting to watch the content they&#8217;ve paid for on their own terms. There&#8217;s also a really nice looking <a href="http://code.google.com/p/xbmc-iplayer/">XBMC plugin</a>, which if it works as good as it looks is gonna be amazing.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamiethompson.co.uk/rants/2008/03/14/bbc-iplayer-the-iphone-and-illegal-state-aid/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

