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