How can resizing window be made to preserve aspect ratio?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
mr-b
Blank Cone
Blank Cone
Posts: 41
Joined: 01 Feb 2010 15:22

How can resizing window be made to preserve aspect ratio?

Postby mr-b » 14 Jan 2021 13:09

Hi

I'm using VLC to stream some IP cameras with resolution 3840 x 2160, but whichever VLC setting I choose, whenever I resize the window I always get black bars appearing at the sides or top & bottom.
Is there a way of making VLC preserve/respect the aspect ratio so it only resizes with that aspect ratio?
In fact this applies to any video not just streaming.

Hitchhiker
Big Cone-huna
Big Cone-huna
Posts: 2203
Joined: 29 Jun 2018 11:40
VLC version: 3.0.17.4
Operating System: Windows 8.1
Location: The Netherlands

Re: How can resizing window be made to preserve aspect ratio?

Postby Hitchhiker » 14 Jan 2021 15:39

Hit Ctrl + P to open prefs and remove the checkmark from "Resize interface to video size". Save, exit and restart vlc.

mr-b
Blank Cone
Blank Cone
Posts: 41
Joined: 01 Feb 2010 15:22

Re: How can resizing window be made to preserve aspect ratio?

Postby mr-b » 14 Jan 2021 16:02

That option makes no difference unfortunately.

Hitchhiker
Big Cone-huna
Big Cone-huna
Posts: 2203
Joined: 29 Jun 2018 11:40
VLC version: 3.0.17.4
Operating System: Windows 8.1
Location: The Netherlands

Re: How can resizing window be made to preserve aspect ratio?

Postby Hitchhiker » 14 Jan 2021 19:48

Try setting the Output to DirectX (DirectDraw) video output in prefs --> Video button. Save and restart again.

mr-b
Blank Cone
Blank Cone
Posts: 41
Joined: 01 Feb 2010 15:22

Re: How can resizing window be made to preserve aspect ratio?

Postby mr-b » 14 Jan 2021 21:31

Still no dice.
If "Resize interface to video size" is enabled (it wasn't initially) then the image starts off larger. If disabled it's smaller. I think that's the only difference.
But in both instances I can still resize the window in any proportion and so of course black bars appear to fill in the space.

Just in case I haven't explained myself properly, I'm looking for the VLC window edge to follow the video's aspect ratio i.e. so that if one drags in the side edge, the bottom edge follows upwards to prevent black bars showing.

Hitchhiker
Big Cone-huna
Big Cone-huna
Posts: 2203
Joined: 29 Jun 2018 11:40
VLC version: 3.0.17.4
Operating System: Windows 8.1
Location: The Netherlands

Re: How can resizing window be made to preserve aspect ratio?

Postby Hitchhiker » 15 Jan 2021 16:08

This problem has cropped up before, but without a resolution so far unfortunately: https://trac.videolan.org/vlc/ticket/18429

You could try installing a Nightly to see if there's been any progress: https://nightlies.videolan.org/

mr-b
Blank Cone
Blank Cone
Posts: 41
Joined: 01 Feb 2010 15:22

Re: How can resizing window be made to preserve aspect ratio?

Postby mr-b » 15 Jan 2021 22:05

Tx for the bug link.
The nightly made no difference, but I guess that was expected given the enhancement/bug hasn't seen any updates for ages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests