A GUI application that serves to do just one thing - download and convert a YouTube video, to audio (primarily for music); with the ability to trim the file - given start/end time - so you don't have to listen to annoying intro's/outro's.
Most online services nowadays have too many options which are tedious to browse through, or require subscriptions to bypass limitations on things such as the download size. Also, some videos on YouTube have unnecessary intro's/outro's which I don't want to tune into when I'm listening to music; hence this program.
- Straightforward Graphical User Interface.
- Quick YouTube to audio conversion.
- Trim/cut the audio file; download a subclip from
starttoend. - Change output file-name/directory.
Can install these via pip:
moviepyffmpegpytubedearpygui
python main.pymp3aac
Start/End input value needs to be comma separated in the form of <hr>, <sec>, <min>. Examples of input:
# Subclip starting from 1 minute and 2 seconds
1,2# Subclip starting from 15 seconds
15These will be evaluated to a tuple for moviepy.
If nothing is entered, the program will simply convert the whole downloaded YouTube video, to audio.
The output directory for the download is read from config.yml file. Simply change the string value for the directory key in config.yml to change where you want the downloaded file to go. Example:
# config.yml
directory: "/path/to/directory/"# sending the downloaded file to downloads folder
directory: "~/Downloads"Invalid directory path will be evaluated to "" which is the directory the program itself resides in.
Warning: Refrain from specifying the file-name in the string because this string is evaluated as a directory.
