Skip to content

--crop parameters don't work as expected

Assuming the format for --crop is WxH+T+L, the following command line will erroneously open a video which is 800-140=660 pixels high, rather than the requested 800 pixels high.

vlc --crop 1920x800+0+140 $(youtube-dl -g https://www.youtube.com/watch?v=gCcx85zbxz4)

Or is the format RxB+T+L? If so, this is non-standard and confusing. From the manual https://wiki.videolan.org/VLC_HowTo/Crop/:

vlc input --vout-filter=crop --crop-geometry=120x120+10+10 120x120 is the wanted resolution (in pixels), and 10+10 is the top-left position where the cropping should start (in pixels)

However, this gives Warning: option --vout-filter no longer exists. so the manual seems outdated to boot.

vlc 3.0.6 on macOS.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information