Sunday | 23 JUN 2024
[ previous ]
[ next ]

Cutting and Compressing with FFMPEG

Title:
Date: 2022-11-22
Tags:  

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