dotfiles/.config/yt-dlp/config

31 lines
1.2 KiB
Text
Raw Normal View History

2024-09-07 07:18:26 +00:00
# Have service and author in the file name.
--output '%(title)s [%(extractor)s %(id)s %(uploader_id)s].%(ext)s'
2024-09-07 07:18:26 +00:00
# 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
2024-09-07 07:18:26 +00:00
# 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 '--embed-thumbnail --video-multistreams --audio-multistreams --merge-output-format mkv'
--alias archivejson '--embed-thumbnail --write-info-json --no-clean-info-json --video-multistreams --audio-multistreams --merge-output-format mkv'
2024-09-07 07:18:26 +00:00
# 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'