Last active
September 14, 2019 06:17
-
-
Save AzimsTech/fcfcd35326c54c7f516e7b1ca1dbc370 to your computer and use it in GitHub Desktop.
My youtube-dl config
This file contains hidden or 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
| # Ignore any errors that occur while downloading. This ensures things keep moving along as intended. | |
| -i | |
| # These will embed metadata into the video once it's done downloading. | |
| --add-metadata --all-subs --embed-subs --embed-thumbnail | |
| # This keeps track of all the videos you have downloaded so they can be skipped over the next time it's ran or the next time it finds that video. | |
| --download-archive "archive.log" | |
| # Download 480p (av1/vp9) video + opus audio from youtube | |
| -f '(bestvideo[vcodec^=av01][height<=480]/bestvideo[vcodec=vp9][height<=480])+(bestaudio[acodec=opus]/bestaudio)' | |
| # Merge video into mkv container | |
| --merge-output-format mkv | |
| # Save all videos under specified directory | |
| -o "D:\Youtube-dl\%(upload_date)s_%(uploader)s_%(title)s.%(ext)s" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment