Consecutive whitespace in SRT subtitles suddenly ignored?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Techflaws
Blank Cone
Blank Cone
Posts: 18
Joined: 09 Sep 2011 07:43

Consecutive whitespace in SRT subtitles suddenly ignored?

Postby Techflaws » 09 Feb 2013 14:08

This has changed only recently but as with HTML, VLC suddenly only shows one whitespace between characters, even if the item has more.

Code: Select all

1 00:00:02,631 --> 00:00:03,915 T H A T G R E A T S H O W
is displayed as

Code: Select all

T H A T G R E A T S H O W
which is quite unreadable. While this may seem cosmetic, there are some subs where horizontal positioning is necessary, e.g. when several people are talking at once:

Code: Select all

22 00:00:44,638 --> 00:00:46,087 - Are you guys sure? - Yes. - Nope.
Would be nice if VLC would display these as before (in version 2.01 for example) and as all my standalones.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Postby Jean-Baptiste Kempf » 09 Feb 2013 17:53

Disable rich text subtitles in prefs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Techflaws
Blank Cone
Blank Cone
Posts: 18
Joined: 09 Sep 2011 07:43

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Postby Techflaws » 11 Feb 2013 11:53

Where do I find this setting? Preferences > all > search > "rich" turns up nothing. Browsing Perferences > Subtitles/OSD turns up Input Codecs > Subtitle Codecs > Subtitles > Formatted subtitles which when unchecked indeed shows consecutive whitespace but - as the name implies - ignores <b>, <i>, etc.

And why was the default setting change in the first place? I haven't changed any of these settings manuall and I always delete all settings when installing a new version of VLC. Thx.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Postby Jean-Baptiste Kempf » 11 Feb 2013 16:02

Of course, because spaces in HTML are supposed to be condensed.

So either you get b, i, u or you get non-condensed spaces.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Techflaws
Blank Cone
Blank Cone
Posts: 18
Joined: 09 Sep 2011 07:43

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Postby Techflaws » 12 Feb 2013 17:59

I guess I've always considered it a not really specifed plain-text format so when extending it with HTML tags why add condensed spaces which are completely pointless in SRT (and sucked in HTML, like forever)? Oh, well.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Consecutive whitespace in SRT subtitles suddenly ignored

Postby Jean-Baptiste Kempf » 12 Feb 2013 18:47

Use HTML entities
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests