MPV
Geometry: for dual screen
--video-zoom=<value>
Adjust the video display scale factor by the given value. The unit is in fractions of the (scaled) window video size.
For example, given a 1280x720 video shown in a 1280x720 window, --video-zoom=-0.1 would make the video by 128 pixels smaller in X direction, and 72 pixels in Y direction.
--geometry=<[W[xH]][+-x+-y]>, --geometry=<x:y>
Adjust the initial window position or size. W and H set the win‐ dow size in pixels. x and y set the window position, measured in pixels from the top-left corner of the screen to the top-left corner of the image being displayed. If a percentage sign (%) is given after the argument, it turns the value into a percentage of the screen size in that direction. Positions are specified similar to the standard X11 --geometry option format, in which
e.g. +10-50 means "place 10 pixels from the left border and 50 pixels from the lower border" and "--20+-10" means "place 20 pixels beyond the right and 10 pixels beyond the top border".
If an external window is specified using the --wid option, this option is ignored.
The coordinates are relative to the screen given with --screen for the video output drivers that fully support --screen.
NOTE: Generally only supported by GUI VOs. Ignored for encoding.
Note (X11)
This option does not work properly with all window managers.
Examples
50:40 Places the window at x=50, y=40.
50%:50% Places the window in the middle of the screen.
100%:100% Places the window at the bottom right corner of the screen.
50% Sets the window width to half the screen width. Window height is set so that the window has the video aspect ratio.
50%x50% Forces the window width and height to half the screen width and height. Will show black borders to compen‐ sate for the video aspect ration (with most VOs and without --no-keepaspect).
50%+10+10 Sets the window to half the screen widths, and posi‐ tions it 10 pixels below/left of the top left corner of the screen.
See also --autofit and --autofit-larger for fitting the window into a given size without changing aspect ratio.
--autofit=<[W[xH]]>
Set the initial window size to a maximum size specified by WxH, without changing the window's aspect ratio. The size is measured in pixels, or if a number is followed by a percentage sign (%), in percents of the screen size.
This option never changes the aspect ratio of the window. If the
aspect ratio mismatches, the window's size is reduced until it
fits into the specified size.
Window position is not taken into account, nor is it modified by this option (the window manager still may place the window dif‐ ferently depending on size). Use --geometry to change the window position. Its effects are applied after this option.
See --geometry for details how this is handled with multi-monitor setups.
Use --autofit-larger instead if you just want to limit the maximum size of the window, rather than always forcing a window size.
Use --geometry if you want to force both window width and height to a specific size.
NOTE: Generally only supported by GUI VOs. Ignored for encoding.
Examples
70% Make the window width 70% of the screen size, keeping aspect ratio.
1000 Set the window width to 1000 pixels, keeping aspect ratio.
70%:60% Make the window as large as possible, without being wider than 70% of the screen width, or higher than 60% of the screen height.