VLC无法播放DVD电影。

我在我的Ubuntu 14.04系统上安装了VLC播放器。即使电脑试图启动电影,DVD电影也无法播放(没有声音或画面)。出了什么问题?是版本对于Ubuntu 14.04不正确吗?

2在下面的答案中,使用install ubuntu-restricted-extras命令时,要接受EULA协议,请按Tab键,然后按Enter键,就像[http://askubuntu.com/questions/16225/how-can-i-accept-the-microsoft-eula-agreement-for-ttf-mscorefonts-installer][1]中所示。 - Berry
4个回答

安装软件包ubuntu-restricted-extrassudo apt-get install ubuntu-restricted-extras 然后运行: sudo /usr/share/doc/libdvdread4/install-css.sh 以安装libdvdcss2库,由于法律原因,它未包含在官方仓库中。现在所有的DVD电影应该能够完美播放了。

1这也解决了我使用手刹的问题! - frepie
8在那个目录中没有 install-css.sh 文件。 - Dean Schulze
12我没有足够的声望来发布答案:对于Ubuntu 15.10及更高版本,libdvdread4不再包含install-css.sh。相反,请运行:'sudo apt-get install libdvd-pkg'。请参阅https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs获取更多详细信息。 - marts
这对我来说不起作用,我使用的是Ubuntu 16.04和VLC 2.2.2。 - The Duke Of Marshall שלום
这对我来说在运行18.10版本时没有起作用。 - Lexible
1这在20.04版本中无法工作。/usr/share/doc/libdvdread4已经不存在了,而对应的libdvdread7也不包含install-css.sh脚本。 - Calimo

确认在16.04 - 20.04.01期间有效

sudo apt-get install libdvd-pkg 然后执行 sudo dpkg-reconfigure libdvd-pkg

然后只需将IFO文件(通常为VIDEO_TS.IFO)拖放到VLC窗口中。

这也是官方的VLC解决方案


对我来说很有效 :D - btc4cash
1在20.04.01版本中对我也起作用了 - 如果VLC能够弹出一个对话框来说明问题所在,而不是什么都不做就试图播放DVD,那就太好了! - Ruth
1这个还在22.04版本中有效。非常感谢! - undefined

15.10及以上版本

复制到终端:

sudo apt-get install libdvd-pkg

然后安装一些类似的东西:
sudo apt-get install pyrenamer;
sudo apt-get remove pyrenamer;

运行libdvdcss2的构建脚本。

15.04及更低版本

复制到终端:

sudo apt-get install ubuntu-restricted-extras;
sudo /usr/share/doc/libdvdread4/install-css.sh;

1这对我来说很有效,我使用的是Ubuntu 16.04和VLC 2.2.2。 - The Duke Of Marshall שלום
这对我来说在运行18.10时没有起作用。 - Lexible
为什么你要安装Pyrenamer然后立即卸载它呢? - undefined

如果你和我一样因为打开磁盘的方式不对而遇到了同样的问题,请尝试以下方法:

http://howtoubuntu.org/how-to-play-a-dvd-in-ubuntu

First,      insert DVD and do nothing with it (no run, no open). 
Second,     launch VLC Media Player. You can find it by searching for VLC.
Lastly,     brown to DVD files by click File and select Open Disc.

这对我来说在运行18.10版本时没有起作用。 - Lexible