Page 1 of 1

How to align video to the top of the screen?

Posted: 15 Jan 2018 20:59
by dma
Hi,

I'm using VLC 2.2.8 on a Windows 10 64bit box.

When I play a video which does not exactly match the aspect ratio of the monitor in fullscreen, VLC automatically centers it vertically. That means that black borders of the same height are shown at the top and at the bottom.

My question: how can I align the video to the very top of the screen, i.e. have the black border only at the bottom (of course doubled in height)?

I played around with the mosaic-align option but without success.

My current commandline

Code: Select all

vlc.exe --fullscreen --play-and-pause --no-video-title --qt-continue=0 --no-qt-updates-notif --no-qt-error-dialogs --video-filter=invert,:croppadd --croppadd-croptop=125 --mosaic-align=4 --mosaic-rows=1 --mosaic-cols=1
Remark: The cropadd filter was intentionally set, but has nothing to do with my question.

Thanks,

dma

Re: How to align video to the top of the screen?

Posted: 15 Jan 2018 23:13
by mederi
Try --align=4

Re: How to align video to the top of the screen?

Posted: 16 Jan 2018 20:41
by dma
Cool! The parameter you mentioned did the trick!

Thanks.