clapper icon indicating copy to clipboard operation
clapper copied to clipboard

Feature Request: Auto-scale window size based on a single dimension (width or height)

Open alperokur opened this issue 5 months ago • 2 comments

Hello,

In MPV Player, I can use the --geometry parameter to launch the application at a specific resolution (for example, --geometry=1440x810). I was wondering if it would be possible for you to add an enhancement for this in future versions?

As a more advanced version of this, a common issue with 16:9 and 16:10 aspect ratios in movies and TV shows is the black bars that appear at the top and bottom. Could the application automatically scale based on a width or height value that I provide, and then launch accordingly?

For example, let's say I want the application to start with a width of 1440.

If the video's aspect ratio is 16:10, the video would start at a 1440x900 resolution.

If the video's aspect ratio is 16:9, it would start at a 1440x810 resolution.

alperokur avatar Jun 29 '25 03:06 alperokur

Is this only for app launch? I am not a big fan of window changing size on it's own when switching/opening another video in the same window without user interaction (this does mouse middle click).

Rafostar avatar Jun 29 '25 09:06 Rafostar

Is this only for app launch? I am not a big fan of window changing size on it's own when switching/opening another video in the same window without user interaction (this does mouse middle click).

Yes, only when launching the application.

alperokur avatar Jun 29 '25 09:06 alperokur