-
Notifications
You must be signed in to change notification settings - Fork 0
/
yt-dlp.conf
83 lines (72 loc) · 4.45 KB
/
yt-dlp.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# ╭────────────╮
# │ OMI config │
# ╰────────────╯
#-o ~/.cache/mpv/%(title)s.%(ext)s #automated to download to certain forlder for privacy and conflict proposes
--default-search "ytsearch" # use yt as source to download
# --downloader aria2c # mostly to resume-supprt and faster download "_"
# #embeded? yeah embed thinns in video file
-o ./%(title)s.%(ext)s # this will download in the currnt PATH/dir UR in RN
--merge-output-format mp4 # the output of file downlaoed will be in .mkv
--embed-subs # embed subtiltes to video file or containerize
--embed-chapters # embed the chapter ,
--embed-metadata # Metadata like name, title , year, uploader, descriptoin , ETC
--embed-thumbnail # add thumbnail of video , as in downloaded video too
# subtitle thigns :) yaaahh
--sub-langs en-orig,en,en* # subtitle, lang u prefer e.g EN * only
# --write-subs # why commneted to be safe from the many subtiles in folder
--write-auto-subs # auto-genrated subtitles
# #sponserblock easy brezzy for ya
--sponsorblock-mark all # block sponsers
# --sponsorblock-api https://sponsorblock.kavin.rocks/
--sponsorblock-chapter-title "[SponsorBlock]: %(category_names)l"
--sponsorblock-chapter-title all
#
# #save from crashing
# # --ignore-errors # just ignore error based issue with my network
--no-abort-on-error # bassily same as above
# #termn
# --progress-template "download-title:%(info.id)s-%(progress.eta)s"
# resolution ** most important ** the FORMAT
-f (bestvideo[height<=?1080][fps<30]/bestvideo)+(bestaudio)/best # this will download a 1080p video with atleat or lower fps than 30 mean no 60 fps
# for faster cpu & :0 mind breaker * only downlaod 1080p or lower / more than 30 fps / only vp9 / u can understand now
#-f bestvideo[height<=?1080][fps>30][vcodec=vp9.2]/bestvideo[vcodec=vp9][fps>30]/bestvideo[fps>30][vcodec=vp9][height>=1080]/bestvideo[fps>30]/bestvideo[height>720])+(bestaudio[acodec=opus]/bestaudio)/best
# what i use for video steaming aka MPV my cpu is slow so only avc1 :(
# -f (bestvideo[height<=480][vcodec!=vp9][fps<=30]/bestvideo)+(bestaudio)/best"
#-f "(bestvideo[vcodec^=av01][height>=1080][fps>30]/bestvideo[vcodec=vp9.2]
#[height>=1080][fps>30]/bestvideo[vcodec=vp9][height>=1080][fps>30]/bestvideo[vcodec^=av01]
#[height>=1080]/bestvideo[vcodec=vp9.2][height>=1080]/bestvideo[vcodec=vp9]
#[height>=1080]/bestvideo[height>=1080]/bestvideo[vcodec^=av01][height>=720]
#[fps>30]/bestvideo[vcodec=vp9.2][height>=720][fps>30]/bestvideo[vcodec=vp9][height>=720]
#[fps>30]/bestvideo[vcodec^=av01][height>=720]/bestvideo[vcodec=vp9.2]
#[height>=720]/bestvideo[vcodec=vp9][height>=720]/bestvideo[height>=720]/bestvideo)+
#(bestaudio[acodec=opus]/bestaudio)/best"-f "(bestvideo[vcodec^=av01][height>=1080][fps>30]/bestvideo[vcodec=vp9.2]
#[height>=1080][fps>30]/bestvideo[vcodec=vp9][height>=1080][fps>30]/bestvideo[vcodec^=av01]
#[height>=1080]/bestvideo[vcodec=vp9.2][height>=1080]/bestvideo[vcodec=vp9]
#[height>=1080]/bestvideo[height>=1080]/bestvideo[vcodec^=av01][height>=720]
#[fps>30]/bestvideo[vcodec=vp9.2][height>=720][fps>30]/bestvideo[vcodec=vp9][height>=720]
#[fps>30]/bestvideo[vcodec^=av01][height>=720]/bestvideo[vcodec=vp9.2]
#[height>=720]/bestvideo[vcodec=vp9][height>=720]/bestvideo[height>=720]/bestvideo)+
#(bestaudio[acodec=opus]/bestaudio)/best"
#
# Audio:
# 251 opus @ 160k 48kHz
# 140 m4a @ 128k 44kHz
# 171 ogg @ 128k 44kHz
# 249 opus @ 50k 48kHz
# 250 opus @ 70k 48kHz
# Video:
# 315 vp9 @ 2160p 60fps
# 266 avc1 @ 2160p 30fps
# 313 vp9 @ 2160p 30fps
# 308 vp9 @ 1440p 60fps
# 264 avc1 @ 1440p 30fps
# 271 vp9 @ 1440p 30fps
# 299 avc1 @ 1080p 60fps
# 303 vp9 @ 1080p 60fps
# 137 avc1 @ 1080p 30fps
# 248 vp9 @ 1080p 30fps
# 298 avc1 @ 720p 60fps
# 302 vp9 @ 720p 60fps
# 136 avc1 @ 720p 30fps
# 247 vp9 @ 720p 30fps
# ytdl-format=315+251/315+140/315+171/266+251/266+140/266+171/313+251/313+140/313+171/308+251/308+140/308+171/264+251/264+140/264+171/271+251/271+140/271+171/299+251/299+140/299+171/303+251/303+140/303+171/137+251/137+140/137+171/248+251/248+140/248+171/298+251/298+140/298+171/302+251/302+140/302+171/136+251/136+140/136+171/247+251/247+140/247+171/best