Most people use Emacs to listen to songs, but I like to use Emacs to watch movies. It's so convenient to watch a movie with Emms and MPlayer.
Do not install Emms from the source, it may give you to install other players, no need, we have mplayer enough. Download from Emms's home page, and then compile and install Emms.
Then add the following configuration in. Emacs:
( require ' Emms-setup) (Emms-standard) (setq emms-player-list ' (emms-player-mplayer) Emms-player-mplayer-command-name"MPlayer" Emms-player-mplayer-parameters ' ("-slave")) (setq emms-repeat-playlist nil emms-source-file-default-directory"/data/music/" Emms-lyrics-dir "/data/music/" Emms-lyrics-coding-system nil emms-playlist-buffer-name "*EMMS*") (Global-set-key (KBD"C-c e G") ' Emms-play-directory ' (Global-set-key (KBD"C-c e D") ' emms-play-dired ' (Global-set-key (KBD"C-c e V") ' Emms-playlist-mode-go ' (Global-set-key (KBD"C-c e X") ' Emms-start ' (Global-set-key (KBD"C-c e SPC") ' Emms-pause ' (Global-set-key (KBD"C-c e S") ' Emms-stop ' (Global-set-key (KBD"C-c e N") ' Emms-next ' (Global-set-key (KBD"C-c e P") ' Emms-previous)
My Emms setup is simple, I just pass it to tune with MPlayer listen to the movie, do not need to read the words and other functions. I would like to say that with Emms + MPlayer + dired can be very convenient to see the disc.
Through the dired to open video records, such as there is a folder Schindler name , inside there are 4 media documents: Schindler CD1.avi, Schindler name CD2.avi, Schindler List Cd3.avi, Schindler name Cd4.avi. All I need to do is stop the light on the Schindler 's List folder, press C-c e D, adjust the emms-play-dired function, and create the playlist automatically, MPlayer play the 4 files in order.
For example, there is a video clip of the player , there are 36 episodes, I would like to see 10-12 episodes today, using dired into the Mobile folder, with M in 10-12 sets to mark, and then press c-c e D, MPlayer will play 10-12 episodes.
See a movie with Emacs