Diff for /wikisrc/tutorials/how_to_read_css_protected_dvds.mdwn between versions 1.1 and 1.2

version 1.1, 2011/11/20 20:55:21 version 1.2, 2012/02/05 07:14:36
Line 1 Line 1
 #  System Requirements  #  System Requirements 
   
   * a DVD compatible reader    * a DVD compatible reader 
   * any multimedia player (for example, xine or mplayer)    * any multimedia player (for example, xine or mplayer) 
   * an internet connection to fetch libdvdcss files required for descrambling    * an internet connection to fetch libdvdcss files required for descrambling 
   
 #  Introduction  #  Introduction 
   
 CSS ([Content Scrambling System](http://en.wikipedia.org/wiki/Content_Scrambling_System)) is a scheme mainly used by copyrights holders to protect commercial [instructional dvds](http://www.mvphomevideo.com) from unauthorized copying, by literally scrambling the DVDs' content through a (weak) encryption process.  CSS ([Content Scrambling System](http://en.wikipedia.org/wiki/Content_Scrambling_System)) is a scheme mainly used by copyrights holders to protect commercial [instructional dvds](http://www.mvphomevideo.com) from unauthorized copying, by literally scrambling the DVDs' content through a (weak) encryption process. 
   
   
 By default, under NetBSD, when installing xine or mplayer to read commercial's DVDs, the libdvdcss (needed by libavcodec to decipher the DVD's content) is not built. This guide will show you how to make and install the libdvdcss package in order to use it.  By default, under NetBSD, when installing xine or mplayer to read commercial's DVDs, the libdvdcss (needed by libavcodec to decipher the DVD's content) is not built. This guide will show you how to make and install the libdvdcss package in order to use it. 
   
 **Please note that under certain legislations, such method is forbidden (especially in the US thanks to DMCA). Use libdvdcss at your own risk!**  **Please note that under certain legislations, such method is forbidden (especially in the US thanks to DMCA). Use libdvdcss at your own risk!**
   
 #  Building and using libdvdcss  #  Building and using libdvdcss 
   
 Libdvdcss is already present for installation in pkgsrc. As it is illegal in certain states, pkgsrc can not install it directly without some user interaction.  Libdvdcss is already present for installation in pkgsrc. As it is illegal in certain states, pkgsrc can not install it directly without some user interaction. 
   
 Before making it, we will first need to add some information to [mk.conf(5)](http://netbsd.gw.com/cgi-bin/man-cgi?mk.conf+5+NetBSD-current), namely the master sites from which we should fetch the libdvdcss source code. There are many, but we will get it straight from the [VideoLAN project](http://www.videolan.org/), which hosts libdvdcss:  Before making it, we will first need to add some information to [mk.conf(5)](http://netbsd.gw.com/cgi-bin/man-cgi?mk.conf+5+NetBSD-current), namely the master sites from which we should fetch the libdvdcss source code. There are many, but we will get it straight from the [VideoLAN project](http://www.videolan.org/), which hosts libdvdcss: 
          
   
 # echo "LIBDVDCSS_MASTER_SITES=http://download.videolan.org/pub/libdvdcss/" >> /etc/mk.conf  # echo "LIBDVDCSS_MASTER_SITES=http://download.videolan.org/pub/libdvdcss/" >> /etc/mk.conf
          
   
 Now, start building libdvdcss (should not take more than a couple minutes):  Now, start building libdvdcss (should not take more than a couple minutes): 
          
     # cd /usr/pkgsrc/multimedia/libdvdcss      # cd /usr/pkgsrc/multimedia/libdvdcss
     # make install clean      # make install clean
          
   
 That's it. From now on, libavcodec (and consequently, your favorite multimedia reader) should automagically use libdvdcss to read your commercial's DVDs, through [dlopen(3)](http://netbsd.gw.com/cgi-bin/man-cgi?dlopen+3+NetBSD-current), when required.  That's it. From now on, libavcodec (and consequently, your favorite multimedia reader) should automagically use libdvdcss to read your commercial's DVDs, through [dlopen(3)](http://netbsd.gw.com/cgi-bin/man-cgi?dlopen+3+NetBSD-current), when required. 
   

Removed from v.1.1  
changed lines
  Added in v.1.2


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb