FFmpeg · Video
Compress a video
Re-encode with H.264. Lower CRF means higher quality and a larger file; 23 is the default and 28 is smaller.
ffmpeg -i input.mp4 -c:v libx264 -crf 28 -preset medium -c:a aac -b:a 128k output.mp4
FFmpeg · Video
Re-encode with H.264. Lower CRF means higher quality and a larger file; 23 is the default and 28 is smaller.
ffmpeg -i input.mp4 -c:v libx264 -crf 28 -preset medium -c:a aac -b:a 128k output.mp4
Was this page helpful?