This is a simple Audio-Video Converter implemented in Python with an interactive web interface using HTML, CSS, and JavaScript. The server-side implementation is done in Java using com.sun.net.httpserver.HttpServer
.
- Convert audio files (MP3 or WAV) to video files (MP4)
- Convert video files (MP4) to audio files (MP3)
- Python 3.x
- Java Development Kit (JDK)
- Web browser with JavaScript support
The Python implementation uses the moviepy
library for audio and video processing.
-
Install the required Python packages:
-
Run the
audio_video_converter.py
file using the following command:audio_video_converter.py
-
Follow the on-screen instructions to convert audio to video or video to audio.
-
The converted files will be saved to the specified output paths.
The web interface is implemented using HTML, CSS, and JavaScript. It allows you to select audio or video files and convert them interactively.
-
Ensure that Python and Java are installed on your machine.
-
Open a terminal or command prompt and navigate to the directory where you saved the files.
-
Start the Java server by running the following command:
Server.java
-
Open the
index.html
file in a web browser. -
Use the provided form to select audio or video files and specify the output file paths.
-
Click the "Convert" button to initiate the conversion process.
-
The output details will be displayed below the form.
Feel free to modify and extend the application according to your needs or use it as a learning resource. If you have any questions or suggestions, please feel free to reach out or submit an issue in this repository.
Enjoy converting your audio and video files!