Difference between revisions of "DVD Playing"

From ArchWiki
Jump to: navigation, search
m (More aesthetic fixes.)
Line 22: Line 22:
  
 
===mplayer===
 
===mplayer===
Mplayer is efficient and not heavy on the system requirements. There isn't much that can't be played with this program. To play a DVD with mplayer
+
MPlayer is efficient and not heavy on the system requirements. There isn't much that can't be played with this program. To play a DVD with MPlayer
 
   mplayer dvd://N
 
   mplayer dvd://N
 
''Where N is the chapter that you want to play, start at 1 and work your way up if you are not too sure.''
 
''Where N is the chapter that you want to play, start at 1 and work your way up if you are not too sure.''
  
To play a dvd image file:
+
To play a DVD image file:
 
   mplayer -dvd-device movie.iso dvd://N
 
   mplayer -dvd-device movie.iso dvd://N
 
To play a loopback mounted image (shouldn't be needed, use the above)
 
To play a loopback mounted image (shouldn't be needed, use the above)
Line 33: Line 33:
 
   # as a user
 
   # as a user
 
   mplayer -dvd-device /mnt/dvd dvd://N
 
   mplayer -dvd-device /mnt/dvd dvd://N
To find your audio language you can start mplayer with the '''-v''' switch and it will output audio IDs. You can make use of any auido track with '''-aid <audio_id>'''. You can set a default audio language by editing ''~/.mplayer/config'' and adding the line ''alang=en'' for english.  
+
To find your audio language you can start MPlayer with the '''-v''' switch and it will output audio IDs. You can make use of any auido track with '''-aid <audio_id>'''. You can set a default audio language by editing ''~/.mplayer/config'' and adding the line ''alang=en'' for english.  
  
DVDs can have volume too low. To increase the maximum volume to 400% use ''softvol=yes'' and ''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.
+
With MPlayer, the DVD could be set with a low volume. To increase the maximum volume to 400% use ''softvol=yes'' and ''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
 
   alang=en
 
   softvol=yes
 
   softvol=yes
Line 57: Line 57:
  
 
====VLC in GNOME====
 
====VLC in GNOME====
 
 
To make VLC the default DVD player in GNOME edit ''/usr/share/applications/vlc.desktop'' and at the bottom of the file add:
 
To make VLC the default DVD player in GNOME edit ''/usr/share/applications/vlc.desktop'' and at the bottom of the file add:
 
  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;
 
  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;

Revision as of 16:29, 6 September 2009

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n links end

Video Playback

Some popular programs to play DVDs are mplayer, Xine and VLC. Xine and VLC support DVD menus where mplayer will play any title you specify.

You will need to add your user to the group 'optical' to be able to access your DVD drive, if you have not done so already:

 gpasswd -a USERNAME optical

libdvd Install

If you wish to play encrypted DVDs, you must install the libdvd packages.

They are installed with:

 pacman -S libdvdread libdvdcss libdvdnav

mplayer

MPlayer is efficient and not heavy on the system requirements. There isn't much that can't be played with this program. To play a DVD with MPlayer

 mplayer dvd://N

Where N is the chapter that you want to play, start at 1 and work your way up if you are not too sure.

To play a DVD image file:

 mplayer -dvd-device movie.iso dvd://N

To play a loopback mounted image (shouldn't be needed, use the above)

 # as root
 mount -o loop movie.iso /mnt/dvd
 # as a user
 mplayer -dvd-device /mnt/dvd dvd://N

To find your audio language you can start MPlayer with the -v switch and it will output audio IDs. You can make use of any auido track with -aid <audio_id>. You can set a default audio language by editing ~/.mplayer/config and adding the line alang=en for english.

With MPlayer, the DVD could be set with a low volume. To increase the maximum volume to 400% use softvol=yes and 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

MPlayer Homepage

gmplayer

The GUI version of mplayer is not quite as powerful as the console version, but still efficient.

xine

A lightweight media player. It has a GUI and supports menus.

xine Homepage

VLC

A capable player with a GUI, installed with:

pacman -S vlc

VLC Homepage

VLC in GNOME

To make VLC the default DVD player in GNOME edit /usr/share/applications/vlc.desktop and at the bottom of the file add:

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

Open System>>Preferences>>File Management>>Media and next to DVD Video select Open VLC media player

Backing up Video

See Make backup of DVD Video or use k9copy or dvdshrink under wine for the easy way out.

DVD Writing

See DVD writing.