Page 1 of 1

Margin settings for subtitles not working?

PostPosted: Sat Sep 07, 2019 12:21 am
by Xenos
Hi,

I'm trying to change the vertical position of the subtitles (srt files) by going to: Options --> Preferences --> Subtitles --> Font and colors --> Margins: Vertical

Unfortunately, no matter what value I set the vertical margin to, the subtitles are always displayed at the same position.
The only way to change the vertical position is by using the R and T shortcuts, but these settings are not global, they only work for the specific video that is playing.
I even tried to change the values of left and right margins, but it seems that neither those settings have any effect.

Aren't the margin settings being used to define the position of the subtitles, or am I getting this wrong?
Could you please have a look at it?

Thanks in advance,
Xenos

Re: Margin settings for subtitles not working?

PostPosted: Sat Sep 07, 2019 8:26 am
by rvm
This problem happens when using mpv as multimedia engine, and I think it's already fixed in svn.

Re: Margin settings for subtitles not working?

PostPosted: Sat Sep 07, 2019 9:37 am
by Xenos
Thank you for the quick reply.

I tried the new release of mpv, with the portable version of SMPlayer (I just replaced the contents of SMPlayer's mpv folder, but I'm not sure if this is the right way to do it...).
Unfortunately the problem still occurs.
I hope they fix it soon, subtitle positioning is one of the most important and basic functions, and this is a really annoying bug.

Regards,
Xenos

Re: Margin settings for subtitles not working?

PostPosted: Sat Sep 07, 2019 7:42 pm
by rvm
The bug was actually in smplayer, I think it's fixed in svn but I haven't released any packages yet.

Re: Margin settings for subtitles not working?

PostPosted: Sat Sep 07, 2019 8:26 pm
by Xenos
I've been searching through the documentation of mpv and I just found a way to set the vertical margin by using the following "Option" (Advanced --> MPlayer/mpv):
--sub-margin-y=<Y>
where <Y> represents the desired value for the vertical position of the subtitles.
So it's not a problem anymore. I'll remove it when the next version will be released.

Thanks for all the help,
Xenos

Re: Margin settings for subtitles not working?

PostPosted: Sun Sep 08, 2019 7:11 pm
by rvm
I've just uploaded version r9227 here:
https://sourceforge.net/projects/smplay ... /Unstable/

This version should fix the vertical margin in the subtitles preferences.

Re: Margin settings for subtitles not working?

PostPosted: Sun Sep 08, 2019 9:45 pm
by Xenos
Yes, the vertical margin setting is working in this version.

Thanks!