[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - [Suggestion] Make negative values for vertical margin (subs)

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

[Suggestion] Make negative values for vertical margin (subs)

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

[Suggestion] Make negative values for vertical margin (subs)

Postby rado84 » Sun Sep 15, 2019 10:14 pm

I've set SMPlayer to add black stripes on top and bottom of the movie, so that the subs can appear below the image. I've also set the vertical margin for subs to be 0 (zero) but they still won't appear BELOW the image and it's not possible to enter a negative value which would send the subs even further down. They're in fact almost in the middle, as you can see from the screenshots. So my suggestion is that you allow negative values to be used, so that the subs will actually appear below the image - just like on POT Player in Windows. I tried reducing the subs size but they still appear not where I want them: far below the image and not covering it, at the very bottom of the screen.



User avatar
rado84
 
Posts: 31
Joined: Sun May 26, 2013 9:03 am
Location: Sofia, Bulgaria

Re: [Suggestion] Make negative values for vertical margin (s

Postby rvm » Mon Sep 16, 2019 7:40 pm

I can add that change, but it seems only mplayer supports negative values for the vertical margin (mpv fails with negative values).
You can also try to move the subtitles up and down with the R and T keys.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: [Suggestion] Make negative values for vertical margin (s

Postby rado84 » Tue Sep 17, 2019 1:48 am

User avatar
rado84
 
Posts: 31
Joined: Sun May 26, 2013 9:03 am
Location: Sofia, Bulgaria

Re: [Suggestion] Make negative values for vertical margin (s

Postby Xenos » Tue Sep 17, 2019 9:25 am

Hi,

I had a similar problem with the vertical position of the subtitles (see "Margin settings for subtitles not working?", it's a few posts below yours).
There is a bug and the margin settings don't work, so rvm gave me a link for an unstable version (not offially released) in which the problem is fixed for the vertical margin (left and right still don't work).
With this version, when I set vertical margin to zero and of course have the black bars added, the subtitles appear at the bottom of the screen:
SMPlayer_2.jpg
SMPlayer_2.jpg (57.8 KiB) Viewed 3670 times

So, there is no need for negative values.

What would be great though, is if we could zoom out and move the picture up (and down) without affecting the size and position of the subtitles (I've found only one player that can do this, but I really prefer to use SMPlayer for everything).
This way, we could make enough space to fit the subtitles under the picture even for a movie that is 16:9. This would be very helpfull for videos that have subtitles burned-in and also when you need to have two subtitle languages at the same time, but in order not to cover half of the image with four lines of text, you could have the second language below the image on black space.
Believe me, this is extremely useful for classes and seminars where big screens are used, so there is no problem to zoom out the image a little, just to fit subtitles below.
But in order for this to work, the subtitles' size and position sould not be affected by the zoom function.

It would be really great to consider this function (all teachers and lecturers will love you...).

Best regards,
Xenos
Last edited by Xenos on Wed Sep 18, 2019 2:05 am, edited 1 time in total.
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: [Suggestion] Make negative values for vertical margin (s

Postby rado84 » Tue Sep 17, 2019 1:00 pm

Xenos, I don't care about the horizontal margins. Even if they're not working, I'm fine with the horizontal subs position. Only the vertical one is the problematic.
User avatar
rado84
 
Posts: 31
Joined: Sun May 26, 2013 9:03 am
Location: Sofia, Bulgaria

Re: [Suggestion] Make negative values for vertical margin (s

Postby Xenos » Tue Sep 17, 2019 1:12 pm

Well, if there is the option to set them as we wish, then normally they should all be working. But I agree that the vertical is the one that matters the most.

With the unstable version that rvm provided (see his reply to my original post to find the download link), when we set vertical margin to zero, this is exactly what we get. Try it and you'll see for yourself, because for some reason the screengrab I uploaded to my previous reply doesn't show and I can't make it work...
May I ask how did you manage to upload your images, to see if I'm doing something wrong?
Thanks in advance,
Xenos
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: [Suggestion] Make negative values for vertical margin (s

Postby rado84 » Wed Sep 18, 2019 12:00 am

User avatar
rado84
 
Posts: 31
Joined: Sun May 26, 2013 9:03 am
Location: Sofia, Bulgaria

Re: [Suggestion] Make negative values for vertical margin (s

Postby Xenos » Wed Sep 18, 2019 2:13 am

Hi again,
thanks for the help, but my problem was that the image couldn't be uploaded to the forum by using the "Img" option. For some strange reason it is not working with links on google drive, mega and imgbb.
So I just tried to upload it as an attachment and it worked! You can see now (in the edited post) that the subtitles "touch" the bottom of the image and of course the same thing happens on fullscreen.
Let's hope we'll have the stable release soon.
Xenos
 
Posts: 39
Joined: Thu May 17, 2018 12:07 pm

Re: [Suggestion] Make negative values for vertical margin (s

Postby rado84 » Mon Sep 23, 2019 10:37 pm

User avatar
rado84
 
Posts: 31
Joined: Sun May 26, 2013 9:03 am
Location: Sofia, Bulgaria

Re: [Suggestion] Make negative values for vertical margin (s

Postby rvm » Tue Sep 24, 2019 8:56 pm

The possibility to use negative values was added in r9229.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Next

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests

cron