diff options
Diffstat (limited to 'user-profiles/yt-dlp.nix')
| -rw-r--r-- | user-profiles/yt-dlp.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix index 9e30bba8..eefa673f 100644 --- a/user-profiles/yt-dlp.nix +++ b/user-profiles/yt-dlp.nix | |||
| @@ -7,21 +7,25 @@ | |||
| 7 | cookies-from-browser = "firefox::none"; | 7 | cookies-from-browser = "firefox::none"; |
| 8 | mark-watched = true; | 8 | mark-watched = true; |
| 9 | format = lib.concatStringsSep "/" [ | 9 | format = lib.concatStringsSep "/" [ |
| 10 | "bestvideo*[width<=2560][height<=1440][fps<=60][vcodec!*=av01][vcodec!*=avc1]+bestaudio" | 10 | "bestvideo*[width<=2560][height<=1440][fps<=60][vcodec!*=av01][width>=1920]+bestaudio" |
| 11 | "best[width<=2560][height<=1440][fps<=60][vcodec!*=av01][vcodec!*=avc1]" | 11 | "best[width<=2560][height<=1440][fps<=60][vcodec!*=av01][width>=1920]" |
| 12 | "bestvideo*[vcodec!*=av01][vcodec!*=avc1]+bestaudio" | 12 | "bestvideo*[vcodec!*=av01][width>=1920]+bestaudio" |
| 13 | "best[vcodec!*=av01][vcodec!*=avc1]" | 13 | "best[vcodec!*=av01][width>=1920]" |
| 14 | "bestvideo*[width<=2560][height<=1440][fps<=60][vcodec!*=av01][height>=1080]+bestaudio" | ||
| 15 | "best[width<=2560][height<=1440][fps<=60][vcodec!*=av01][height>=1080]" | ||
| 16 | "bestvideo*[vcodec!*=av01][height>=1080]+bestaudio" | ||
| 17 | "best[vcodec!*=av01][height>=1080]" | ||
| 14 | "bestvideo*[width<=2560][height<=1440][fps<=60]+bestaudio" | 18 | "bestvideo*[width<=2560][height<=1440][fps<=60]+bestaudio" |
| 15 | "best[width<=2560][height<=1440][fps<=60]" | 19 | "best[width<=2560][height<=1440][fps<=60]" |
| 16 | "bestvideo*+bestaudio" | 20 | "bestvideo*+bestaudio" |
| 17 | "best" | 21 | "best" |
| 18 | ]; | 22 | ]; |
| 19 | embed-subs = true; | 23 | # embed-subs = true; |
| 20 | embed-thumbnail = true; | 24 | embed-thumbnail = true; |
| 21 | embed-metadata = true; | 25 | embed-metadata = true; |
| 22 | # write-subs = true; | 26 | # write-subs = true; |
| 23 | write-auto-subs = true; | 27 | # write-auto-subs = true; |
| 24 | sub-langs = "en(-(gb|us|orig))?,de(-(de|orig))?,-live_chat,-rechat"; | 28 | # sub-langs = "en(-(gb|us|orig))?,de(-(de|orig))?,-live_chat,-rechat"; |
| 25 | prefer-free-formats = true; | 29 | prefer-free-formats = true; |
| 26 | # downloader = "${pkgs.axel}/bin/axel"; | 30 | # downloader = "${pkgs.axel}/bin/axel"; |
| 27 | concurrent-fragments = 12; | 31 | concurrent-fragments = 12; |
