Last active
October 25, 2020 20:35
-
-
Save b9AcE/22ac08715806d38336a9fb37dfd6aa00 to your computer and use it in GitHub Desktop.
A youtube-dl config-file that adds use of aria2 and ffmpeg-normazlie by default.
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
# | |
# /etc/youtube-dl.conf | |
# | |
# System-wide configuration-file for youtube-dl. | |
# As aria2 doesn't fix the bug resulting in failed downloads with "invalid range" error-messages, the use of aria2 is currently commented out and replaced with youtube-dl's native download. | |
# Used to set default to call aria2 for parallelization and ffmpeg-normalize to apply EBU R128 to audio. | |
# Note: all config-file parameters get overridden by setting to anything else at commandline. | |
# | |
# Version: b9AcE, 20201025-01 | |
# | |
#--no-mtime -o "%(autonumber)s_-_%(title)s.%(ext)s" --restrict-filenames --retries infinite --ignore-errors --no-overwrites --continue --write-sub --convert-subs srt --format "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:68.9) Gecko/20100101 Goanna/4.4 Firefox/52.9 PaleMoon/28.8.3" --external-downloader aria2c --external-downloader-args '--file-allocation=prealloc --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:68.9) Gecko/20100101 Goanna/4.4 Firefox/52.9 PaleMoon/28.8.3" --continue=true --max-concurrent-downloads=5 --max-connection-per-server=5 --split=5 --min-split-size=1M --summary-interval=0 --max-tries=0 --retry-wait=5 --http-accept-gzip=true --enable-http-keep-alive=true --enable-http-pipelining=true' --exec 'ffmpeg-normalize -c:a libfdk_aac --extension mp4 -e="-vbr 3" {}' | |
--no-mtime -o "%(autonumber)s_-_%(title)s.%(ext)s" --restrict-filenames --retries infinite --ignore-errors --no-overwrites --continue --write-sub --convert-subs srt --format "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.9) Gecko/20100101 Goanna/4.6 Firefox/68.9 PaleMoon/28.14.2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment