ffmpeg -i input-video.mp4 -vcodec libx264 -crf 28 output-video.mp4
(You need to install
Here is the before & after. Judge for yourself:
You can adjust the
-crf 28 parameter for even small file size, but I find the video quality start to decrease dramatically after
👋 Like what you read here?
Hello there, I'm Tony Dinh.
I quit my high paying job to work on my side projects with a mission to make a living from my apps and live an independent life. 🌴
- 🛠️ I built a macOS app for developers: DevUtils.app
- 🎩 I built a browser extension for Twitter: BlackMagic.so
- 🏖️ Read my story → https://newsletter.tonydinh.com/
- 💻 Everything about me → https://tonydinh.com
❤️ Thanks for reading!