Aligning the video to the top (black bar only at bottom) ?

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

Aligning the video to the top (black bar only at bottom) ?

Postby JonasCz » Sat Feb 25, 2017 7:32 pm

Hi All !

Is there a way to align the video to the top of the window (or screen when fullscreen), leaving only a black bar at the bottom, and then have the subtitles in this black bar ?

I know about the "Add black borders" filter - for me, this only works to an extent though, as the subtitles sill partially overlay the video.

I've looked at mpv's --video-align-x=<-1-1> option (https://mpv.io/manual/master/#options-video-align-x) - however, adding this to "Options for mpv" under advanced options does not do anything, unless I check the option "run mpv in it's own window" - but then I don't get subtitles in the black border under the video, and enabling the "add black border" filter puts the video back in the center of the screen with the subtitles (semi-) on top.

Is there any way to get this to work ?

To clarify here's some screenshots. What I have:

Image

What I'd like to get:

Image

Thanks
JonasCz
 
Posts: 2
Joined: Sat Feb 25, 2017 6:42 pm

Re: Aligning the video to the top (black bar only at bottom)

Postby rvm » Sat Feb 25, 2017 8:49 pm

You can get it with the expand filter. Put this in preferences -> advanced -> mplayer/mpv -> video filters:
Code: Select all
expand=aspect=4/3:y=0


(replace 4/3 with your monitor aspect)
rvm
Site Admin
 
Posts: 2750
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Aligning the video to the top (black bar only at bottom)

Postby JonasCz » Sun Feb 26, 2017 3:17 pm

Thank you, this works perfectly !
JonasCz
 
Posts: 2
Joined: Sat Feb 25, 2017 6:42 pm


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests