Cut Loom screen recording at 39s, trim video around the edges to hide scrollbar and Loom stop button using FFmpeg I have a 1920x1080 MP4 screencast that has been created in full-size mode in Google Chrome. I wish to hide the Loom video stopping process (after 39 seconds) and also trim around the edge of the video, so the browser scrollbar and Loom recording button are hidden during the video playback. Essentially cropping the inner 95% of the video.

How can I cut (crop) 95% of the video so the inner section is extracted? The proportions for 95% of the video would be 1824px x 1026px.

Here is the command to cut the video at 39 seconds. How could I combine with a crop command to hide the Loom browser recording process?

ffmpeg -i LoomFullSizeScreenCast.mp4 -t 39 -c copy LoomFullSizeScreenCastCut.mp4

Here is the video in action

https://thirsty-heisenberg-58e54e.netlify.com/LoomFullSizeScreenCast.mp4
Cropping is carried out using a video filter. Also, a filtered video has to be re-encoded. So the command would be

ffmpeg -i input.mp4 -vf crop=1824:1026 -t 39 -c:a copy output.mp4


See the docs for the crop filter for all options.