个人工具

“UbuntuHelp:RestrictedFormats/PlayingDVDs”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:RestrictedFormats/PlayingDVDs}}
 
{{Languages|UbuntuHelp:RestrictedFormats/PlayingDVDs}}
  
== Playing DVDs ==
+
 
 
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.
  
第10行: 第10行:
 
* [[UbuntuHelp:MultimediaApplications#gxine| xine]]
 
* [[UbuntuHelp:MultimediaApplications#gxine| xine]]
 
* [[UbuntuHelp:MultimediaApplications#totem-xine|Totem-xine]]   
 
* [[UbuntuHelp:MultimediaApplications#totem-xine|Totem-xine]]   
 +
* 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'''.
 +
 +
== 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:
 +
 +
<pre><nowiki>
 +
sudo apt-get install libdvdread3 libxine1-ffmpeg totem-xine
 +
sudo /usr/share/doc/libdvdread3/install-css.sh
 +
</nowiki></pre>
  
=== Starting Fresh with xine Based Players ===
+
After that, running gxine from the Applications -> Sound and Video menu played the DVD perfectly.
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 (for various legal reasons). This section covers what packages are needed and how to acquire and install them onto your system.
+
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"'''
 
* '''Ubuntu 7.04 "Feisty Fawn"'''
第29行: 第43行:
 
</nowiki></pre>
 
</nowiki></pre>
  
libdvdcss2 is not part of the Ubuntu repository for legal reasons. 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.
 
** Install the '''libdvdread3''' package from the [[UbuntuHelp:Repositories|universe]] repository.
第49行: 第63行:
 
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.
  
第67行: 第81行:
 
*** See the [[UbuntuHelp:FreeFormats#head-c2258969400dbf867f84949acc2a276a10e8ae7c|Free Formats page]] for more information
 
*** See the [[UbuntuHelp:FreeFormats#head-c2258969400dbf867f84949acc2a276a10e8ae7c|Free Formats page]] for more information
  
=== Troubleshooting ===
+
== Troubleshooting ==
 
* 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.
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月21日 (三) 18:10的版本



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 nor play it by selecting MoviePlay 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
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.

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:
      • 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.