1.1 Sept 2016
The goal of this script is to download and extract Youtube audio without quality loss.
Most of the available tools convert/reencode the audio stream, which is harmful to quality especially since most of the content on youtube has already been reencoded multiple times, even before it was uploaded.
#DeepFriedJpg.jpg
RUN.bat
- Specify youtube video URL
- In this step choose the
FORMAT CODE
with the highest bitrate audio.AAC
(MP4/M4A DASH
toMP4/M4A
container): UsuallyFORMAT CODE
22
or140
with 192kbit/s or 128kbit/s respectively.OPUS
(WEBM DASH
toOGG
container): UsuallyFORMAT CODE
251
with ~160kbit/s.
- In this step you can choose to discard the video stream and remux to the container specified above. This is necessary for most audio players as they expect a non-dash standard containers.
- The file
song.{container}
is generated within the same folder asRUN.bat
.
ffmpeg/ffmpeg.exe
mp4box/mp4box.exe
youtube-dl/youtube-dl.exe
cecho.exe
cecho_x64.exe
js.dll
js32.dll