dotfiles/.config/yt-dlp/config

33 lines
1 KiB
Text

# Have service and author in the file name.
--output '%(title)s [%(extractor)s %(id)s %(uploader_id)s].%(ext)s'
# Try to download live streams from the start (use --no-live-from-start to disable).
--live-from-start
# Wait for scheduled streams to become available, retry after 10 seconds.
--wait-for-video 10
# Display progress in console title.
--console-title
# Create SponsorBlock chapters.
--sponsorblock-mark all
# embed some stuff
--embed-chapters
--embed-metadata
--embed-subs
--embed-thumbnail
--video-multistreams
--audio-multistreams
--merge-output-format mkv
# The following options are basically presets for different use cases.
# Create a new option `--archive` that will embed all video and audio streams
# and as much information as possible in the video as well as create a sidecar
# file with full metadata.
--alias archive '--write-info-json --no-clean-info-json'
# Create a `--mp4` option that will optimize for getting an MP4 file, for
# sharing on the Fedi etc. `-S ext` does the heavy lifting here.
--alias mp4 '-S ext --merge-output-format mp4'