Difference between revisions of "DVD Playing"

From ArchWiki
Jump to: navigation, search
(19 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category:Audio/Video]]
+
#REDIRECT [[Optical_Disc_Drive#DVD_playing]]
[[Category:Optical]]
+
{{i18n|DVD Playing}}
+
[[fr:Lecture DVD]]
+
{{Article summary start}}
+
{{Article summary text|An introduction to playing DVD-Video.}}
+
{{Article summary heading|Series}}
+
{{Article summary wiki|DVD Playing}}
+
{{Article summary wiki|DVD Ripping}}
+
{{Article summary wiki|DVD Burning}}
+
{{Article summary heading|Related}}
+
{{Article summary wiki|Codecs}}
+
{{Article summary wiki|MPlayer}}
+
{{Article summary end}}
+
 
+
DVD, also known as Digital Versatile Disc or Digital Video Disc, is an optical disc storage media format used for video and data storage.[http://en.wikipedia.org/wiki/DVD]
+
 
+
==Requirements==
+
If you wish to play encrypted DVDs, you must install the libdvd* packages:
+
* {{Pkg|libdvdread}}
+
* {{Pkg|libdvdcss}}
+
* {{Pkg|libdvdnav}}
+
 
+
Additionally, you must install player software. Popular DVD players are [[MPlayer]], [[Wikipedia:Xine|xine]] and [[Wikipedia:VLC|VLC]].
+
 
+
{{Tip|Users may need to belong to the {{ic|optical}} [[Users and Groups|group]] to be able to access the DVD drive. To add {{ic|USERNAME}} to the {{ic|optical}} group, run the following:
+
# gpasswd -a USERNAME optical
+
Do not forget to log the user out and back in for the changes to take effect. You can see your user's current groups with {{ic|groups}} command.}}
+
 
+
==DVD players==
+
See also: [[Common Applications#Video]]
+
 
+
===MPlayer===
+
[[MPlayer]] is efficient and supports a wide variety of media formats (i.e. almost everything). To play a DVD with MPlayer:
+
$ mplayer dvd://N
+
 
+
...where N is the desired chapter number. Start at 1 and work up if unsure.
+
 
+
Mplayer checks {{ic|/dev/dvd}} by default. Tell it to use {{ic|/dev/sr0}} with the {{ic|dvd-device}} option at the command line, or the {{ic|dvd-device}} variable in {{ic|~/.mplayer/config}}.
+
 
+
To play a DVD image file:
+
$ mplayer -dvd-device movie.iso dvd://N
+
 
+
To enable the DVD menu use (NOTE: you use arrow keys to navigate and the {{Keypress|Enter}} key to choose):
+
$ mplayer dvdnav://
+
 
+
To enable mouse support in DVD menus use:
+
$ mplayer -mouse-movements dvdnav://
+
 
+
To find the audio language, start MPlayer with the {{ic|-v}} switch to output audio IDs. An audio track is selected with {{ic|-aid <audio_id>}}. Set a default audio language by editing {{ic|~/.mplayer/config}} and adding the line {{ic|1=alang=en}} for English.
+
 
+
With MPlayer, the DVD could be set to a low volume. To increase the maximum volume to 400%, use {{ic|1=softvol=yes}} and {{ic|1=softvol-max=400}}. The startup volume defaults to 100% of software volume and the global mixer levels will remain untouched. Using the 9 and 0 keys, volume can be adjusted between 0 and 400 percent.
+
  alang=en
+
  softvol=yes
+
  softvol-max=400
+
 
+
[http://www.mplayerhq.hu/ MPlayer home page]
+
 
+
===VLC===
+
A capable player with a simple GUI, provided by the {{Pkg|vlc}} package.
+
 
+
[http://www.videolan.org/vlc VLC home page]
+
 
+
{{Tip|1=To make VLC the default DVD player in [[GNOME]], edit {{ic|/usr/share/applications/vlc.desktop}} and at the bottom of the file, add the following:
+
{{bc|1=MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;application/x-matroska;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;}}
+
 
+
Then, as root, run:
+
# update-desktop-database /usr/share/applications
+
 
+
Finally, open '''System > Preferences >> File Management >>> Media''' and next to '''DVD Video''' select '''Open VLC media player'''.}}
+
 
+
===xine===
+
A lightweight media player supporting DVD menus.
+
 
+
[http://www.xine-project.org/ xine home page]
+
 
+
==Troubleshooting==
+
 
+
===DVD drive is noisy===
+
If playing DVD videos causes the system to be very loud, it may be because the disk is spinning faster than it needs to. To temporarily change the speed of the drive, as root, run:
+
# eject -x 12 /dev/dvd
+
 
+
sometimes:
+
# hdparm -E12 /dev/dvd
+
 
+
Any speed that is supported by the drive can be used, or 0 for the maximum speed.
+
 
+
[http://hektor.umcs.lublin.pl/~mikosmul/computing/tips/cd-rom-speed.html Setting CD-ROM and DVD-ROM drive speed]
+

Revision as of 18:07, 22 July 2013