This is a web-based tool for converting and compressing audio and video files. It allows users to upload files, select a format, and compress them without significant loss of quality. The tool supports multiple formats, including MP3, MP4, OGG, and WebM.
- Convert audio and video files to various formats (MP3, MP4, OGG, WebM).
- Compress files to reduce size with minimal quality loss.
- Simple, user-friendly interface.
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js, Express.js, Multer for file uploads, FFmpeg for file conversion
- Dependencies:
express: Web framework for Node.jsmulter: Middleware for handling file uploadsfluent-ffmpeg: Wrapper for FFmpeg
- Node.js installed
- FFmpeg installed
-
Clone the repository:
https://github.com/Cyrusbye720/File-compressor.git cd File-compressor -
Install the necessary dependencies:
npm install
-
Install FFmpeg:
sudo apt update sudo apt install ffmpeg
-
Run the backend server:
node server.js
-
Open
index.htmlin a browser or serve it using a local web server. -
Access the backend at
http://localhost:3000and start converting files.
- Select an audio or video file using the file input.
- Choose the desired output format.
- Click "Upload & Convert" to start the process.
- Once completed, download the converted file.
- Support for additional formats.
- Advanced compression options.
- Deploying the app to a cloud platform for public use.
This project is licensed under the MIT License.