Mercurial > mplayer.hg
view DOCS/tech/subcp.txt @ 28703:439de22fe1c0
r27801 Clarify screenw/screenh options, patch by Christian Ohm, chr.ohm gmx net.
r27872 Add a few more supported URL protocols
r27895 Fix typo in psy-rd x264 option description.
r27906 document x264's option subq=0, plus a bit of factoring and added details
r27973 add direct3d docs, ok'd by Guillaume
r27979 Make description of the option more clear
r28056 Add a note about some known issues with -vo sdl
r28095 Document missing vo_gl suboptions
r28096 Using rectangle=2 for vo_gl is probably a good idea nowadays.
r28126 Add support for writing PNG files with alpha channel in -vo png
author | kraymer |
---|---|
date | Thu, 26 Feb 2009 23:32:37 +0000 |
parents | ef3af71f0113 |
children | 0f1b5b68af32 |
line wrap: on
line source
Ascii Subtitle / Font CODEPAGEs =============================== The subtitle encoding issue seems a bit confusing, so I'll try to summarize it here. There are 2 approaches: 1. (preferred) You can generate Unicode subtitles with: subfont --unicode <signle-byte encoding known by iconv> ... or subfont --unicode <path to custom encoding file> ... (this custom encoding file could list all iso-8859-* characters to create single font file for common encodings) and then run mplayer this way (-subcp and -utf8 expect Unicode font!): mplayer -subcp <any encoding known by iconv> ... or mplayer -utf8 ... 2. (current) Generate subtitles for some specific encoding with: subfont <signle-byte encoding known by iconv> ... or subfont <path to custom signle-byte or EUC encoding file> ... and then run mplayer without any encoding options for signle-byte encodings, or with -unicode option for EUC (and the like) encodings (which is only partially implemented in mplayer). AFAIK, CJK encodings: EUC-*, BIG5 and GB2312 work more or less this way: - 0x8e (SINGLE-SHIFT TWO, SS2) begins a 2-byte character, - 0x8f (SINGLE-SHIFT THREE, SS3) begins a 3-byte character, - 0xa0-0xff begin 2-byte characters, - other characters are single-byte. I tested charmap2enc script only with /usr/share/i18n/charmaps/EUC-KR.gz (on RedHat). It wasn't intended to be perfect. -- Artur Zaprzala