summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-08-25 19:21:21 +0200
committerDudemanguy <random342@airmail.cc>2023-08-31 17:37:42 +0000
commitf3f1a79fe3ad9bdae344559ec5802c184af41112 (patch)
tree8ad67cec885e18f6d0618dc9b220288574e1e98f /DOCS/man/options.rst
parentf3211db7911c89883dc392ddeef8ffe53aeb49b0 (diff)
downloadmpv-f3f1a79fe3ad9bdae344559ec5802c184af41112.tar.bz2
mpv-f3f1a79fe3ad9bdae344559ec5802c184af41112.tar.xz
vo: add --video-crop
Just cropping by VO that works with hwdec. Fixes: #12222
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 34913ff9a7..ad4b5b89d7 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1564,6 +1564,13 @@ Video
software decoding and hardware decoding methods that copy the video back to
system memory support all values between 0 and 359.
+``--video-crop=<[W[xH]][+x+y]>``, ``--video-crop=<x:y>``
+ Crop the video by starting at the x, y offset for w, h pixels. The crop is
+ applied to the source video rectangle (before anamorphic stretch) by the VO.
+ A crop rectangle that is not within the video rectangle will be ignored.
+ This works with hwdec, unlike the equivalent 'lavfi-crop'. Setting the crop
+ to '0x0' disables it.
+
``--video-zoom=<value>``
Adjust the video display scale factor by the given value. The parameter is
given log 2. For example, ``--video-zoom=0`` is unscaled,