comparison DOCS/mplayer.1 @ 7241:283561e2bef5

better subfont description, moved to the write place
author jonas
date Mon, 02 Sep 2002 00:34:20 +0000
parents 81eb93508042
children 8bafdfe945b4
comparison
equal deleted inserted replaced
7240:a1ae7d811e35 7241:283561e2bef5
762 0.75 very narrow black outline [default] 762 0.75 very narrow black outline [default]
763 1 narrow black outline 763 1 narrow black outline
764 10 bold black outline 764 10 bold black outline
765 .TP 765 .TP
766 .B \-font <path\ to\ font.desc\ file> 766 .B \-font <path\ to\ font.desc\ file>
767 Search for the OSD/SUB fonts in an alternative directory (default: 767 Search for the OSD/SUB fonts in an alternative directory (default for normal
768 ~/.mplayer/font/font.desc). 768 fonts: ~/.mplayer/font/font.desc, default for FreeType fonts:
769 ~/.mplayer/subfont.ttf).
769 .br 770 .br
770 .I NOTE: 771 .I NOTE:
771 With FreeType, this option determines path to the text font file, 772 With FreeType, this option determines path to the text font file.
772 .br 773 .br
773 .I NOTE: 774 .I NOTE:
774 The \-subfont-* options are available only with FreeType support compiled in. 775 The \-subfont-* options are available only with FreeType support compiled in.
776 If FreeType support is enabled, the old font support can't be used.
775 777
776 .I EXAMPLE: 778 .I EXAMPLE:
777 \-font ~/.mplayer/arial\-14/font.desc 779 \-font ~/.mplayer/arial\-14/font.desc
778 \-font ~/.mplayer/my_cool_font.ttf 780 \-font ~/.mplayer/arialuni.ttf
779 .TP
780 .B \-subfont-encoding <value>
781 Sets the font encoding. When set to "unicode", all the glyphs from the
782 font file will be rendered and unicode will be used. This is also the
783 default setting.
784 .TP
785 .B \-subfont-text-scale <0\-100>
786 Sets the subtitle text autoscale coefficient (percentage of the
787 screen size).
788 .TP
789 .B \-subfont-osd-scale <0\-100>
790 Sets the osd elements autoscale coefficient.
791 .TP
792 .B \-subfont-blur <0\-8>
793 Sets the font blur radius.
794 .TP
795 .B \-subfont-outline <0\-8>
796 Sets the font outline thickness.
797 .TP
798 .B \-subfont-autoscale <0\-3>
799 Sets the autoscale mode. Can be:
800
801 0 no autoscale
802 1 proportional to movie width
803 2 proportional to movie height
804 3 proportional to movie diagonal (default)
805
806 Zero means that text-scale and osd-scale are font heights in points.
807 .TP 781 .TP
808 .B \-noautosub 782 .B \-noautosub
809 Turns off automatic subtitles. 783 Turns off automatic subtitles.
810 .TP 784 .TP
811 .B \-osdlevel <0\-2> (MPLAYER only) 785 .B \-osdlevel <0\-2> (MPLAYER only)
846 .B \-sub\-demuxer <number> (BETA CODE) 820 .B \-sub\-demuxer <number> (BETA CODE)
847 Force subtitle demuxer type for \-subfile. 821 Force subtitle demuxer type for \-subfile.
848 .TP 822 .TP
849 .B \-subdelay <sec> 823 .B \-subdelay <sec>
850 Delays subtitles by <sec> seconds. Can be negative. 824 Delays subtitles by <sec> seconds. Can be negative.
825 .TP
826 .B \-subfont-autoscale <0\-3>
827 Sets the autoscale mode. Can be:
828
829 0 no autoscale
830 1 proportional to movie width
831 2 proportional to movie height
832 3 proportional to movie diagonal (default)
833
834 Zero means that text-scale and osd-scale are font heights in points.
835 .TP
836 .B \-subfont-blur <0\-8>
837 Sets the font blur radius (default: 2).
838 .TP
839 .B \-subfont-encoding <value>
840 Sets the font encoding. When set to "unicode", all the glyphs from the
841 font file will be rendered and unicode will be used (default: unicode).
842 .TP
843 .B \-subfont-osd-scale <0\-100>
844 Sets the osd elements autoscale coefficient (default: 6).
845 .TP
846 .B \-subfont-outline <0\-8>
847 Sets the font outline thickness (default: 2).
848 .TP
849 .B \-subfont-text-scale <0\-100>
850 Sets the subtitle text autoscale coefficient (percentage of the
851 screen size) (default: 5).
851 .TP 852 .TP
852 .B \-subfps <rate> 853 .B \-subfps <rate>
853 Specify frame/sec rate of subtitle file (float number), 854 Specify frame/sec rate of subtitle file (float number),
854 default: the same fps as the movie. 855 default: the same fps as the movie.
855 .br 856 .br