DVD Playing

From ArchWiki
Revision as of 16:07, 6 September 2009 by Syn (talk | contribs) (Uncommented "pacman -S libdvdread libdvdcss libdvdnav")
Jump to navigation Jump to search


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

Playback Video

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

You will of course need to install the libdvd packages if you want to play encrypted DVDs

 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.

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.

 alang=en
 softvol=yes
 softvol-max=400

gmplayer

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

Xine

A good GUI player which works quite well on slower computers and supports menus.

VLC

A capable player which supports menus, installed with

pacman -S vlc

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.