个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{From|https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD}} {{Languages|php5}} == Playing Blu-Ray and HD DVD Video == It's possible (although a little cumbersome) to play ...)
 
 
(未显示2个用户的14个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD}}
 
{{From|https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:RestrictedFormats/BluRayAndHDDVD}}
 
== Playing Blu-Ray and HD DVD Video ==
 
== Playing Blu-Ray and HD DVD Video ==
 
+
It's possible (although a little cumbersome) to play HD DVD and Blu-Ray films on Ubuntu.
It's possible (although a little cumbersome) to play HD DVD and Blu-Ray films under Ubuntu 7.04 Feisty Fawn.  
+
https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD?action=AttachFile&do=get&target=HDDVDPlayingKingKongSmall.png
 
+
attachment:HDDVDPlayingKingKongSmall.png
+
 
+
 
Audio in some films may not yet be supported.
 
Audio in some films may not yet be supported.
 
 
The AACS 'Digital Rights Management' system in most HD-DVD and all Blu-Ray discs attempts to stop consumers from exercising fair use rights, including:
 
The AACS 'Digital Rights Management' system in most HD-DVD and all Blu-Ray discs attempts to stop consumers from exercising fair use rights, including:
 
* Playing purchased Blu-Ray and HD DVD films using Open Source software.
 
* Playing purchased Blu-Ray and HD DVD films using Open Source software.
第14行: 第10行:
 
* Fast forwarding or skipping advertisements.
 
* Fast forwarding or skipping advertisements.
 
* Playing imported films, including when local equivalents may be overpriced or not available.
 
* Playing imported films, including when local equivalents may be overpriced or not available.
 
 
Blu-Ray or HD DVD player applications require their unique player (or 'device') key to play discs. These keys are issued by AACS-LA to approved manufacturers that implement the restrictions above. This player key can decrypt each film's volume key, which in turn can decrypt the film's content to play it.
 
Blu-Ray or HD DVD player applications require their unique player (or 'device') key to play discs. These keys are issued by AACS-LA to approved manufacturers that implement the restrictions above. This player key can decrypt each film's volume key, which in turn can decrypt the film's content to play it.
 
 
However the AACS DRM is ineffective and does not successfully prevent any of these things.
 
However the AACS DRM is ineffective and does not successfully prevent any of these things.
 
 
* The player key for the xBox 360 HD DVD drive is known publicly, and has around 500,000 results on Google.  
 
* The player key for the xBox 360 HD DVD drive is known publicly, and has around 500,000 results on Google.  
* Player keys for all Windows based software players, such as WinDVD and PowerDVD are known publicly. These can be used to find the volume keys for all current discs. While these applications now have new keys (and future HD-DVD and Blu-Ray discs won't play with the old keys), it's likely the new key will be discovered too as all players must store their keys in memory at some point.  
+
* Player keys for all Windows based software players, such as WinDVD and PowerDVD are known publicly. These can be used to find the volume keys for discs that don't have newer keys than those discovered. While these applications now have new keys (and future HD-DVD and Blu-Ray discs won't play with the old keys), it's likely the new key will be discovered too as all players must store their keys in memory at some point.  
* The volume keys needed to play nearly all released films are known publicly, due to the above. Even without a licensed player key, Linux HD-DVD and Blu-Ray software can use these to play discs.
+
* The volume keys needed to play many released films are known publicly, due to the above. Even without a licensed player key, Linux HD-DVD and Blu-Ray software can use these to play discs.
 
+
 
'''Legal Notice'''
 
'''Legal Notice'''
 
''Patent and copyright laws operate differently depending on which country you are in. Please obtain legal advice if you are unsure whether a particular patent or restriction applies to a media format you wish to use in your country.''
 
''Patent and copyright laws operate differently depending on which country you are in. Please obtain legal advice if you are unsure whether a particular patent or restriction applies to a media format you wish to use in your country.''
 
 
=== Requirements ===
 
=== Requirements ===
 
 
None of the software below is supplied or endorsed by Ubuntu.
 
None of the software below is supplied or endorsed by Ubuntu.
 
 
 
