DEV Community

Brisbane Web Developer
Brisbane Web Developer

Posted on

How to reduce the size for MP4 file

Command

In my case, my MP4 file became 1.1MB from 16MB with this:

ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
Enter fullscreen mode Exit fullscreen mode

Reference

How can I reduce a video's size with ffmpeg?

Top comments (0)