Created
May 12, 2023 18:05
-
-
Save yene/f7dd6c6889fedc0b13feef2df3640dff to your computer and use it in GitHub Desktop.
yt-dlp.conf
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
# do not stop on errors | |
--ignore-errors | |
# Write metadata to the video file | |
#--add-metadata | |
# skip modified time, use the current datetime for modification time | |
--no-mtime | |
# prefer mp4, and we don't need 4k | |
-f 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/bestvideo[height<=1080]+bestaudio' | |
# we want to merge with ffmpeg into mp4 | |
--merge-output-format mp4 | |
--ffmpeg-location /opt/homebrew/bin/ffmpeg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment