• download the main program youtube-dl.exe.

  • download ffmpeg video conventer.

  • download any video or video list with below command

rem download video list
youtube-dl -o "T:\YTDL\%(playlist_index)s.%(title)s.%(ext)s" -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio --merge-output-format mp4 --write-auto-sub -i --convert-subs srt <video_url>

rem download single video
youtube-dl -o "T:\YTDL\%(uploader)s.%(title)s.%(ext)s" -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio --merge-output-format mp4 --write-auto-sub -i --convert-subs srt <video_url>