view DOCS/SUB+OSD @ 1347:448d1bf28f5a

Solaris 2.6 and older do not support MAP_ANON, just fail the mmap MAP_ANON attempt on such a system. The code tries mmap with /dev/zero and MIT-shm next. Fix a possible filedesc leak, when the code tries to mmap shared memeory via /dev/zero. Reuse the already open /dev/zero from a previous shmem_alloc call. (same change; now without changing the indentation of the code)
author jkeil
date Thu, 19 Jul 2001 20:32:13 +0000
parents 3d25c0f8daa6
children 6435106db259
line wrap: on
line source

SUBTITLES
---------
Yes, mplayer also supports many kinds of subtitles. Currently (2001/06/01)
7 kinds of subtitle can be used by the subreader code. To see what are
these subtitle formats, see subreader.c, line ~20.

Subtitles are displayed with a technique called 'OSD', On Screen Display.
OSD is used to display current time, volume bar, seek bar etc.


INSTALLING OSD and SUB
-------
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ NOTE: OSD and SUBTITLES are NOT enabled by default! You have to        @
@ download fonts from mplayer's download page                            @
@  mplayer.sourceforge.net/homepage/dload.html                           @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Standard (Central-European, Latin1) font package:
	http://thot.banki.hu/mp-ftp/releases/mp_font3.zip
	(it obsoletes mp_font1.zip and mp_font2.zip)

Cyrillic fonts:
	http://thot.banki.hu/mp-ftp/releases/bgfont.zip

And visit this site for korean subtitle support:
	http://realtime.ssu.ac.kr/~lethean/mplayer
	
After that, UNZIP the files to ~/.mplayer/font/
Now you have to see a clock at the upper left corner of the movie
(switch it off with 'o')

OSD has 3 states: (switch with 'o')
    - clock + volume bar + seek bar + sub     (default)
    - volume bar + seek bar + sub
    - only sub