Subtitle lines collapsing? (SRT)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Devore
New Cone
New Cone
Posts: 4
Joined: 24 Sep 2013 01:13

Subtitle lines collapsing? (SRT)

Postby Devore » 24 Sep 2013 01:27

I've done a bit of searching around for this, and haven't found anything similar, so either I am doing something wrong, repeatedly, or other's don't mind/care.

Using latest version of VLC, on Windows, with no special settings or other weird uses. This problem is not version specific, I've noticed it happening for a while. If memory serves me right, this did not used to happen, once upon a time, but my memory is hazy.

I am using SRT subtitles, and noticed a couple odd behaviours.

When a subtitle entry has 3 lines, they will sometimes get collapsed into 2 lines. Not sure why, or what the criteria might be. It's not a huge deal, but often a separate line means it is a separate piece of dialogue, spoken by a different character. So this is a problem, but the actual problem is that when this collapsing happens on a subtitle that is in italics, there will be no space inserted between the two collapsed lines, whereas when there is no markup, there is a space. This makes the subtitles look like a real mistake.

The second problem is alignment. I have the subtitles positioned at "bottom", which is the default setting. Create a simple SRT file with one entry consisting of 3 identical lines, when displayed (assuming they don't get collapsed), the first 2 will be perfectly aligned vertically, but the last line will be noticeably offset to the right a few pixels.

Mostly, I'd just like to know what I am doing or not doing that is causing the concatenating of that 3rd line sometimes.

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: Subtitle lines collapsing? (SRT)

Postby Jean-Baptiste Kempf » 27 Sep 2013 18:41

Please share a sample.
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.

Devore
New Cone
New Cone
Posts: 4
Joined: 24 Sep 2013 01:13

Re: Subtitle lines collapsing? (SRT)

Postby Devore » 28 Sep 2013 03:58

Ok, I've been doing some more checking on this, it seems the "line collapsing" thing is something Handbrake might be doing when encoding the mkv file. I'm supplying an .srt file as a subtitles input. When I extract the subtitle stream from the mkv, the lines are actually collapsed, vs the original source where they are as intended. I will just have to mux in the subtitles afterwards using other tools that will not mangle the lines.

However, this does not explain the removal of a space.

Here is what a "collapsed" subtitle entry looks like:

Code: Select all

968 00:59:00,737 --> 00:59:04,606 - I, um, I was wondering. <i>- ♪ Just remember, darling</i> <i>all the while ♪</i>
There is a space between the two italics markup tags, but during playback no space is apparent between "darling" and "all".

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: Subtitle lines collapsing? (SRT)

Postby Jean-Baptiste Kempf » 28 Sep 2013 11:51

That should be registered in the bug tracker.
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.

Lotesdelere
Cone Master
Cone Master
Posts: 10108
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Subtitle lines collapsing? (SRT)

Postby Lotesdelere » 30 Sep 2013 11:48

Here is what a "collapsed" subtitle entry looks like:

Code: Select all

968 00:59:00,737 --> 00:59:04,606 - I, um, I was wondering. <i>- ♪ Just remember, darling</i> <i>all the while ♪</i>
There is a space between the two italics markup tags, but during playback no space is apparent between "darling" and "all".
You should create a new ticket on the VLC Trac with your sample file and the link to this thread.

Devore
New Cone
New Cone
Posts: 4
Joined: 24 Sep 2013 01:13

Re: Subtitle lines collapsing? (SRT)

Postby Devore » 30 Sep 2013 12:37



Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests