Skip to content

ManHinnn0509/tk-yt-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tk-yt-downloader

A YouTube downloader in Tkinter

P.S: The GUI may not look good since I don't really have a good art sense. Sorry!

How to use?

  1. Paste the video url into the input field on the top of the window
  2. Press the "Submit" button
  3. Wait for the program to load
  4. Click to select the stream you want to download
  5. Press the "Download" button under the listbox

Requirements

See requirements.txt

Also, FFmpeg is needed for merging video & audio parts / audio download converting

Config

There are some options that are configurable, see config.py for more details

Merging / Converting

Merging the download parts (Video & audio)

You can merge them by the following command (From here):

ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac output.mp4

Change video.mp4, audio.wav, and also output.mp4 to your file names

Converting .webm to .mp3

You can convert .webm file to .mp3 file with the following command (Edited from here)

ffmpeg -i input.webm -vn -ab 128k -ar 44100 -y output.mp3

Or:

ffmpeg -i input.webm -vn output.mp3

Change input.webm and output.mp3 to your file names

Demo

  • Launch up

  • Result

Planned

Disclaimer

This program should only be used on non-copyrighted material.