import scys yt-dlp config

This commit is contained in:
Franzi 2024-09-07 09:18:26 +02:00
parent 764baad9b4
commit dcfa7e0ea5
Signed by: kunsi
GPG key ID: 12E3D2136B818350

26
.config/yt-dlp/config Normal file
View file

@ -0,0 +1,26 @@
# Remove problematic characters from file names.
--restrict-filenames
# Have service and author in the file name.
--output '%(title).120s [%(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
# 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-subs --embed-thumbnail --embed-metadata --embed-chapters --write-info-json --no-clean-info-json --video-multistreams --audio-multistreams --merge-output-format mkv'
# 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'