diff options
author | wm4 <wm4@nowhere> | 2015-08-01 23:51:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-02 00:03:29 +0200 |
commit | a74914a05762f03422b492c8d3b2f9e35840708f (patch) | |
tree | fd19d12459ea926930ef9d5808be99f9f5cd2eec /DOCS/man/options.rst | |
parent | 11f2be2bcc264aa4f24cdad036231e34d09f5630 (diff) | |
download | mpv-a74914a05762f03422b492c8d3b2f9e35840708f.tar.bz2 mpv-a74914a05762f03422b492c8d3b2f9e35840708f.tar.xz |
charset_conv: add uchardet support
For now, it needs to be explicitly selected. ENCA is still the default.
This assumes uchardet returns iconv names. This doesn't seem to be
always the case, and the result are lots of iconv errors. So
explicitly check for this situation, and print a warning if it
occurs. It's entirely possible that uchardet support is actually
useless, because names are not necessarily iconv-compatible (but
uchardet doesn't seem to document whether it attempts to return
iconv-compatible names if possible).
Fixes #908.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index da40cadb97..72fc74108b 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1491,6 +1491,12 @@ Subtitles mode. Use ``--sub-codepage=guess:help`` to get a list of languages subject to the same caveat as with ENCA above. + If the player was compiled with uchardet support you can use it with: + + ``--sub-codepage=uchardet`` + + This mode doesn't take language or fallback codepage. + ``--sub-fix-timing``, ``--no-sub-fix-timing`` By default, external text subtitles are preprocessed to remove minor gaps or overlaps between subtitles (if the difference is smaller than 200 ms, |