* An HD DVD drive. The [http://www.xbox.com/en-US/hardware/x/xbox360hddvdplayer/ Xbox 360 HD-DVD player] works well. Log into Gnome and then plug in the player. DVDs and CDs will work out of the box, HD-DVDs require the additional steps below.  
 
* An HD DVD drive. The [http://www.xbox.com/en-US/hardware/x/xbox360hddvdplayer/ Xbox 360 HD-DVD player] works well. Log into Gnome and then plug in the player. DVDs and CDs will work out of the box, HD-DVDs require the additional steps below.  
* A UDF 2.5 filesystem driver (the UDF driver included in Feisty Fawn 7.04 only supports UDF 2.0). A driver for Feisty Fawn's 2.6.20-15 kernel is attached to this page. Copy it to '''/lib/modules/2.6.20-15-generic/kernel/fs/udf/udf.ko'''
+
OR
* A current [http://www.mplayerhq.hu/DOCS/README subversion release of MPlayer]  
+
* A Blu-ray drive.
* A current [http://ffmpeg.mplayerhq.hu/download.html subversion release of FFMPEG]
+
==== Ubuntu 8.04 Hardy Heron ====
 
+
* A UDF 2.5 filesystem driver (the UDF driver included up to 8.04 Hardy Heron only supports UDF 2.0).
 +
==== For 9.04 and earlier ONLY ====
 +
* A current [http://www.mplayerhq.hu/DOCS/README subversion release of MPlayer]
 +
* A current [http://ffmpeg.mplayerhq.hu/download.html subversion release of FFMPEG]. Try [http://packages.medibuntu.org/pool/free/f/ffmpeg/ here] for .deb files.
 +
Ubuntu 9.10 contains a version of Mplayer that is capable of reading decrypted Blu-ray files.
 
Many HD DVD and all Blu-Ray discs use DRM. For these discs, you'll need:
 
Many HD DVD and all Blu-Ray discs use DRM. For these discs, you'll need:
 
* [http://forum.doom9.org/showthread.php?t=123111 DumpHD] to perform the decryption necessary to play the film.
 
* [http://forum.doom9.org/showthread.php?t=123111 DumpHD] to perform the decryption necessary to play the film.
 
* The '''sun-java6-bin''' package. See [[UbuntuHelp:InstallingSoftware|Installing Software]].
 
* The '''sun-java6-bin''' package. See [[UbuntuHelp:InstallingSoftware|Installing Software]].
* A [http://forum.doom9.org/showthread.php?t=120611 current keydb.cfg] file, which contains the decryption keys required to your film.
+
* A current keydb.cfg file, which contains the decryption keys required to your film: keydb.cfg for [http://forum.doom9.org/showthread.php?t=120611 HD-DVDs], [http://forum.doom9.org/showthread.php?t=120988 Blu-Rays].
* Around 30GB of temporary disk space
+
* Around 30GB of temporary disk space for HD-DVDs and 50GB for Blu-Rays.
 
+
=== Easy Alternative ===
 +
As an (easier) alternative to the DumpHD method, you can try the MakeMKV program (www.makemkv.com). This program contains a decryption key that has not been revoked, and may have more success in ripping your disc. Some say this is not the best solution, however, because the main backend of the program is closed-source, and MakeMKV is not as advanced at removing the BD+ protection on certain discs. Using MakeMKV, however, is easier than using DumpHD and often less complicated.
 +
A guide to easily initialising and watching Blu-ray discs with MakeMKV can be found here: http://themediaviking.com/software/bluray-linux/
 
=== Playing the Movie ===
 
=== Playing the Movie ===
 +
<ol><li>Put an HD-DVD or Blu-Ray disc in the drive. The disc should appear on the Gnome desktop.</li></ol>
  
  1. Put an HD-DVD or Blu-Ray disc in the drive. The disc should appear on the Gnome desktop.
+
https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD?action=AttachFile&do=get&target=hddvd_mounted_small.png
+
1.#2 If using HD-DVD, try and play the disc. R&B Films, Fox Pathe/Studio Canal, EMS GmbH and other studios produce HD DVD discs without DRM, allowing them to be played without any of the restrictions mentioned above. The films content is in .EVO files in the 'HDDVD_TS' folder on the disc. Specify the video codec to use:
attachment:hddvd_mounted_small.png
+
 
+
 
+
  1.#2 If using HD-DVD, try and play the disc. R&B Films, Fox Pathe/Studio Canal, EMS GmbH and other studios produce HD DVD discs without DRM, allowing them to be played without any of the restrictions mentioned above. The films content is in .EVO files in the 'HDDVD_TS' folder on the disc. Specify the video codec to use:
+
 
<pre><nowiki>
 
<pre><nowiki>
 
mplayer -vc ffvc1 /media/KING_KONG/HVDVD_TS/FEATURE*EVO
 
mplayer -vc ffvc1 /media/KING_KONG/HVDVD_TS/FEATURE*EVO
</nowiki></code>
+
</nowiki></pre>
 
+
 
If you're not watching a movie at this point, the disc needs to be decrypted.
 
If you're not watching a movie at this point, the disc needs to be decrypted.
 
+
1.#3 DumpHD can decrypt the disc.  Ensure you have a large amount of disk space available (around 30GB, and run):
  1.#3 DumpHD can decrypt the disc.  Ensure you have a large amount of disk space available (around 30GB, and run):
+
 
<pre><nowiki>
 
<pre><nowiki>
sudo java -jar DumpHD.jar
+
sudo ./dumphd.sh
</nowiki></code>
+
</nowiki></pre>
 
+
https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD?action=AttachFile&do=get&target=DumpHDSmall.png
attachment:DumpHDSmall.png
+
 
+
 
Select the disc as the source (a directory somewhere beneath '''/media/''Film Name'' ''' and a directory like '''/tmp''' to save the movie content.
 
Select the disc as the source (a directory somewhere beneath '''/media/''Film Name'' ''' and a directory like '''/tmp''' to save the movie content.
 
 
You can proceed onto the next step once FEATURE_1.EVO has started decrypting.
 
You can proceed onto the next step once FEATURE_1.EVO has started decrypting.
 
+
1.#4 Play the the film from your hard disk. Specify the video codec to use:
  1.#4 Play the the film from your hard disk. Specify the video codec to use:
+
 
<pre><nowiki>
 
<pre><nowiki>
 
mplayer -vc ffvc1 "/tmp/King Kong/HVDVD_TS/FEATURE*EVO"
 
mplayer -vc ffvc1 "/tmp/King Kong/HVDVD_TS/FEATURE*EVO"
</nowiki></code>
+
</nowiki></pre>
 
+
https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD?action=AttachFile&do=get&target=hddvd_playing_small.png
attachment:hddvd_playing_small.png
+
1.#5 If your disc is a Blu-ray and still doesn't work, it might be protected with BD+; it is possible to decrypt it using [http://forum.doom9.org/showthread.php?p=1208974#post1208974 these] tools.
 
+
=== Playback using VDPAU acceleration ===
 
+
Nvidia 8000 series and above, excluding 8800 cards, support Video Decode and Presentation API for Unix (VDPAU). This allows the Nvidia GPU to take on some of the decoding load.
 +
Mplayer in Ubuntu 9.10 supports VDPAU. You will also need the nvidia-185-libvdpau package.
 +
When you have a decrypted Blu-ray/HD-DVD filesystem on your hard disk, you can run the following command:
 +
====== H.264 disc ======
 +
<pre><nowiki>
 +
mplayer -vc ffh264vdpau -vo vdpau ~/BDMV/STREAM/00001.m2ts
 +
</nowiki></pre>
 +
====== VC-1 disc ======
 +
<pre><nowiki>
 +
mplayer -vc ffvc1vdpau -vo vdpau ~/BDMV/STREAM/00001.m2ts
 +
</nowiki></pre>
 +
====== MPEG disc ======
 +
<pre><nowiki>
 +
mplayer -vc ffmpeg12vdpau -vo vdpau ~/BDMV/STREAM/00001.m2ts
 +
</nowiki></pre>
 +
=== Tips ===
 +
Some files require odd workarounds - for instance, the Pirate Of The Caribbean trilogy requires you to specify the frame rate with the "-fps" option (i.e. "-fps 25" for PAL) and may start with the wrong language selected (you can cycle through them by hitting the # key).
 +
Depending on the speed of your computer, you may need to alter the AV Sync during playback, using the - and + keys.
 +
You can go to full-screen in Mplayer by pressing the F key.
 +
You generally get smoother playback without a compositing window manager (so turn off Compiz).
 +
Some discs (like The Boat That Rocked) require the latest Mplayer from SVN.
 
=== Further Reading ===
 
=== Further Reading ===
 
 
[http://www.freedom-to-tinker.com/?p=1104 Freedom to Tinker article on AACS decryption] - A simple explanation of the DRM used in HD DVD and what BackupHDDVD (and BackupHDDVD C++) do.
 
[http://www.freedom-to-tinker.com/?p=1104 Freedom to Tinker article on AACS decryption] - A simple explanation of the DRM used in HD DVD and what BackupHDDVD (and BackupHDDVD C++) do.
 
 
[http://sourceforge.net/tracker/?group_id=295&atid=300295 Linux UDF project] containing ''UDF-2.50_linux-2.6.20.patch''', the UDF 2.5 filesystem driver.
 
[http://sourceforge.net/tracker/?group_id=295&atid=300295 Linux UDF project] containing ''UDF-2.50_linux-2.6.20.patch''', the UDF 2.5 filesystem driver.
 
 
[http://forum.doom9.org/showthread.php?t=121236 Release announcement for BackupHDDVD C++]
 
[http://forum.doom9.org/showthread.php?t=121236 Release announcement for BackupHDDVD C++]
 
 
[http://forum.doom9.org/showthread.php?t=119871&page=54 Doom 9 Forum thread on playing HD DVD disc content with Linux mplayer SVN]
 
[http://forum.doom9.org/showthread.php?t=119871&page=54 Doom 9 Forum thread on playing HD DVD disc content with Linux mplayer SVN]
 
 
[http://en.wikipedia.org/wiki/Advanced_Access_Content_System Wikipedia article on AACS, used to restrict users rights on HD DVD and Blu-Ray]
 
[http://en.wikipedia.org/wiki/Advanced_Access_Content_System Wikipedia article on AACS, used to restrict users rights on HD DVD and Blu-Ray]
 +
[http://bluraysucks.com/ Why you should boycott Blu-ray and HD-DVD]
 +
The Mplayer man page
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

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

Playing Blu-Ray and HD DVD Video

It's possible (although a little cumbersome) to play HD DVD and Blu-Ray films on Ubuntu. BluRayAndHDDVD?action=AttachFile&do=get&target=HDDVDPlayingKingKongSmall.png Audio in some films may not yet be supported. The AACS 'Digital Rights Management' system in most HD-DVD and all Blu-Ray discs attempts to stop consumers from exercising fair use rights, including:

  • Playing purchased Blu-Ray and HD DVD films using Open Source software.
  • Playing films using standard digital (DVI) or analog (VGA) cables and monitors, which generally do not support HDCP DRM, without a 75% reduction in resolution.
  • Fast forwarding or skipping advertisements.
  • Playing imported films, including when local equivalents may be overpriced or not available.

Blu-Ray or HD DVD player applications require their unique player (or 'device') key to play discs. These keys are issued by AACS-LA to approved manufacturers that implement the restrictions above. This player key can decrypt each film's volume key, which in turn can decrypt the film's content to play it. However the AACS DRM is ineffective and does not successfully prevent any of these things.

  • The player key for the xBox 360 HD DVD drive is known publicly, and has around 500,000 results on Google.
  • Player keys for all Windows based software players, such as WinDVD and PowerDVD are known publicly. These can be used to find the volume keys for discs that don't have newer keys than those discovered. While these applications now have new keys (and future HD-DVD and Blu-Ray discs won't play with the old keys), it's likely the new key will be discovered too as all players must store their keys in memory at some point.
  • The volume keys needed to play many released films are known publicly, due to the above. Even without a licensed player key, Linux HD-DVD and Blu-Ray software can use these to play discs.

Legal Notice Patent and copyright laws operate differently depending on which country you are in. Please obtain legal advice if you are unsure whether a particular patent or restriction applies to a media format you wish to use in your country.

Requirements

None of the software below is supplied or endorsed by Ubuntu.

  • An HD DVD drive. The Xbox 360 HD-DVD player works well. Log into Gnome and then plug in the player. DVDs and CDs will work out of the box, HD-DVDs require the additional steps below.

OR

  • A Blu-ray drive.

Ubuntu 8.04 Hardy Heron

  • A UDF 2.5 filesystem driver (the UDF driver included up to 8.04 Hardy Heron only supports UDF 2.0).

For 9.04 and earlier ONLY

Ubuntu 9.10 contains a version of Mplayer that is capable of reading decrypted Blu-ray files. Many HD DVD and all Blu-Ray discs use DRM. For these discs, you'll need:

  • DumpHD to perform the decryption necessary to play the film.
  • The sun-java6-bin package. See Installing Software.
  • A current keydb.cfg file, which contains the decryption keys required to your film: keydb.cfg for HD-DVDs, Blu-Rays.
  • Around 30GB of temporary disk space for HD-DVDs and 50GB for Blu-Rays.

Easy Alternative

As an (easier) alternative to the DumpHD method, you can try the MakeMKV program (www.makemkv.com). This program contains a decryption key that has not been revoked, and may have more success in ripping your disc. Some say this is not the best solution, however, because the main backend of the program is closed-source, and MakeMKV is not as advanced at removing the BD+ protection on certain discs. Using MakeMKV, however, is easier than using DumpHD and often less complicated. A guide to easily initialising and watching Blu-ray discs with MakeMKV can be found here: http://themediaviking.com/software/bluray-linux/

Playing the Movie

  1. Put an HD-DVD or Blu-Ray disc in the drive. The disc should appear on the Gnome desktop.

BluRayAndHDDVD?action=AttachFile&do=get&target=hddvd_mounted_small.png 1.#2 If using HD-DVD, try and play the disc. R&B Films, Fox Pathe/Studio Canal, EMS GmbH and other studios produce HD DVD discs without DRM, allowing them to be played without any of the restrictions mentioned above. The films content is in .EVO files in the 'HDDVD_TS' folder on the disc. Specify the video codec to use:

mplayer -vc ffvc1 /media/KING_KONG/HVDVD_TS/FEATURE*EVO

If you're not watching a movie at this point, the disc needs to be decrypted. 1.#3 DumpHD can decrypt the disc. Ensure you have a large amount of disk space available (around 30GB, and run):

sudo ./dumphd.sh

BluRayAndHDDVD?action=AttachFile&do=get&target=DumpHDSmall.png Select the disc as the source (a directory somewhere beneath /media/Film Name and a directory like /tmp to save the movie content. You can proceed onto the next step once FEATURE_1.EVO has started decrypting. 1.#4 Play the the film from your hard disk. Specify the video codec to use:

mplayer -vc ffvc1 "/tmp/King Kong/HVDVD_TS/FEATURE*EVO"

BluRayAndHDDVD?action=AttachFile&do=get&target=hddvd_playing_small.png 1.#5 If your disc is a Blu-ray and still doesn't work, it might be protected with BD+; it is possible to decrypt it using these tools.

Playback using VDPAU acceleration

Nvidia 8000 series and above, excluding 8800 cards, support Video Decode and Presentation API for Unix (VDPAU). This allows the Nvidia GPU to take on some of the decoding load. Mplayer in Ubuntu 9.10 supports VDPAU. You will also need the nvidia-185-libvdpau package. When you have a decrypted Blu-ray/HD-DVD filesystem on your hard disk, you can run the following command:

H.264 disc
mplayer -vc ffh264vdpau -vo vdpau ~/BDMV/STREAM/00001.m2ts
VC-1 disc
mplayer -vc ffvc1vdpau -vo vdpau ~/BDMV/STREAM/00001.m2ts
MPEG disc
mplayer -vc ffmpeg12vdpau -vo vdpau ~/BDMV/STREAM/00001.m2ts

Tips

Some files require odd workarounds - for instance, the Pirate Of The Caribbean trilogy requires you to specify the frame rate with the "-fps" option (i.e. "-fps 25" for PAL) and may start with the wrong language selected (you can cycle through them by hitting the # key). Depending on the speed of your computer, you may need to alter the AV Sync during playback, using the - and + keys. You can go to full-screen in Mplayer by pressing the F key. You generally get smoother playback without a compositing window manager (so turn off Compiz). Some discs (like The Boat That Rocked) require the latest Mplayer from SVN.

Further Reading

Freedom to Tinker article on AACS decryption - A simple explanation of the DRM used in HD DVD and what BackupHDDVD (and BackupHDDVD C++) do. Linux UDF project containing UDF-2.50_linux-2.6.20.patch', the UDF 2.5 filesystem driver. Release announcement for BackupHDDVD C++ Doom 9 Forum thread on playing HD DVD disc content with Linux mplayer SVN Wikipedia article on AACS, used to restrict users rights on HD DVD and Blu-Ray Why you should boycott Blu-ray and HD-DVD The Mplayer man page