SSA subtitle plays in wrong order

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
intheclouds
New Cone
New Cone
Posts: 3
Joined: 05 Aug 2018 22:13

SSA subtitle plays in wrong order

Postby intheclouds » 05 Aug 2018 22:53

I have multiple mkv files that have an SSA subtitles included. When the subtitle shows two lines, the first spoken sentence appears on the second line and the second spoken sentence appears on the first line (ie reversed), other than that - the timing is fine.

I have reset preferences and downgraded to 2.2.8, but neither has made any changes.

The following should read:

'Yet, here you are.
Makes me wonder why.'

Image

Codec information:

Image

OS: Windows 7

The following is from MKV > mkvtoolnix > extract track as mks > DRSRTv3 > open mks;

12
00:00:17,170 --> 00:00:21,070 SSA: Dialogue, Layer: 0, Style: Default, Name: , MarginL: 0, MarginR: 0, MarginV: 0, Effect:
- Yet, here you are.

13
00:00:17,170 --> 00:00:21,070 SSA: Dialogue, Layer: 0, Style: Default, Name: , MarginL: 0, MarginR: 0, MarginV: 0, Effect:
Makes me wonder why.

Unfortunately I've not had any luck getting hits on the forum or google and the wiki doesn't seem to help either.

Also, I can use VLSub to download srt subtitles, there play as expected although they are typically out of sync and I would rather not have to download a second subtitle when one is provided with the file.

Thanks,

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: SSA subtitle plays in wrong order

Postby InTheWings » 06 Aug 2018 08:57

With "normal" collision prevention, the subtitles will "stack up" one above the other - but they will always be positioned as close the vertical (bottom) margin as possible - filling in "gaps" in other subtitles if one large enough is available.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

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: SSA subtitle plays in wrong order

Postby Jean-Baptiste Kempf » 06 Aug 2018 09:40

VLC is doing the right thing here.
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.

intheclouds
New Cone
New Cone
Posts: 3
Joined: 05 Aug 2018 22:13

Re: SSA subtitle plays in wrong order

Postby intheclouds » 06 Aug 2018 22:35

Thanks both for your prompt responses.

So, the issue is with the subtitle? the fact that it was created with a collision?

The included subtitle seems to have a lot of collisions but are all dealt with the same way as described above - in reverse. Wouldn't we expect at least some of the collisions to appear in the correct order?

However, subtitles can be shifted vertically to prevent onscreen collisions. With "normal" collision prevention, the subtitles will "stack up" one above the other - but they will always be positioned as close the vertical (bottom) margin as possible - filling in "gaps" in other subtitles if one large enough is available. If the entry says "Reverse" then subtitles will be shifted upwards to make room for subsequent overlapping subtitles. This means the subtitles can nearly always be read top-down - but it also means that the first subtitle can appear half way up the screen before the subsequent overlapping subtitles appear. It can use a lot of screen area.

RE: the bold/underlined text above, can either the renderer (libass?) be defaulted or VLC configured to enable this and would it help?

What is the solution to this issue? Download/embed additional correctly formatted subtitles?

Thanks,

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: SSA subtitle plays in wrong order

Postby InTheWings » 07 Aug 2018 09:47

According to the code, we have no control over this: this is a single subpicture.
So that's libass rendering.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

DeusExMachina
Blank Cone
Blank Cone
Posts: 29
Joined: 09 Nov 2012 02:13

Re: SSA subtitle plays in wrong order

Postby DeusExMachina » 20 Aug 2019 23:14

VLC is doing the right thing here.
No it's not.
There is no "right thing" in all contexts. When there is a time code collusion, the code is presented with a choice. The colliding items must stack, but there is nothing requiring one order or another. There are three options, stacking on the Y axis first on top, stacking on the Y axis last on top, and stacking on the Z axis. Again, there is no "right thing" to do, and clearly in this instance the "right thing" is wrong, as the collision should be ameliorated by stacking in the opposite order.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: MSN [Bot] and 12 guests