Ubuntu 16.04 无法播放商业 DVD

Ubuntu 16.04 无法播放商业 DVD

这不是重复的为什么安装了 libdvdcss2 后仍然无法播放 DVD?因为那里的答案对 16.04 无效

我已经审查过https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs 并使用以下方式安装 libdvd-pkgsudo apt-get install libdvd-pkg

我已经检查区域是否已设置:

sudo regionset /dev/sr0
regionset version 0.1 -- reads/sets region code on DVD drives
Current Region Code settings:
RPC Phase: II
type: SET
vendor resets available: 4
user controlled changes resets available: 4
drive plays discs from region(s): 1, mask=0xFE    

Would you like to change the region setting of your drive? [y/n]:n

我没有改变,因为它的设置是:

地区 1:美国、美国领土、加拿大和百慕大。这应该是正确的。

我仔细检查了软件包是否已安装

$ dpkg -l |grep dvd
ii  dvd+rw-tools                                         7.1-11                                        amd64        DVD+-RW/R tools
ii  dvdauthor                                            0.7.0-1.4                                     amd64        create DVD-Video file system
ii  libdvd-pkg                                           1.4.0-1-1                                     all          DVD-Video playing library - installer
ii  libdvdnav4:amd64                                     5.0.3-1                                       amd64        DVD navigation library
ii  libdvdread4:amd64                                    5.0.3-1                                       amd64        library for reading DVDs

我甚至还发出了命令。

sudo dpkg-reconfigure libdvd-pkg

This package automates the process of launching downloads of the source files for libdvdcss2 from videolan.org, compiling   │ 
  │ them, and installing the binary packages (libdvdcss2 libdvdcss-dev).                                                        │ 
  │                                                                                                                             │ 
  │ Please confirm whether you wish this to happen.                                                                             │ 
  │                                                                                                                             │ 
  │ Download, build, and install libdvdcss2/1.4.0-1?                                                                            │ 
  │                                                                                                                             │ 
  │                                     <Yes>  

上面有图片会更好,但你明白我的意思了。输出是:

libdvd-pkg: Downloading orig source...
I: libdvdcss_1.4.0
/usr/bin/wget --tries=3 --timeout=40 --read-timeout=40 --continue -O libdvdcss_1.4.0.orig.tar.bz2 \
          http://download.videolan.org/pub/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2 \
        || /usr/bin/uscan --noconf --verbose --rename --destdir=/usr/src/libdvd-pkg --check-dirname-level=0 --force-download --download-current-version /usr/share/libdvd-pkg/debian
--2017-03-04 17:55:39--  http://download.videolan.org/pub/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2
Resolving download.videolan.org (download.videolan.org)... 88.191.250.2, 2a01:e0d:1:3:58bf:fa02:c0de:5
Connecting to download.videolan.org (download.videolan.org)|88.191.250.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 364373 (356K) [application/octet-stream]
Saving to: ‘libdvdcss_1.4.0.orig.tar.bz2’

libdvdcss_1.4.0.orig.tar.bz2     100%[==========================================================>] 355.83K   795KB/s    in 0.4s    

2017-03-04 17:55:40 (795 KB/s) - ‘libdvdcss_1.4.0.orig.tar.bz2’ saved [364373/364373]

libdvd-pkg: Checking orig.tar integrity...
/usr/src/libdvd-pkg/libdvdcss_1.4.0.orig.tar.bz2: OK
libdvd-pkg: Unpacking and configuring...
libdvd-pkg: Building the package... (it may take a while)
libdvd-pkg: Build log will be saved to /usr/src/libdvd-pkg/libdvdcss2_1.4.0-1~local_amd64.build
Current: = cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_linux_immutable,cap_net_bind_service,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,cap_sys_module,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys_admin,cap_sys_boot,cap_sys_nice,cap_sys_resource,cap_sys_time,cap_sys_tty_config,cap_mknod,cap_lease,cap_audit_write,cap_audit_control,cap_setfcap,cap_mac_override,cap_mac_admin,cap_syslog,cap_wake_alarm,cap_block_suspend,37+ep
Bounding set =cap_chown,cap_dac_override,cap_fowner,cap_wake_alarm,cap_block_suspend,37
Securebits: 024/0x14/5'b10100
 secure-noroot: no (unlocked)
 secure-no-suid-fixup: yes (unlocked)
 secure-keep-caps: yes (unlocked)
uid=0(root)
gid=0(root)
groups=0(root)
libdvd-pkg: Installing...
Selecting previously unselected package libdvdcss-dev:amd64.
(Reading database ... 387303 files and directories currently installed.)
Preparing to unpack .../libdvdcss-dev_1.4.0-1~local_amd64.deb ...
Unpacking libdvdcss-dev:amd64 (1.4.0-1~local) ...
Selecting previously unselected package libdvdcss2:amd64.
Preparing to unpack .../libdvdcss2_1.4.0-1~local_amd64.deb ...
Unpacking libdvdcss2:amd64 (1.4.0-1~local) ...
Setting up libdvdcss2:amd64 (1.4.0-1~local) ...
Setting up libdvdcss-dev:amd64 (1.4.0-1~local) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
me@64bitUbuntu:~$ 

更多细节: System SettingsDetailsRemoveable Media设置为询问要做什么

驱动器识别出插入的磁盘,并且标题显示在 Nautilus 和 totem 中,但尝试在 totem 中播放时出现“无法读取 DVD” 同一驱动器可以完美读取 CD,并且同一张 DVD 在另一个系统中可以完美播放。这台机器是从 14.04 升级而来的,但在其他 2 个新安装 16.04 的系统上,一个出现此问题,另一个没有。

编辑:我尝试删除 ~/.dvdcss 文件夹。虽然那里存储了一些密钥,但没有帮助。虽然文档这里无论如何调整解密的环境变量都无法成功。

答案1

令我尴尬的是,在这种情况下,根本原因是一个临时硬件问题,即镜头上有灰尘。用一罐压缩空气就可以轻松解决。打开托盘并吹掉出现此问题的系统镜头上的灰尘,效果非常好。

相关内容