You can compress video using: ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4 How to cut a video without re-encoding?