外置 DVD 驱动器无法正常播放光盘

外置 DVD 驱动器无法正常播放光盘

问题:您能否推荐一款外置 DVD 播放器,让我可以使用 Ubuntu 18.04 观看欧洲合法电影(区域代码:2)?

我买了一台新笔记本和一个外置 DVD 播放器,因为它没有。我安装了 Ubuntu,并安装了所有必要的libdvd*软件包:

ii  libdv4:amd64                               1.0.0-11
ii  libdvbpsi10:amd64                          1.3.2-1
ii  libdvd-pkg                                 1.4.2-1-1
ii  libdvdcss-dev:amd64                        1.4.2-1~local
ii  libdvdcss2:amd64                           1.4.2-1~local
ii  libdvdnav4:amd64                           6.0.0-1
ii  libdvdread4:amd64                          6.0.0-1
ii  ubuntu-restricted-extras                   66
ii  regionset                                  0.1-3.1

然后我想播放 DVD 并收到 3 页错误消息:

$ vlc dvd://sr0
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
libdvdnav: Using dvdnav version 6.0.0
libdvdnav: DVD Title: VENOM_2018
libdvdnav: DVD Serial Number: 4d9292d9
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions: 2 4 5

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000167
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000002f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000d271
libdvdread: Elapsed time 0

libdvdread: Get key for /VIDEO_TS/VTS_15_0.VOB at 0x002dade8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_15_0.VOB (0x002dade8)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_1.VOB at 0x002daf42
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_15_1.VOB (0x002daf42)!!
libdvdread: Elapsed time 0
libdvdread: Found 15 VTS's
libdvdread: Elapsed time 0

libdvdread: Invalid IFO for title 14 (VTS_14_0.BUP).
libdvdread: Can't seek to block 2993628
libdvdread: Can't seek to block 2993628
libdvdread: Can't seek to block 2993628
libdvdread: Can't seek to block 2997149
libdvdread: Can't seek to block 2997149
libdvdread: Can't seek to block 2997149
libdvdread: Invalid IFO for title 15 (VTS_15_0.BUP).
libdvdread: Can't seek to block 2963152
libdvdread: Can't seek to block 2963152
libdvdread: Invalid IFO for title 12 (VTS_12_0.IFO).
libdvdnav: ifoOpenVTSI failed

然后我将外置 DVD 连接到带有内置 DVD 的旧笔记本。我能够通过内置 DVD 播放 DVD,但外置 DVD 返回了相同的错误消息。

设备:

$ dmesg | grep -i dvd

[ 5164.196463] scsi 2:0:0:0: CD-ROM            HL-DT-ST DVDRAM GP57ES40  PF01 PQ: 0 ANSI: 0
[ 5164.220633] sr 2:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray

$ sudo lshw -C disk

  *-cdrom                   
       description: DVD-RAM writer
       product: DVDRAM GP57ES40
       vendor: HL-DT-ST
       physical id: 0.0.0
       bus info: scsi@2:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/cdrw
       logical name: /dev/dvd
       logical name: /dev/dvdrw
       logical name: /dev/sr0
       version: PF01
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: status=ready
     *-medium
      physical id: 0
      logical name: /dev/cdrom

$ ls -l sr0

brw-rw----+ 1 root cdrom 11, 0 Nov  8 19:11 sr0

故障排除

  1. 没有光盘菜单:

我删除了文件夹中与电影相关的文件夹~./dvdcss。我No disc menus在 VLC UI 中勾选了复选框,然后它播放了 DVD,但当播放到 19:18 时就停止了dvdread demux error: read failed for 3/4 blocks at 0x72d80

我尝试过了从命令行播放没有光盘菜单,它也可以工作:vlc dvdsimple://sr0 然后我尝试播放它定义titlechapter但它总是播放第一个标题:

vlc dvdsimple://sr0@01
vlc dvdsimple://sr0@02

我尝试列出titles和,chapters但当我尝试播放它时产生了相同的输出:

$ lsdvd /dev/sr0

libdvdread: Can't seek to block 2676815
libdvdread: Can't seek to block 2676815
libdvdread: Can't seek to block 2676815
libdvdread: Can't seek to block 2678061
libdvdread: Can't seek to block 2678061
libdvdread: Can't seek to block 2678061
libdvdread: Invalid IFO for title 2 (VTS_02_0.BUP).

libdvdread: Can't seek to block 2993628
libdvdread: Can't seek to block 2993628
libdvdread: Can't seek to block 2993628
libdvdread: Can't seek to block 2997149
libdvdread: Can't seek to block 2997149
libdvdread: Can't seek to block 2997149
libdvdread: Invalid IFO for title 15 (VTS_15_0.BUP).
Segmentation fault (core dumped)
  1. 我通过软件包将区域代码改为 2(我住在欧洲)regionset。但没用。

$ 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): 2, mask=0xFD

Would you like to change the region setting of your drive? [y/n]:n
  1. 我检查了 的值DVDCSS_METHOD。它是空的。我将其更改为titledisckey。它们都没有帮助。

  2. 启用 libvdpau-va-gl 作为默认 VDPAU 驱动程序也没什么帮助。

  3. 我安装了mplayermplayer-guimencoder。修复了 GUI 错误并尝试播放 DVD。

$ mplayer dvd://

它对各个章节的识别不同(参见Error cracking CSS key以下内容):

Playing dvd://.
There are 41 titles on this DVD.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000167
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000002f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000d271
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0028d858
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_0.VOB (0x0028d858)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0028d9b2
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x0028d9b2)!!
libdvdread: Elapsed time 0

它播放了 DVD 的前 4 章,直到播放到电影的同一时刻,就崩溃了。有趣的是,时间戳是 40 秒,更像是 19:50:

错误:

 MPlayer interrupted by signal 2 in module: decode_video
 A: 369.6 V: 369.6 A-V: -0.021 ct:  0.059 9237/9237  7%  1%  2.3% 0 0

如果我尝试播放其他 DVD,情况也是一样。是编码、驱动程序还是硬件错误?

你知道我该如何修复它吗?或者你有适合的外置 DVD 播放器吗?

答案1

我买了一台华硕 Zen Drive 外置 DVD 播放器,它运行良好。

所以结论是。不要为您的 Debian Linux 系统购买 Hitachi-LG 外置 DVD 播放器,因为它可能无法工作!

答案2

我的 DVD 驱动器坏了,我买了一个新的,遇到了类似的问题,控制台输出也类似。同一台 Ubuntu 18.04 计算机上的同一张 DVD 光盘在使用 VLC 之前可以正常工作,但使用新驱动器时却不行。我还安装了所有库。我以为我的新驱动器有问题。

但重新安装库使用

sudo apt install libdvd-pkg && sudo dpkg-reconfigure libdvd-pkg

成功了,现在新驱动器运行正常。对于原始发帖者来说,它可能不起作用,但希望它能帮助其他遇到类似问题的人。

附言!我有连接到计算机的新驱动器当我重新安装并重新配置 libdvd 时(我不知道这是否相关)。

PS!也许sudo dpkg-reconfigure libdvd-pkg也可以(尚未测试,因为我的现在正在工作)。查看更多信息Ubuntu 帮助页面

相关内容