Media Converter is a Django-based web application for converting media files to different formats using FFmpeg.
- File Upload: Users can upload multiple media files simultaneously.
- Format Conversion: Convert media files to various formats such as MP3 and MP4.
- Bitrate Options: Choose different bitrate options for audio files (e.g., 128 kbps, 192 kbps).
- Download Converted Files: Download the converted files after processing.
- Django: Web framework for building the application.
- FFmpeg: Tool for handling multimedia data, used for converting media files.
- SQLite: Database for storing file metadata.
- HTML/CSS: Frontend for user interaction.
-
Clone the repository:
git clone https://github.com/yourusername/converter-master.git cd converter-master -
Create a virtual environment and activate it:
python3 -m venv env source env/bin/activate -
Install the dependencies:
pip install -r requirements.txt
-
Run the database migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver 0.0.0.0:8123
Build docker image
docker build -t media-converter .Run container
docker run -d -p 8123:8123 -v /path/to/local/media:/app/media
Save image
docker save -o media-converter.tar media-converter
-
Access the application: Open your browser and go to
http://127.0.0.1:8123.
-
Upload Files:
- Navigate to the upload page.
- Select the files you want to upload.
- Choose the desired output format and bitrate.
- Click the upload button to start the conversion process.
-
Download Converted Files:
- After the conversion is complete, a link to download the converted files will be provided on the result page.