mplayer and multilanguage .SRT subtitles

how to automatically use multiple .srt subtitle files with mplayer..

first of all, make sure your movie and subtitle files are named like this:

path/to/My_Movie.avi

path/to/My_Movie.de.srt
path/to/My_Movie.en.srt

 

by default mplayer will autoload your subtitles only if the file is named exactly like the movie (except the extension of course)

to change this and use the .de. and .en. variations run mplayer with the -sub-fuzziness 1 flag!

in case of subtitles using special characters use the -subcp latin2 (or whatever is your codepage) flag.

use the [J] key to cycle through the available subtitles.

 

other keys concerning subtitles:

[v]   Toggle subtitle visibility.
[j]   Cycle through the available subtitles.
[y] and [g]   Step forward/backward in the subtitle list.
[a]   Toggle subtitle alignment: top / middle / bottom.
[x] and [z]   Adjust subtitle delay by +/- 0.1 seconds.
[r] and [t]   Move subtitles up/down.

 

relevant ~/.mplayer/config entries:

sub-fuzziness=1
subcp=latin2

 

also make sure you have ~/.mplayer/subfont.ttf pointing to a font you'd like to use for displaying subtitles.

there's a bunch of more options, check `man mplayer` for those though ;-)