Re: subtitles not being displayed in vlc but being displayed…

Página superior

Responder a este mensaje
Autor: shirish शिरीष
Fecha:  
A: Ariel
Cc: Debian-multimedia-maintainers
Asunto: Re: subtitles not being displayed in vlc but being displayed in dragon player
In-line :-

On Wed, Feb 15, 2012 at 16:40, Ariel <asmarillat@???> wrote:
>
> I edited your message to leave in only the errors that are related.


Thank you Ariel.

> Basically your locale is set wrong. It appears to be set to a blank string?


How were you able to get that ?

> I'm not sure what you need to do to fix it, but at least you know what to
> check.
>
> Also, please investigate the --subsdec-encoding option to vlc to explicitly
> tell it what character encoding your subtitle file is using.


It was not apparent via vlc --help but did get it after trawling through vlc -H

--subsdec-encoding
{,UTF-8,UTF-16,UTF-16BE,UTF-16LE,GB18030,ISO-8859-15,Windows-1252,ISO-8859-2,Windows-1250,ISO-8859-3,ISO-8859-10,Windows-1251,KOI8-R,KOI8-U,ISO-8859-6,Windows-1256,ISO-8859-7,Windows-1253,ISO-8859-8,Windows-1255,ISO-8859-9,Windows-1254,ISO-8859-11,Windows-874,ISO-8859-13,Windows-1257,ISO-8859-14,ISO-8859-16,ISO-2022-CN-EXT,EUC-CN,ISO-2022-JP-2,EUC-JP,Shift_JIS,CP949,ISO-2022-KR,Big5,ISO-2022-TW,Big5-HKSCS,VISCII,Windows-1258}
                                 Subtitles text encoding
          Set the encoding used in text subtitles
      --subsdec-autodetect-utf8, --no-subsdec-autodetect-utf8
                                 UTF-8 subtitles autodetection (default enabled)
          This enables automatic detection of UTF-8 encoding within
subtitles files. (default enabled)


I see/saw that vlc configuration file is kept in .config/vlc/vlcrc
file. These are things I saw in there (just taking the ones which
would be interesting to what I'm looking for) :-

# Subtitles format (string)
#sub-type=auto

This I guess should be commented out.

[subsdec] # Text subtitles decoder

# Subtitles justification (integer)
#subsdec-align=0

# Subtitles text encoding (string)
subsdec-encoding=UTF-16

# UTF-8 subtitles autodetection (boolean)
#subsdec-autodetect-utf8=1

# Formatted Subtitles (boolean)
#subsdec-formatted=1

The file in question is an SRT

https://en.wikipedia.org/wiki/SRT_file_extension

and using file it told me its a ISO-8859 text

$ file somefilename.srt
somefilename.srt: Pascal source, ISO-8859 text, with CRLF line terminators

Ok, so please lemme know if the subtitle encoding could be set something like :-

subsdec-encoding=UTF-16,ISO-8859 or it has to choose ?

>        -Ariel


--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17