3 ms·
Show HN: Shrink my video – Opinionated ways to reduce video file size
- acailly 6y agoThe main goal with this tool is to contribute to limiting environmental footprint of IT (more details here: https://acailly.github.io/shrink-my-video/#why https://acailly.github.io/shrink-my-video/#why) First, by allowing non-tech savvy users to reduce the size of their video using recommended preset by The Shift Project (https://theshiftproject.org/en/article/unsustainable-use-online-video/ https://theshiftproject.org/en/article/unsustainable-use-onl...) without having to install and configure any software (it uses FFMPEG.WASM directly in the browser) Second, by offering more radical ways to reduce the video file size. The more extreme setting is to limit FPS to 1 image every 5 seconds, which is surprisingly well suited for conference videos. For example, I reduced one of my video from 85 Mo to 15 Mo with these techniques (content is in French): - original video: https://acailly.github.io/confs/developper-avec-utilisateur/developper-avec-utilisateur-inria.mp4 https://acailly.github.io/confs/developper-avec-utilisateur/... - reduced video: https://acailly.github.io/confs/developper-avec-utilisateur/developper-avec-utilisateur-inria-shrinked.mp4 https://acailly.github.io/confs/developper-avec-utilisateur/... If you think of another original/radical technique to try, let me know :-)
- BelenusMordred 6y ago22 is quite a low setting for crf, I believe the default is 23. I normally go for 26 without problems, the ffmpeg authors consider 28 to be the top of the sane range, though results do depend on the video.
- sanmak 6y agoThe best part of this app is you are not only giving it a feature to perform an operation but also educating users with a library that they can use. Great job.
- genericguy 6y agoWow, I had no idea that ffmpeg.wasm exists!
- bertman 6y agoLooks nice! Maybe you could add some words to you site to emphasize that the video isn't actually uploaded to a remote server.
- acailly 6y agoGood idea, it is not obvious, thanks :-)