A simple Flask app to compress videos to 8MB, perfect for uploading files on Discord.
This is an alternative to https://8mb.video/
- Compress videos to a maximum of 8MB
- Built with Flask for easy deployment and integration
- Upload and compress videos through a user-friendly web interface
- Files are automatically removed after 5 minutes to save space
- Clone this repository
git clone https://github.com/njezi/8MBVid
cd 8MBVid
- Install and add FFmpeg to PATH
- Install Flask
pip install flask
- Run
app.py
python3 app.py
- Go to
http://127.0.0.1:5000/
and start using the tool.
You don't need a very strong device, but I suggest using something that has a good CPU, otherwise you may need to wait a long time for one video to compress.
- Optimize File Cleanup
- Add compression progress bar
- Make managing settings easier
- Add an option to change output file size
- Make the UI look better
- Improve Compression Settings
Make sure, that you changed the last line of app.py
to include:
app.run(debug=True, port=5000, host='0.0.0.0')
(Also make sure to change the port, if 5000
is already being used)
Please create an issue, and I will try to help you solve it.
Contributions are welcome! Please open an issue or submit a pull request if you have suggestions or improvements.