Ubuntu下播放加密/有导航的DVD


有些DVD加密或者有导航按钮(比如电视剧等等),要在Linux下播放除了需要播放软件外(如mplayer)还需要安装一些库


以ubuntu11.04为例操作过程如下:


root@steven:~# aptitude show libdvdnav4 Package: libdvdnav4 New: yes State: installed Automatically installed: yes Version: 4.1.3-7 Priority: optional Section: universe/libs Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Uncompressed Size: 295 k Depends: libc6 (>= 2.4), libdvdread4 Suggests: libdvdcss2 Description: DVD navigation library libdvdnav is a DVD navigation library, which provides an interface to the advanced features of DVDs, like menus and naviation. It contains the VM and other parts useful for writing DVD players. It's based on Ogle, but was modified to be used by xine and mplayer. root@steven:~# aptitude show libdvdread4 Package: libdvdread4 New: yes State: installed Automatically installed: yes Version: 4.1.3-10ubuntu3 Priority: optional Section: universe/libs Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Uncompressed Size: 229 k Depends: libc6 (>= 2.4) Recommends: libdvdnav4 Suggests: libdvdcss2, wget, debhelper, fakeroot, build-essential Description: library for reading DVDs libdvdread provides the functionality that is required to access many DVDs. It parses IFO files, reads NAV-blocks, and performs CSS authentication and descrambling. libdvdread probes for libdvdcss at runtime and if found, will use it to decrypt sections of the DVD as necessary. libdvdcss needs to be installed from third-party repositories (see README.Debian), it's not included in Debian. root@steven:~# aptitude install libdvdread4 libdvdnav4 ...... root@steven:~# /usr/share/doc/libdvdread4/install-css.sh --2011-08-27 13:42:57-- http://packages.medibuntu.org/dists/natty/free/binary-amd64/Packages Resolving packages.medibuntu.org... 88.191.127.22 Connecting to packages.medibuntu.org|88.191.127.22|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 8010 (7.8K) [text/plain] Saving to: `/tmp/dvdcss-HAybSt/Packages' 100%[===========================================================>] 8,010 10.6K/s in 0.7s 2011-08-27 13:43:01 (10.6 KB/s) - `/tmp/dvdcss-HAybSt/Packages' saved [8010/8010] --2011-08-27 13:43:01-- http://packages.medibuntu.org/pool/free/libd/libdvdcss/libdvdcss2_1.2.10-0.3medibuntu1_amd64.deb Resolving packages.medibuntu.org... 88.191.127.22 Connecting to packages.medibuntu.org|88.191.127.22|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 38080 (37K) [application/x-debian-package] Saving to: `/tmp/dvdcss-HAybSt/libdvdcss.deb' 41% [=======================> ] 15,668 --.-K/s in 49s 2011-08-27 13:43:57 (320 B/s) - Read error at byte 15668/38080 (Connection reset by peer). Retrying. --2011-08-27 13:43:58-- (try: 2) http://packages.medibuntu.org/pool/free/libd/libdvdcss/libdvdcss2_1.2.10-0.3medibuntu1_amd64.deb Connecting to packages.medibuntu.org|88.191.127.22|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 38080 (37K), 22412 (22K) remaining [application/octet-stream] Saving to: `/tmp/dvdcss-HAybSt/libdvdcss.deb' 100%[++++++++++++++++++++++++===================================>] 38,080 903B/s in 31s 2011-08-27 13:44:35 (727 B/s) - `/tmp/dvdcss-HAybSt/libdvdcss.deb' saved [38080/38080] dpkg: warning: parsing file '/var/lib/dpkg/status' near line 15622 package 'linuxqq:i386': error in Version string 'v1.0.2-beta1': version number does not start with digit dpkg: warning: parsing file '/var/lib/dpkg/available' near line 21422 package 'linuxqq:i386': error in Version string 'v1.0.2-beta1': version number does not start with digit Selecting previously deselected package libdvdcss2. (Reading database ... 265986 files and directories currently installed.) Unpacking libdvdcss2 (from .../dvdcss-HAybSt/libdvdcss.deb) ... Setting up libdvdcss2 (1.2.10-0.3medibuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place

Done! Just try it~


注意: 网上有说需要安装库libdvdcss,但是ubuntu11.04aptitude 搜索已经没有这个库了,所以执行libdvdread4带的脚本安装css库,具体过程见上面。css相关信息可以参考 http://askubuntu.com/questions/13071/how-can-i-read-every-dvd-even-if-encrypted-by-css-or-other

安装过程可以参考,主要有些不同,例如库的版本,选用的播放器等等 http://www.cyberciti.biz/faq/howto-ubuntu-linux-playback-dvd/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值