2025-07-31 12:06:26 +02:00

40 lines
1.2 KiB
Plaintext

#
#
# # Prioritize 60fps at 1080p.
# -f "bestvideo[height=1080][fps>30]+bestaudio/bestvideo[height<=1080]+bestaudio/best"
#
#
# # Prefer AV1 codec, best video, best audio. Fallback to best overall.
# -f "bestvideo[vcodec^=av01]+bestaudio/bestvideo+bestaudio/best"
# This is a comment. Lines starting with # are ignored.
# -----------------
# QUALITY SELECTION
# -----------------
# Use the -f or --format option to select quality.
# The format is: <video_filter>+<audio_filter>/<fallback>
# This example tries to get the best video up to 1080p with the best audio.
# If a combined stream is not available, it merges the best separate streams.
# 'best' is a fallback if nothing else matches.
-f "bestvideo/best+bestaudio/best"
# -f "bestvideo[height<=2160][fps>=50]+bestvideo[height>=1000]+bestaudio/best"
# -----------------
# OTHER USEFUL OPTIONS
# -----------------
# Download subtitles if available (e.g., for saving files)
# --write-subs
# --sub-lang "en.*,en"
# Prefer free formats when available
# --prefer-free-formats
# Use a sponsorblock remover to skip ad segments in the video data
# This is useful for both streaming and downloading.
--sponsorblock-mark all
--sponsorblock-remove sponsor,selfpromo