Mplayer is one of most known movie players in Linux, and also in Mac OS, and Windows.
To install it in Debian / Ubuntu run:
sudo aptitude install mplayer
Mplayer has lots of options, and we will explore some of them here, the files format it can play according to its official site are:
MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV movies..
Playing your music/video files
If you want to play your local files just use this command line
Yes you can put multiple files and they will be played in sequence, you can also use wildcards, lets suppose you have a directory with all Beatles' hits, just go to that directory and enter:
Now if you want to repeat a file multiple times enter
mplayer file1 -loop 2 file2 -loop 1 file3 -loop5
Here you will play file1 2 times file2 one time and file3 5 times, if you want to repeat all files the same amount of times use:
mplayer -loop 5 file1 file2 file3
This will play file1, file2 and file3 5 times, if you use the
-loop parameter with 0, you will play the specified files in an infinite loop.
To play a standard DVD the syntax is as follow: