A web app that creates mashup of videos of your favourite singer.
- Search youtube for n number of videos of a singer
- Download the video files.
- Convert them to audio
- Trim the audio files to certain duration
- Merge all audio files
- Create a zip file and mail it
library/module | description |
---|---|
youtubesearchpython |
to search for relevant video links. |
pytube |
to download video files from youtube |
moviepy |
to convert video files to audio (mp3) files, trim and merge them |
zipfile |
module to zip the audio file |
smtplib |
to send mail |
To run from cli, use the following command:
python 102017010.py [SingerName] [NumberOfVideos] [AudioDuration] [OutputFileName]
Example:
python 102017010.py zayn_malik 2 20 zayn.mp3