Skip to content

njezi/8MBVid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8MBVid

A simple Flask app to compress videos to 8MB, perfect for uploading files on Discord.
This is an alternative to https://8mb.video/

Features

  • 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

How to use

  1. Clone this repository
git clone https://github.com/njezi/8MBVid
cd 8MBVid
  1. Install and add FFmpeg to PATH
  2. Install Flask
pip install flask
  1. Run app.py
python3 app.py
  1. Go to http://127.0.0.1:5000/ and start using the tool.

System Requirements

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.

TODO

  • 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

Troubleshooting

I can't visit the site from another device

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)

Anything else

Please create an issue, and I will try to help you solve it.

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have suggestions or improvements.