From a74914a05762f03422b492c8d3b2f9e35840708f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 1 Aug 2015 23:51:51 +0200 Subject: 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. --- DOCS/man/options.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'DOCS/man/options.rst') 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, -- cgit v1.2.3