Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Video -- Reduce video size
Using FFMPEG
---
ffmpeg -i input.mp4 -s 320x240 -b 64k -vcodec mpeg1video -acodec copy output.mp4
Change parameters to get tradeoff quality and size
- Resolution via -s 320x240
- Bitrate via -b 64k
Using AVCONV
---
avconv -i input.mp4 -c:v libx264 -crf 18 -c:a copy output.mp4
- CRF @ https://slhck.info/video/2017/02/24/crf-guide.html
- Play with it to see quality vs size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment