ffmpeg -i input.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4 ffmpeg -i input.mp4 -filter:v "crop=850:540:0:50" out.mp4
NOTE: The options are:
WARNING: The top & bottom, left & right margin values should not conflict.
Pass the -crop flag with margins: top x bottom x left x right.
ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -crop 50x50x0x430 -i input.mp4 -c:v h264_nvenc output.mp4
NOTE: This crops the input video to the rectangle bounded by lines 50px from top and bottom side, 430px from right side, and left side of original video.