Page 1 of 1

subtitle positioning ignored?

Posted: 06 Apr 2018 14:55
by evodoc
I have a subtitle with

Code: Select all

{\a6}
tags in it, which supposed to put the text top center but it gets positioned to the regular place. Is that normal behavior? Force subtitle position is set to 0px. Media Player Classic HC shows the subtitle at the correct position.

Re: subtitle positioning ignored?

Posted: 07 Apr 2018 19:57
by Jean-Baptiste Kempf
Can you share the full subtitle?

Re: subtitle positioning ignored?

Posted: 07 Apr 2018 22:21
by evodoc
Can you share the full subtitle?
I can reproduce it with this test subtitle:

1
00:00:00,938 --> 00:02:02,358
{\a6}test

Re: subtitle positioning ignored?

Posted: 08 Apr 2018 14:07
by mederi

Re: subtitle positioning ignored?

Posted: 09 Apr 2018 12:15
by evodoc
I've just tried with {\an8} but the result is the same, but working in Media Player Classic HC. Am I doing something wrong or is this a bug?
This was my test subtitle this time:

1
00:00:00,038 --> 00:02:02,358
{\an8}test


Re: subtitle positioning ignored?

Posted: 09 Apr 2018 13:10
by mederi
I have just tested the SRT subtitles containing ASS position tags (test subtitles in the provided link in the last post there). The positioning does not work in VLC 3, but it really works in older VLC versions: VLC 2.2.8 can play it with some offset issue, VLC 2.0.8 can play it properly. Please file a bug report at https://trac.videolan.org/vlc

Re: subtitle positioning ignored?

Posted: 09 Apr 2018 13:31
by evodoc
I've just tried {\an8} in VLC 4 nightly and it seems to work there.

Re: subtitle positioning ignored?

Posted: 09 Apr 2018 15:14
by mederi
You are right. It works in VLC 3.0.2 nightly build, too. There is just the offset issue in window mode. Right/bottom subtitle text is displayed too far from right/bottom edge and a positive subtitle position ("Subtitle position up" hotkey Shift+Up not defined by default or "Force subtitle position" option in VLC preferences) displays top subtitle on the bottom. Fullscreen mode seems to be O.K., just a negative subtitle position ("Subtitle position down" hotkey Shift+Down) displays bottom subtitle on the top and switching back to window mode during playback breaks a curretly displayed subtitle text on the right side. All these troubles have appeared with VLC-2.2, I think.

Re: subtitle positioning ignored?

Posted: 09 Apr 2018 16:14
by evodoc
But back to the original post, is there a reason why {\a6} and such isn't supported? I don't always have the opportunity to change the subtitles, like when it's on DVD or something.

Re: subtitle positioning ignored?

Posted: 16 Apr 2018 03:29
by Jean-Baptiste Kempf
Didn't you say that {\a8} was working just before?