Simple youtube video to mp3 converter using pytube and ffmpeg. Currently on tested on macOS. The idea is to build a full fledged application using Python frameworks that allows for
- An interactive GUI to show top 10 searches relating to the keyword.
- Ability to change the file type(mp3/aac/wav)
- Ability to clip/trim the audio and as well as some effects(reverb/nightcore) post conversion.
- Being able to ship the app in Windows as well.
- Need to add tests to verify functionality.
Implementation ideas => 1 and 2 can be implemented using Tkinter or Pygame => 3 can be implemented using sounddevice, matplotlib or numpy.
Instructions to use:
- Install pytube[for download], ffmpeg[for conversion], soundfile and sounddevice[for trimming]
- Find the url of the video you want, youtubeurl
- Decide a name for your file, name
- Write the code in terminal as, python3 new.py youtubeurl name
- To trim the audio, first place it in music folder and then run trim.py