2022-11-22
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