Last active
May 3, 2020 17:28
-
-
Save fsiler/4d16ef0356ea5f6785349b4cb6513dfc to your computer and use it in GitHub Desktop.
Notes for EMC productions mass mashups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
youtube-dl "ytsearchall:#digitaldrumlineproject" --config-location $HOME/EMC/youtube-dl.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
youtube-dl "ytsearchall:#digitaldrumlineproject" --dump-json --flat-playlist | jq -r ".url" | parallel --shuf -j4 --retries 10 youtube-dl --config-location $HOME/EMC/youtube-dl.config -- ::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg-normalize $HOME/EMC/Raw/**/*.mp4 -of $HOME/EMC/Normalized --extension mp4 -c:a aac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Needed software: | |
- HomeBrew (brew.sh) | |
- youtube-dl | |
- ffmpeg | |
- parallel | |
- jq | |
- ffmpeg-normalize (pip install ffmpeg-normalize) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# place this in $HOME/EMC/youtube-dl.config | |
-f best[ext=mp4]/best | |
-o "$HOME/EMC/Raw/%(title)s %(id)s %(uploader)s.%(ext)s" | |
--recode mp4 | |
--default-search ytsearch | |
--mark-watched | |
--sub-lang en --write-auto-sub --write-sub --embed-subs | |
--add-metadata | |
--xattrs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment