:: krowemoh

Monday | 20 JAN 2025
Posts Links Other About Now

previous
next

Cutting and Compressing with FFMPEG

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