Download YouTube Video and Audio: Difference between revisions

From WickyWiki
Created page with "Category:Video Category:202208 Guide: * https://acceptdefaults.com/2021/10/12/youtube-to-mp3-with-youtube-dl/ Fork with many useful improvements: * https://github.com/yt-dlp/yt-dlp#release-files MS VC++ 2010 x86 Redistributable (needed for Windows) * https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe For additional encoding formats: ffmpeg.exe (as in essentials): * https://github.com/GyanD/codexffmpeg/releases/..."
 
mNo edit summary
Line 11: Line 11:
* 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 (as in essentials):
For additional encoding formats: ffmpeg.exe (in the subfolder 'essentials'):
* https://github.com/GyanD/codexffmpeg/releases/latest/
* https://github.com/GyanD/codexffmpeg/releases/latest/



Revision as of 19:53, 28 August 2022


Guide:

Fork with many useful improvements:

MS VC++ 2010 x86 Redistributable (needed for Windows)

For additional encoding formats: ffmpeg.exe (in the subfolder 'essentials'):

Some of the many options:

 --extract-audio - no video, audio only
 --audio-format mp3
 --audio-quality 0  - best quality
 --output %%(title)s.%%(ext)s
 --write-thumbnail --embed-thumbnail
 --default-search ytsearch 

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