特殊:Badtitle/NS100:RestrictedFormats/PlayingDVDs:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的3个中间版本)
第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:
第11行: 第12行:
<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 reliably (see [https://bugs.launchpad.net/ubuntu/+source/totem/+bug/41335 Bug #41335]).
<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 reliably (see [https://bugs.launchpad.net/ubuntu/+source/totem/+bug/41335 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'''.
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 libdvdcss2 ==
== Installing libdvdcss ==
=== Ubuntu 8.04.1 (i386) ===
Legal Warning: Check with your local laws to make sure usage of libdvdcss2 would be legal in your area.
=== Ubuntu 9.04, 9.10 and 10.04 (i386, amd64) ===
* Install the '''libdvdread4''' package ('''no need to add third party repositories''') via Synaptic or command line:
<pre><nowiki>
sudo apt-get install libdvdread4
</nowiki></pre>
* Then open a terminal window and execute:
<pre><nowiki>
sudo /usr/share/doc/libdvdread4/install-css.sh
</nowiki></pre>
* Rebooting may be necesarry.
=== Ubuntu 8.10 (i386, amd64) ===
* Install the '''libdvdread3''' package ('''no need to add third party repositories''') via Synaptic or command line:
<pre><nowiki>
sudo apt-get install libdvdread3 gstreamer0.10-plugins-ugly
</nowiki></pre>
* Then open a terminal window and execute:
<pre><nowiki>
sudo /usr/share/doc/libdvdread3/install-css.sh
</nowiki></pre>
=== 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>
  sudo apt-get install libdvdread3
  sudo apt-get install libdvdread3
</nowiki></pre>
</nowiki></pre>
* The open a terminal window and execute:
* Then open a terminal window and execute:
<pre><nowiki>
<pre><nowiki>
  sudo /usr/share/doc/libdvdread3/install-css.sh
  sudo /usr/share/doc/libdvdread3/install-css.sh
</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
=== Ubuntu 7.10 and before (i386) ===
* Install the '''libdvdcss2''' package after adding the '''unsupported third-party''' repository [[UbuntuHelp:Medibuntu|Medibuntu]].
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>
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":
* Install the '''libdvdread3''' package from the [[UbuntuHelp:Repositories|universe]] repository.
* Open a terminal and type <pre><nowiki>
sudo /usr/share/doc/libdvdread3/install-css.sh</nowiki></pre> and press the enter key.  This will download and install libdvdcss2. 
Your DVD player should now play back encrypted DVDs.
Legal Warning: Check with your local laws to make sure usage of libdvdcss2 would be legal in your area.
== 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.
<<BR>>
* 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]].
第53行: 第66行:
* 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.
* No Sound
If you don't hear any sound, click System -> Preferences -> Sounds. Then click a sound in the
bottom list, and make sure that it's not already selected. You should hear the sound you selected.
If not, make sure your speakers are working and that your volume is up. Try clicking another sound
in the list, after ajusting your volume. Also make sure your speakers are working. Once you're
done, select the sound it was on before and click OK. Try downloading VLC Media Player by clicking
Applications -> Ubuntu Software Centre or Applications -> Add/Remove Appications. Search for "VLC
Media Player" and download the program with the orange cone icon. If you don't see an orange cone,
the icon might be a cardboard box with all kinds of stuff sticking out of it. In that case, look at
the discriptions. Install VLC and then use it to play your movie or DVD.


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2010年5月20日 (四) 00:05的最新版本

{{#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:

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, 9.10 and 10.04 (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
  • Rebooting may be necesarry.

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. IconsPage?action=AttachFile&do=get&target=warning.png <
> 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

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.

  • No Sound

If you don't hear any sound, click System -> Preferences -> Sounds. Then click a sound in the bottom list, and make sure that it's not already selected. You should hear the sound you selected. If not, make sure your speakers are working and that your volume is up. Try clicking another sound in the list, after ajusting your volume. Also make sure your speakers are working. Once you're done, select the sound it was on before and click OK. Try downloading VLC Media Player by clicking Applications -> Ubuntu Software Centre or Applications -> Add/Remove Appications. Search for "VLC Media Player" and download the program with the orange cone icon. If you don't see an orange cone, the icon might be a cardboard box with all kinds of stuff sticking out of it. In that case, look at the discriptions. Install VLC and then use it to play your movie or DVD.