This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Margin settings for subtitles not working?

Problems, bugs, suggestions... anything related to SMPlayer.

Margin settings for subtitles not working?

Postby Xenos » Sat Sep 07, 2019 12:21 am

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
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: Margin settings for subtitles not working?

Postby rvm » Sat Sep 07, 2019 8:26 am

This problem happens when using mpv as multimedia engine, and I think it's already fixed in svn.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Margin settings for subtitles not working?

Postby Xenos » Sat Sep 07, 2019 9:37 am

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
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: Margin settings for subtitles not working?

Postby rvm » Sat Sep 07, 2019 7:42 pm

The bug was actually in smplayer, I think it's fixed in svn but I haven't released any packages yet.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Margin settings for subtitles not working?

Postby Xenos » Sat Sep 07, 2019 8:26 pm

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
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: Margin settings for subtitles not working?

Postby rvm » Sun Sep 08, 2019 7:11 pm

I've just uploaded version r9227 here:
https://sourceforge.net/projects/smplay ... /Unstable/

This version should fix the vertical margin in the subtitles preferences.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Margin settings for subtitles not working?

Postby Xenos » Sun Sep 08, 2019 9:45 pm

Yes, the vertical margin setting is working in this version.

Thanks!
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm


Return to General

Who is online

Users browsing this forum: No registered users and 11 guests

cron