I have written a shell script called dvdmovie to play the main movie from a video DVD using MPlayer. The script looks for the longest title on the DVD using MPlayer's -identify option. The longest title is then played. Additional MPlayer options can be specified on the command line.
dvdmovie looks looks for a configuration file called .dvdmovierc in the user's home directory. If it is found, DVD specific settings are read from it.
NOTE: The .dvdmovierc format changed on 2012-09-07 from using : (colon) as field separator to using ; (semicolon) to support MPlayer suboptions. You can convert your .dvdmovierc with GNU sed:
sed -i 'y/:/;/' $HOME/.dvdmovierc
dvdmovie dvdmovie -dvd-device DVD.img dvdmovie -alang fr -slang de
$ dvdmovie Looking for movie title on DVD, this can take some time...done. Longest title on DVD A19692A78DD467BBE9E923963E561558 is no. 3 (75 min.). Adding options -alang es -sid 1 from /home/auerswald/.dvdmovierc. Playing DVD title 3 with options -really-quiet -alang es -sid 1. $ dvdmovie -ao alsa:device=hw=1 Looking for movie title on DVD, this can take some time...done. Longest title on DVD A75C41BB787AD7E3579077E5C5FD6799 is no. 1 (118 min.). Using title 2 from /home/auerswald/.dvdmovierc instead. Adding options -ao alsa:device=hw=1 from command line. Playing DVD title 2 with options -really-quiet -ao alsa:device=hw=1.
mplayer dvd://TITLE, e.g.
mplayer dvd://3for title number 3. The dvdmovie script above does this automatically.
mplayer -mouse-movements dvdnav://The option -mouse-movements allows you to use the mouse for menu navigation.
I have written some patches for MPlayer to improve DVD playback.
back to my homepage.