特殊:Badtitle/NS100:RestrictedFormats/PlayingDVDs:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs}} | {{From|https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs}} | ||
{{Languages|UbuntuHelp:RestrictedFormats/PlayingDVDs}} | {{Languages|UbuntuHelp:RestrictedFormats/PlayingDVDs}} | ||
== Introduction == | |||
Most commercial DVDs are encrypted with CSS (the Content Scrambling System), which attempts to restrict the software that can play a DVD. | Most commercial DVDs are encrypted with CSS (the Content Scrambling System), which attempts to restrict the software that can play a DVD. | ||
By installing the '''libdvdcss2''' package you can play encrypted DVDs with: | By installing the '''libdvdcss2''' package you can play encrypted DVDs with: | ||
第12行: | 第13行: | ||
If you use vlc media player you can navigate through the menu, forward in the movie and select subtitles. Just select '''open disc, probe Disc(s) and click ok'''. | If you use vlc media player you can navigate through the menu, forward in the movie and select subtitles. Just select '''open disc, probe Disc(s) and click ok'''. | ||
== Installing libdvdcss == | == Installing libdvdcss == | ||
=== Ubuntu 9.04 (i386, amd64) === | Legal Warning: Check with your local laws to make sure usage of libdvdcss2 would be legal in your area. | ||
=== Ubuntu 9.04 and 9.10 (i386, amd64) === | |||
* Install the '''libdvdread4''' package ('''no need to add third party repositories''') via Synaptic or command line: | * Install the '''libdvdread4''' package ('''no need to add third party repositories''') via Synaptic or command line: | ||
<pre><nowiki> | <pre><nowiki> | ||
第30行: | 第32行: | ||
sudo /usr/share/doc/libdvdread3/install-css.sh | sudo /usr/share/doc/libdvdread3/install-css.sh | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Ubuntu 8.04 | === Ubuntu 8.04 (i386) === | ||
* Install the '''libdvdread3''' package ('''no need to add third party repositories''') via Synaptic or command line: | * Install the '''libdvdread3''' package ('''no need to add third party repositories''') via Synaptic or command line: | ||
<pre><nowiki> | <pre><nowiki> | ||
第40行: | 第42行: | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Ubuntu 8.04 (amd64) === | === Ubuntu 8.04 (amd64) === | ||
* Open a terminal and type <pre><nowiki> | * Open a terminal and type | ||
<pre><nowiki> | |||
sudo apt-get install build-essential debhelper fakeroot</nowiki></pre> press the enter key. | sudo apt-get install build-essential debhelper fakeroot</nowiki></pre> press the enter key. | ||
* Then type <pre><nowiki> | * Then type | ||
sudo /usr/share/doc/libdvdread3/install-css.sh</nowiki></pre> press enter again | <pre><nowiki> | ||
sudo /usr/share/doc/libdvdread3/install-css.sh | |||
</nowiki></pre> press enter again | |||
* When it asks you, press enter to continue and it will build and install libdvdcss2 | * When it asks you, press enter to continue and it will build and install libdvdcss2 | ||
== Setting DVD Region Codes == | == Setting DVD Region Codes == | ||
If your DVD player regularly locks up when you try to play back a DVD, your DVD player probably does not match the DVD's [[UbuntuHelp:WikiPedia:Regional_lockout|Region Code]]. Region Codes are a form of vendor lock-in. For example, you cannot play a DVD published in Japan (Region 2) on a DVD player in the United States (Region 1) without changing the Region Code of the DVD player (unless you own a region free DVD player). You can view or modify the Region Code of your DVD drive with the [http://linvdr.org/projects/regionset/ regionset] tool. | If your DVD player regularly locks up when you try to play back a DVD, your DVD player probably does not match the DVD's [[UbuntuHelp:WikiPedia:Regional_lockout|Region Code]]. Region Codes are a form of vendor lock-in. For example, you cannot play a DVD published in Japan (Region 2) on a DVD player in the United States (Region 1) without changing the Region Code of the DVD player (unless you own a region free DVD player). You can view or modify the Region Code of your DVD drive with the [http://linvdr.org/projects/regionset/ regionset] tool. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.png <<BR>> ''[http://linvdr.org/projects/regionset/ The author of regionset writes:] "On delivery, most DVD drives have no region code set. The drive firmware allows you to change the region code, but on nearly all drives you are limited to five (5) changes. After the fifth change, the DVD drive will stay fixed on that code -- on some drives you can upgrade the drive firmware and have then additional five changes, on other drives you won't be able to change the region code any more."'' | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.png | ||
<<BR>> | |||
''[http://linvdr.org/projects/regionset/ The author of regionset writes:] "On delivery, most DVD drives have no region code set. The drive firmware allows you to change the region code, but on nearly all drives you are limited to five (5) changes. After the fifth change, the DVD drive will stay fixed on that code -- on some drives you can upgrade the drive firmware and have then additional five changes, on other drives you won't be able to change the region code any more."'' | |||
* Most players (eg mplayer/vlc) with most DVD drives are able to ignore the value of the region setting. However, it must have been set to something; if it hasn't been initialized, even non-region-restricted DVDs won't play. Also, if it is necessary to crack the CSS key, it can sometimes take up to a few minutes to do so. | * Most players (eg mplayer/vlc) with most DVD drives are able to ignore the value of the region setting. However, it must have been set to something; if it hasn't been initialized, even non-region-restricted DVDs won't play. Also, if it is necessary to crack the CSS key, it can sometimes take up to a few minutes to do so. | ||
* To change the Region Code of your DVD player, insert a DVD from your region in the DVD player, and do the following: | * To change the Region Code of your DVD player, insert a DVD from your region in the DVD player, and do the following: | ||
* Install the '''regionset''' package from the [[UbuntuHelp:Repositories/Ubuntu#what|Universe repositories]]. | * Install the '''regionset''' package from the [[UbuntuHelp:Repositories/Ubuntu#what|Universe repositories]]. | ||
第71行: | 第65行: | ||
* Jerky Playback | * Jerky Playback | ||
If DVD playback is noticeably choppy or burning a CD/DVD is slower than it should be, then you may need to '''enable DMA transfer''' for the DVD drive. See the [[UbuntuHelp:DMA|DMA (Direct Memory Access)]] page for details. | If DVD playback is noticeably choppy or burning a CD/DVD is slower than it should be, then you may need to '''enable DMA transfer''' for the DVD drive. See the [[UbuntuHelp:DMA|DMA (Direct Memory Access)]] page for details. | ||
* Decryption errors | |||
If you've installed libdvdcss2 as described above, it should Just Work. However, I had to `chmod 660 /dev/sr0; chgrp cdrom /dev/sr0` (replace with the path to your dvd drive) in order to get videos to play. | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年11月17日 (二) 20:30的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/af | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Afrikaans| [[::RestrictedFormats/PlayingDVDs/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/ar | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|العربية| [[::RestrictedFormats/PlayingDVDs/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/az | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|azərbaycanca| [[::RestrictedFormats/PlayingDVDs/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/bcc | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|جهلسری بلوچی| [[::RestrictedFormats/PlayingDVDs/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/bg | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|български| [[::RestrictedFormats/PlayingDVDs/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/br | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|brezhoneg| [[::RestrictedFormats/PlayingDVDs/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/ca | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|català| [[::RestrictedFormats/PlayingDVDs/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/cs | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|čeština| [[::RestrictedFormats/PlayingDVDs/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/de | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Deutsch| [[::RestrictedFormats/PlayingDVDs/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/el | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Ελληνικά| [[::RestrictedFormats/PlayingDVDs/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/es | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|español| [[::RestrictedFormats/PlayingDVDs/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/fa | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|فارسی| [[::RestrictedFormats/PlayingDVDs/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/fi | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|suomi| [[::RestrictedFormats/PlayingDVDs/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/fr | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|français| [[::RestrictedFormats/PlayingDVDs/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/gu | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|ગુજરાતી| [[::RestrictedFormats/PlayingDVDs/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/he | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|עברית| [[::RestrictedFormats/PlayingDVDs/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/hu | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|magyar| [[::RestrictedFormats/PlayingDVDs/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/id | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Bahasa Indonesia| [[::RestrictedFormats/PlayingDVDs/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/it | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|italiano| [[::RestrictedFormats/PlayingDVDs/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/ja | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|日本語| [[::RestrictedFormats/PlayingDVDs/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/ko | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|한국어| [[::RestrictedFormats/PlayingDVDs/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/ksh | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Ripoarisch| [[::RestrictedFormats/PlayingDVDs/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/mr | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|मराठी| [[::RestrictedFormats/PlayingDVDs/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/ms | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Bahasa Melayu| [[::RestrictedFormats/PlayingDVDs/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/nl | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Nederlands| [[::RestrictedFormats/PlayingDVDs/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/no | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|norsk| [[::RestrictedFormats/PlayingDVDs/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/oc | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|occitan| [[::RestrictedFormats/PlayingDVDs/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/pl | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|polski| [[::RestrictedFormats/PlayingDVDs/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/pt | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|português| [[::RestrictedFormats/PlayingDVDs/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/ro | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|română| [[::RestrictedFormats/PlayingDVDs/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/ru | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|русский| [[::RestrictedFormats/PlayingDVDs/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/si | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|සිංහල| [[::RestrictedFormats/PlayingDVDs/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/sq | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|shqip| [[::RestrictedFormats/PlayingDVDs/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/sr | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|српски / srpski| [[::RestrictedFormats/PlayingDVDs/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/sv | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|svenska| [[::RestrictedFormats/PlayingDVDs/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/th | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|ไทย| [[::RestrictedFormats/PlayingDVDs/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/tr | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Türkçe| [[::RestrictedFormats/PlayingDVDs/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/vi | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|Tiếng Việt| [[::RestrictedFormats/PlayingDVDs/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/yue | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|粵語| [[::RestrictedFormats/PlayingDVDs/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/zh | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|中文| [[::RestrictedFormats/PlayingDVDs/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/zh-hans | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|中文(简体)| [[::RestrictedFormats/PlayingDVDs/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs | UbuntuHelp:RestrictedFormats/PlayingDVDs | {{#if: | :}}RestrictedFormats/PlayingDVDs}}/zh-hant | • {{#if: UbuntuHelp:RestrictedFormats/PlayingDVDs|中文(繁體)| [[::RestrictedFormats/PlayingDVDs/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:RestrictedFormats/PlayingDVDs|:RestrictedFormats/PlayingDVDs|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :RestrictedFormats/PlayingDVDs/zh | | {{#ifexist: RestrictedFormats/PlayingDVDs/zh | | {{#ifeq: {{#titleparts:RestrictedFormats/PlayingDVDs|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:RestrictedFormats/PlayingDVDs|1|-1|}} | zh | | }}
Introduction
Most commercial DVDs are encrypted with CSS (the Content Scrambling System), which attempts to restrict the software that can play a DVD. By installing the libdvdcss2 package you can play encrypted DVDs with:
- Kaffeine, the Kubuntu video player
- MPlayer
- xine
- Totem-xine
- VLC media player
- Ogle
Note : While Totem-gstreamer can play a DVD automatically when it is inserted into the DVD drive, it cannot navigate the DVD reliably (see Bug #41335). If you use vlc media player you can navigate through the menu, forward in the movie and select subtitles. Just select open disc, probe Disc(s) and click ok.
Installing libdvdcss
Legal Warning: Check with your local laws to make sure usage of libdvdcss2 would be legal in your area.
Ubuntu 9.04 and 9.10 (i386, amd64)
- Install the libdvdread4 package (no need to add third party repositories) via Synaptic or command line:
sudo apt-get install libdvdread4
- Then open a terminal window and execute:
sudo /usr/share/doc/libdvdread4/install-css.sh
Ubuntu 8.10 (i386, amd64)
- Install the libdvdread3 package (no need to add third party repositories) via Synaptic or command line:
sudo apt-get install libdvdread3 gstreamer0.10-plugins-ugly
- Then open a terminal window and execute:
sudo /usr/share/doc/libdvdread3/install-css.sh
Ubuntu 8.04 (i386)
- Install the libdvdread3 package (no need to add third party repositories) via Synaptic or command line:
sudo apt-get install libdvdread3
- Then open a terminal window and execute:
sudo /usr/share/doc/libdvdread3/install-css.sh
Ubuntu 8.04 (amd64)
- Open a terminal and type
sudo apt-get install build-essential debhelper fakeroot
press the enter key.
- Then type
sudo /usr/share/doc/libdvdread3/install-css.sh
press enter again
- When it asks you, press enter to continue and it will build and install libdvdcss2
Setting DVD Region Codes
If your DVD player regularly locks up when you try to play back a DVD, your DVD player probably does not match the DVD's Region Code. Region Codes are a form of vendor lock-in. For example, you cannot play a DVD published in Japan (Region 2) on a DVD player in the United States (Region 1) without changing the Region Code of the DVD player (unless you own a region free DVD player). You can view or modify the Region Code of your DVD drive with the regionset tool.
<
>
The author of regionset writes: "On delivery, most DVD drives have no region code set. The drive firmware allows you to change the region code, but on nearly all drives you are limited to five (5) changes. After the fifth change, the DVD drive will stay fixed on that code -- on some drives you can upgrade the drive firmware and have then additional five changes, on other drives you won't be able to change the region code any more."
- Most players (eg mplayer/vlc) with most DVD drives are able to ignore the value of the region setting. However, it must have been set to something; if it hasn't been initialized, even non-region-restricted DVDs won't play. Also, if it is necessary to crack the CSS key, it can sometimes take up to a few minutes to do so.
- To change the Region Code of your DVD player, insert a DVD from your region in the DVD player, and do the following:
- Install the regionset package from the Universe repositories.
- To launch regionset, issue the command
regionset
- See the Free Formats page for more information
Troubleshooting
- Jerky Playback
If DVD playback is noticeably choppy or burning a CD/DVD is slower than it should be, then you may need to enable DMA transfer for the DVD drive. See the DMA (Direct Memory Access) page for details.
- Decryption errors
If you've installed libdvdcss2 as described above, it should Just Work. However, I had to `chmod 660 /dev/sr0; chgrp cdrom /dev/sr0` (replace with the path to your dvd drive) in order to get videos to play.