Skip to content

mo-root/AudioToVid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Audio to Video

AudiToVideo – index

Installation

  1. Clone the repository.
 git clone https://github.com/mo-root/AudioToVid.git
  1. Install the dependencies.
pip install -r requirements.txt
  1. Obtain a Google Custom Search Engine API key for the google_images_search library to work, you can get it from here : https://developers.google.com/custom-search/v1/introduction#identify_your_application_to_google_with_api_key
  2. Replace "YOUR_API_KEY" in the code with the obtained API Key
gis = GoogleImagesSearch('your_dev_api_key', 'your_project_cx')

Usage/Examples

  1. Run the server
python app.py

  1. Open your browser and go to http://localhost:5000/
  2. Upload an mp3 file and wait for the video to be generated.

Technology

This project is built using:

Tech Explanation
Flask A micro web framework for Python
SpeechRecognition library for searching for images using words
moviepy A library for video editing in python
CSS and JavaScript 3D and animation effects

Note

  • google-images-search library is not officially supported and you may face some issues while using it.
  • You may face some issues while using moviepy with some specific versions of ffmpeg. You can install the latest version of ffmpeg using pip.
  • This is a basic example, you can add more functionality as per your requirement, for example, you can add more transition effects, change the duration of each image, and so on.

License

MIT License

This project is licensed under the MIT License.

Contributions

All contributions are welcome! If you want to add new features or improve something, please open a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published