diff options
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 1 | ||||
-rw-r--r-- | DOCS/man/options.rst | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index d09073c1da..eeccd06851 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -54,6 +54,7 @@ Interface changes - add `hdr-metadata` property - change `--directory-mode` default to `lazy` - remove deprecated `video-aspect` property + - add `--video-crop` --- mpv 0.36.0 --- - add `--target-contrast` - Target luminance value is now also applied when ICC profile is used. 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, |