To crop a video, you can use ffmpeg:
ffmpeg -i input.mp4 -ss 30 -t 90 -acodec copy -vcodec copy output.mp4
With -ss, you mark your start with -t and the final duration. The -t option indicates the difference between your two absolute positions, you must calculate it, link1 link2
source share