heres the link: https://ffmpeg.org/ffmpeg-filters.htm...
command:
ffplay -i input.mkv -vf cropdetect
this will give you different options of where it thinks the border is over the time of the video. You can see the output in the terminal.
then you can use the information to crop your video here's an example:
ffmpeg -i input.mkv -vf crop=960:960:480:60 output.mkv
the four crop inputs are (width:height:x coordinates of top left corner: y coordinates of top left corner) in pixels
0:00 intro
0:20 cropdetect command
0:44 cropdetect output
1:13 adjust cropdetect variable
1:20 crop command
1:40 thankyou
Thankyou for watching.