Friday | 08 DEC 2023
2022-11-22

Cutting and Compressing with FFMPEG


To cut a video with ffmpeg, you can do the following:

ffmpeg -i input.mp4 -ss 00:01:00 -to 00:02:00 -c copy output.mp4

To compress that video using h265:

ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4