This repository contains a collection of files to help create albums of Yohan Kim's music.
If you enjoy Yohan's music, please consider subscribing to his Patreon account, offering additional "behind the scenes" videos, instructional material, and so much more! :)
To download and process the YouTube links given in the *.info files
in the info sub-folders, the following software is required:
- python (to run the scripts)
- youtube-dl
- ffmpeg
Alternatively to python/youtube-dl, you can of course also use a service on the Internet (e.g. https://yt5s.com/) to download the videos.
As a broad major selection, the music was sorted into a Faith and a
Secular album in the albums sub-folder. Each of these album
sub-folders has a mirrored structure, containing
- an
infofolder with small text files containing instructions - a
listsfolder containing playlists (orders) for easy listening - an
m4afolder into which.m4afiles will be downloaded - an
mp3folder into which.mp3files can be converted - an
origfolder into which original.m4afiles can be downloaded
For music players that support the native audio stream embedded in the YouTube videos (M4A format), it is sufficient to extract the audio from the videos using
ffmpeg -i SOURCE.mp4 -vn -acodec copy <FFMPEG_OPTIONS> TARGET.m4a
whereas the FFMPEG_OPTIONS can be found in the text files in the info
sub-folder. This cuts off the trailing portion in newer videos (starting
late 2018).
To convert files to MP3 format, you can use
ffmpeg -i SOURCE.mp4 -vn -ar 44100 -ac 2 -b:a 192k TARGET.mp3
or
ffmpeg -i SOURCE.m4a -vn -ar 44100 -ac 2 -b:a 192k TARGET.mp3
And this can of course be combined into a single step
ffmpeg -i SOURCE.mp4 -vn -ar 44100 -ac 2 -b:a 192k <FFMPEG_OPTIONS> TARGET.mp3