Blank spaces in SRT subtitles

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
dualsub
New Cone
New Cone
Posts: 2
Joined: 08 Sep 2013 23:25

Blank spaces in SRT subtitles

Postby dualsub » 09 Sep 2013 00:42

Hello,

I am currently developing a tool which merges two SRT files in a single one. The idea is to visualize two different subtitles and the same time, typically one in English and in another language. For people which English is not mother tongue, this could be an opportunity to learn some English while watching movies or series. The name of my tool will be "DualSub", and I am going to release it as open source on SourceForge very soon.

I am testing the merged subtitles with VLC. With VLC 1.x the result is as expected:

Image

Notice that I am using blank spaces to separate left and right subtitles, and a also a the character '·' to split both zones.

The problem I found is that from VLC 2.x, repeated blank spaces are trimmed, even if these spaces are in the middle of the subtitle entries:

Image

This behaviour is the same for VLC 2.x in Windows, Linux, and Mac OS X.

I search in the subtitle configuration if it is possible to disable this space trimming behaviour, but I did not find such configuration parameter (even in the advance configuration settings).

Would it be possible to configure VLC 2.x to show subtitles without trimming blank spaces, just like VLC 1.x?

Thank you very much in advance!

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: Blank spaces in SRT subtitles

Postby Jean-Baptiste Kempf » 09 Sep 2013 01:26

It is not possible. Use \h for hard 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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 116 guests