特殊: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}} | ||
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: | ||
* [[UbuntuHelp:MultimediaApplications#kaffeine|Kaffeine]], the Kubuntu video player | * [[UbuntuHelp:MultimediaApplications#kaffeine|Kaffeine]], the Kubuntu video player | ||
第11行: | 第8行: | ||
* [[UbuntuHelp:MultimediaApplications#totem-xine|Totem-xine]] | * [[UbuntuHelp:MultimediaApplications#totem-xine|Totem-xine]] | ||
* VLC media player | * VLC media player | ||
<u>Note</u> : While [[UbuntuHelp:MultimediaApplications#totem-gstreamer|Totem-gstreamer]] can play a DVD automatically when it is inserted into the DVD drive, it cannot navigate the DVD nor play it by selecting '''Movie''' → '''Play Disc''' 'DVD Name'. | <u>Note</u> : While [[UbuntuHelp:MultimediaApplications#totem-gstreamer|Totem-gstreamer]] can play a DVD automatically when it is inserted into the DVD drive, it cannot navigate the DVD nor play it by selecting '''Movie''' → '''Play Disc''' 'DVD Name'. | ||
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'''. | ||
== Starting Fresh with xine Based Players == | == Starting Fresh with xine Based Players == | ||
After doing a fresh install of any one of the Ubuntu-based Linux distributions, some packages needed for DVD playback are not installed by default because of Ubuntu's commitment to completely free multimedia formats. This section covers what packages are needed and how to acquire and install them onto your system. | After doing a fresh install of any one of the Ubuntu-based Linux distributions, some packages needed for DVD playback are not installed by default because of Ubuntu's commitment to completely free multimedia formats. This section covers what packages are needed and how to acquire and install them onto your system. | ||
* '''Ubuntu 7.10 "Gutsy Gibbon"''' | * '''Ubuntu 7.10 "Gutsy Gibbon"''' | ||
In gutsy to get encrypted DVD playback to work i had to do the following: | In gutsy to get encrypted DVD playback to work i had to do the following: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install libdvdread3 libxine1-ffmpeg totem-xine | sudo apt-get install libdvdread3 libxine1-ffmpeg totem-xine build-essential debhelper fakeroot | ||
sudo /usr/share/doc/libdvdread3/install-css.sh | sudo /usr/share/doc/libdvdread3/install-css.sh | ||
</nowiki></pre> | </nowiki></pre> | ||
After that, running gxine from the Applications -> Sound and Video menu played the DVD perfectly. | After that, running gxine from the Applications -> Sound and Video menu played the DVD perfectly. | ||
I found this tip at: http://yoten.blogspot.com/2007/10/play-encrypted-dvds-under-ubuntu-gutsy.html | I found this tip at: http://yoten.blogspot.com/2007/10/play-encrypted-dvds-under-ubuntu-gutsy.html | ||
cheers random website! | cheers random website! | ||
* '''Ubuntu 7.04 "Feisty Fawn"''' | * '''Ubuntu 7.04 "Feisty Fawn"''' | ||
After doing a fresh install of Feisty, be it Ubuntu or Kubuntu, there are two packages not installed by default that need to be installed for DVD playback to work. There's a third package needed to play encrypted DVDs. They are: | After doing a fresh install of Feisty, be it Ubuntu or Kubuntu, there are two packages not installed by default that need to be installed for DVD playback to work. There's a third package needed to play encrypted DVDs. They are: | ||
* libdvdread3 | * libdvdread3 | ||
* libxine1-ffmpeg (Also requires libmad0, therefore libmad0 will be installed automatically along with this package) | * libxine1-ffmpeg (Also requires libmad0, therefore libmad0 will be installed automatically along with this package) | ||
* libdvdcss2 (Needed to play encrypted DVDs) | * libdvdcss2 (Needed to play encrypted DVDs) | ||
libdvdread3 and libxine1-ffmpeg are in the Ubuntu repository. To install them through the command line, type the following: | libdvdread3 and libxine1-ffmpeg are in the Ubuntu repository. To install them through the command line, type the following: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install libdvdread3 libxine1-ffmpeg | sudo apt-get install libdvdread3 libxine1-ffmpeg | ||
</nowiki></pre> | </nowiki></pre> | ||
libdvdcss2 is not part of the Ubuntu repository because of Ubuntu's commitment to completely free multimedia formats. The next section explains how to acquire libdvdcss2. | libdvdcss2 is not part of the Ubuntu repository because of Ubuntu's commitment to completely free multimedia formats. The next section explains how to acquire libdvdcss2. | ||
== Installing libdvdcss2 == | == Installing libdvdcss2 == | ||
If you are using Ubuntu 6.06 "Dapper Drake": | If you are using Ubuntu 6.06 "Dapper Drake": | ||
* Install the '''libdvdread3''' package from the [[UbuntuHelp:Repositories|universe]] repository. | |||
* Open a terminal and type | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo /usr/share/doc/libdvdread3/examples/install-css.sh</nowiki></pre> and press the enter key. This will download and install libdvdcss2. | sudo /usr/share/doc/libdvdread3/examples/install-css.sh</nowiki></pre> and press the enter key. This will download and install libdvdcss2. | ||
If you are using Ubuntu 6.10 "Edgy Eft": | If you are using Ubuntu 6.10 "Edgy Eft": | ||
* Install the '''libdvdread3''' package from the [[UbuntuHelp:Repositories|universe]] repository. | * Install the '''libdvdread3''' package from the [[UbuntuHelp:Repositories|universe]] repository. | ||
第57行: | 第42行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo /usr/share/doc/libdvdread3/install-css.sh</nowiki></pre> and press the enter key. This will download and install libdvdcss2. | sudo /usr/share/doc/libdvdread3/install-css.sh</nowiki></pre> and press the enter key. This will download and install libdvdcss2. | ||
If you are using Ubuntu 7.04 or later: | If you are using Ubuntu 7.04 or later: | ||
* Install the '''libdvdcss2''' package after adding the '''unsupported third-party''' repository [[UbuntuHelp:Medibuntu]]. | |||
Your DVD player should now play back encrypted DVDs. | Your DVD player should now play back encrypted DVDs. | ||
== 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 [[UbuntuWiki: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 [[UbuntuWiki: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. | ||
<br> | <br> | ||
* 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]]. | |||
** To launch regionset, issue the command | |||
<pre><nowiki> | <pre><nowiki> | ||
regionset</nowiki></pre> | regionset</nowiki></pre> | ||
* See the [[UbuntuHelp:FreeFormats#head-c2258969400dbf867f84949acc2a276a10e8ae7c|Free Formats page]] for more information | |||
== Troubleshooting == | == Troubleshooting == | ||
* Jerky Playback | * Jerky Playback |
2007年11月30日 (五) 21:17的版本
文章出处: |
{{#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 | | }}
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
Note : While Totem-gstreamer can play a DVD automatically when it is inserted into the DVD drive, it cannot navigate the DVD nor play it by selecting Movie → Play Disc 'DVD Name'. 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.
Starting Fresh with xine Based Players
After doing a fresh install of any one of the Ubuntu-based Linux distributions, some packages needed for DVD playback are not installed by default because of Ubuntu's commitment to completely free multimedia formats. This section covers what packages are needed and how to acquire and install them onto your system.
- Ubuntu 7.10 "Gutsy Gibbon"
In gutsy to get encrypted DVD playback to work i had to do the following:
sudo apt-get install libdvdread3 libxine1-ffmpeg totem-xine build-essential debhelper fakeroot sudo /usr/share/doc/libdvdread3/install-css.sh
After that, running gxine from the Applications -> Sound and Video menu played the DVD perfectly. I found this tip at: http://yoten.blogspot.com/2007/10/play-encrypted-dvds-under-ubuntu-gutsy.html cheers random website!
- Ubuntu 7.04 "Feisty Fawn"
After doing a fresh install of Feisty, be it Ubuntu or Kubuntu, there are two packages not installed by default that need to be installed for DVD playback to work. There's a third package needed to play encrypted DVDs. They are:
- libdvdread3
- libxine1-ffmpeg (Also requires libmad0, therefore libmad0 will be installed automatically along with this package)
- libdvdcss2 (Needed to play encrypted DVDs)
libdvdread3 and libxine1-ffmpeg are in the Ubuntu repository. To install them through the command line, type the following:
sudo apt-get install libdvdread3 libxine1-ffmpeg
libdvdcss2 is not part of the Ubuntu repository because of Ubuntu's commitment to completely free multimedia formats. The next section explains how to acquire libdvdcss2.
Installing libdvdcss2
If you are using Ubuntu 6.06 "Dapper Drake":
- Install the libdvdread3 package from the universe repository.
- Open a terminal and type
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
and press the enter key. This will download and install libdvdcss2.
If you are using Ubuntu 6.10 "Edgy Eft":
- Install the libdvdread3 package from the universe repository.
- Open a terminal and type
sudo /usr/share/doc/libdvdread3/install-css.sh
and press the enter key. This will download and install libdvdcss2.
If you are using Ubuntu 7.04 or later:
- Install the libdvdcss2 package after adding the unsupported third-party repository UbuntuHelp:Medibuntu.
Your DVD player should now play back encrypted DVDs.
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.