subtitle positioning ignored?

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.
evodoc
New Cone
New Cone
Posts: 6
Joined: 15 Dec 2016 23:01

subtitle positioning ignored?

Postby evodoc » 06 Apr 2018 14:55

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.

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 positioning ignored?

Postby Jean-Baptiste Kempf » 07 Apr 2018 19:57

Can you share the full subtitle?
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.

evodoc
New Cone
New Cone
Posts: 6
Joined: 15 Dec 2016 23:01

Re: subtitle positioning ignored?

Postby evodoc » 07 Apr 2018 22:21

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

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: subtitle positioning ignored?

Postby mederi » 08 Apr 2018 14:07


evodoc
New Cone
New Cone
Posts: 6
Joined: 15 Dec 2016 23:01

Re: subtitle positioning ignored?

Postby evodoc » 09 Apr 2018 12:15

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


mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: subtitle positioning ignored?

Postby mederi » 09 Apr 2018 13:10

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

evodoc
New Cone
New Cone
Posts: 6
Joined: 15 Dec 2016 23:01

Re: subtitle positioning ignored?

Postby evodoc » 09 Apr 2018 13:31

I've just tried {\an8} in VLC 4 nightly and it seems to work there.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: subtitle positioning ignored?

Postby mederi » 09 Apr 2018 15:14

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.

evodoc
New Cone
New Cone
Posts: 6
Joined: 15 Dec 2016 23:01

Re: subtitle positioning ignored?

Postby evodoc » 09 Apr 2018 16:14

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.

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 positioning ignored?

Postby Jean-Baptiste Kempf » 16 Apr 2018 03:29

Didn't you say that {\a8} was working just before?
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 “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 73 guests