Download YouTube Video and Audio: Difference between revisions
From WickyWiki
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
* https://yt-dl.org/ | * https://yt-dl.org/ | ||
A | A guide: | ||
* https://acceptdefaults.com/2021/10/12/youtube-to-mp3-with-youtube-dl/ | * https://acceptdefaults.com/2021/10/12/youtube-to-mp3-with-youtube-dl/ | ||
| Line 14: | Line 14: | ||
* https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe | * https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe | ||
For additional encoding formats: ffmpeg.exe (in the subfolder 'essentials'): | For additional encoding formats: ffmpeg.exe (in the archive's subfolder 'essentials'): | ||
* https://github.com/GyanD/codexffmpeg/releases/latest/ | * https://github.com/GyanD/codexffmpeg/releases/latest/ | ||
Latest revision as of 17:54, 1 September 2022
The original source:
A guide:
A fork with many useful improvements (for example a fix for slow download speed/throttling):
MS VC++ 2010 x86 Redistributable (needed for Windows)
For additional encoding formats: ffmpeg.exe (in the archive's subfolder 'essentials'):
Some of the many options:
| extract-audio | Audio only | |
| audio-format | mp3 | ffmpeg.exe required |
| audio-quality | 0 | Best quality |
| output | %%(title)s.%%(ext)s | Filename |
| write-thumbnail | Create a thumbnail from the video | |
| embed-thumbnail | Embed the thumbnail in the mp3 | |
| default-search | ytsearch | Example |
Example batch file:
set /p Search="Type query and press ENTER: " yt-dlp.exe --extract-audio --audio-format mp3 --audio-quality 0 --write-thumbnail --embed-thumbnail --output %%(title)s.%%(ext)s --default-search ytsearch "%Search%"
Mp3Gain to normalize volume level:
Example batch file:
MP3Gain\mp3gain.exe /r *.mp3