DeCSS Part 2
By Aaron Dobbins | Published March 8, 2001, 4:21 PM
It seems that another team of individuals has cracked the DVD encoding that was supposed to make it impossible to copy the material onto a hard drive. Last year a team accomplished the feat and published the code, which drew massive amounts of attention and caused all sorts of legal problems for the 15-year old who did it. This time an MIT student and alum did the same thing to prove that it is not a crime to publish the code.
Robert Lemos at MSNBC reports the pair insists their efforts are to teach about copyright protection, and thus, they cannot be punished by law.
Perhaps the most interesting part of the story is that their code can descramble the DVD on the fly, as it is only seven lines of code. While the movie appears choppy, the report says, it still signifies a great leap in the DVD copying arena. It was done during a seminar about the Digital Millenium Copyright Act to prove how trivial it was.
For the rest of the story visit here.
Copying a DVD is a Criminal Act. - Special Agent FBI
Score: 0
|So ... vobdec.c does it 30x realtime. If theres no HD you can do it 100x realtime.
Bottom line its 100% free and out there no stopping it. USA laws dont apply in the real world.
And btw, the 15 year old DIDNT WRITE IT, he did the gui, but the core was dont elsewhere 'comrad' , YA VOLT
Score: 0
|Ahem... "almost fast enough for realtime" ? - on what hardware ? - if the hardware's good enough, you can even write it in perl/basic. And its not "new" that you can do it in realtime, deccs, which was in C, could be compiled to run in x10 realtime easily... and every DVD playing software can do that as well...
Stupid Beta, Stupid MIAA... don't they get it CAN'T be kept out of our hands ?
Score: 0
|"you can even write it in perl/basic".. it was written in perl... 7 lines of perl
Score: 0
|Taken from slashdot.org ( http://slashdot.org/arti...1954213&mode=thread )
------------------------------------------------
Here's the script:
$_='while(read+STDIN,$_,2048){$a=29;$c=142;if((@a=unx"C*",$_)[20]&48){$h=5;
$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$b=73;$e=256|(ord$b[4])8^($f=($t=255)&($d
12^$d4^$d^$d/8))8^($t&($g=($q=$e14&7^$e)^$q*8^$q=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval
A rewrite, using an extra five bytes (!) of perl code, caches a table, which apparently makes the program fast enough to decode a movie in realtime:
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
$m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@z=(64,72,$a^=12*($_%16
-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
=5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
d=unxV,xb25,$_;$e=256|(ord$b[4])8^($f=$t&($d12^$d4^
$d^$d/8))8^($t&($g=($q=$e14&7^$e)^$q*8^$q=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval
As Touretzky writes on his Gallery page, typical usage is just: cat /mnt/dvd/VOB_FILE_NAME | qrpff 153 2 8 105 225 | extract_mpeg2 | mpeg2dec -
Score: 0
|This is written in Perl? No wonder it's so slow.
Score: 0
|Ahh, don't like Perl? Why don't you port it, and post your submit here, for all to see? After all, you must be a master programmer to be criticizing someone else's code like that.
Score: 0
|lol
Score: 0
|That was an observation; I was not criticizing the code.
Score: 0
|It's just interesting to see a report-writing languages transmogrified into a CSS decoder. Innovation at its best and worst. But then, who amd I to talk . . . the first version of every app I write I do in VB. Only later do I chunk it down to C++.
Score: 0
|Copying a DVD is a Criminal Act. - Special Agent FBI
Score: 0
|So's copying CDs, Video tapes, radio waves, etc. Even copying people is a crime... cloning! BTW... this is the real world and if I've bought it, I can make a copy for my personal use.
mtcw
Score: 0
|