
To crop an 800×600 section, starting from position 100,50 you'd call.

The time trimming will take only depends on your storage speed, copying the necessary parts into a new file. Trimming lets us slice out a desired timespan from a video, and with ffmpeg we can do this without re-encoding it - this means that this action is almost "instant", opposed to regular video editors. The last parameter is always the output name, conveniently no flag needed for that. The -i flag specifies an input, and they generally always come in the beginning. In the following examples I'll always use input.mp4 and output.mp4 as input and output respectively - just replace these with your actual filenames.

These three might be the most often needed use cases I encounter. In this first installment of ffmpeg tutorials, let's take a look at trimming (something that makes a video smaller), cropping (something that makes a video smaller) and also, making videos smaller. Written by Tamás Deme on Fri Apr 29 2022. Ethical considerations of high frequency econometrics and decision making Trim, crop and more - basic video editing with ffmpeg
