PS Wiki

Живее всех живых

Инструменты пользователя

Инструменты сайта


youtube:download:yt-dlp

yt-dlp

Информация

  • Информация о видео: yt-dlp --list-formats https://www.youtube.com/watch?v=YYariby1BuI
    • Пример 1: yt-dlp --list-formats https://www.youtube.com/watch?v=YYariby1BuI
      ID      EXT   RESOLUTION FPS CH │   FILESIZE   TBR PROTO │ VCODEC        VBR ACODEC      ABR ASR MORE INFO
      ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
      sb2     mhtml 48x27        0    │                  mhtml │ images                                storyboard
      sb1     mhtml 80x45        0    │                  mhtml │ images                                storyboard
      sb0     mhtml 160x90       0    │                  mhtml │ images                                storyboard
      249-drc webm  audio only      2 │    8.41MiB   50k https │ audio only        opus        50k 48k low, DRC, webm_dash
      250-drc webm  audio only      2 │   10.19MiB   60k https │ audio only        opus        60k 48k low, DRC, webm_dash
      249     webm  audio only      2 │    8.40MiB   50k https │ audio only        opus        50k 48k low, webm_dash
      250     webm  audio only      2 │   10.17MiB   60k https │ audio only        opus        60k 48k low, webm_dash
      140-drc m4a   audio only      2 │   21.95MiB  129k https │ audio only        mp4a.40.2  129k 44k medium, DRC, m4a_dash
      251-drc webm  audio only      2 │   18.40MiB  109k https │ audio only        opus       109k 48k medium, DRC, webm_dash
      140     m4a   audio only      2 │   21.95MiB  129k https │ audio only        mp4a.40.2  129k 44k medium, m4a_dash
      251     webm  audio only      2 │   18.34MiB  108k https │ audio only        opus       108k 48k medium, webm_dash
      160     mp4   256x144     25    │    8.84MiB   52k https │ avc1.4d400c   52k video only          144p, mp4_dash
      278     webm  256x144     25    │   11.19MiB   66k https │ vp9           66k video only          144p, webm_dash
      133     mp4   426x240     25    │   18.58MiB  110k https │ avc1.4d4015  110k video only          240p, mp4_dash
      242     webm  426x240     25    │   19.28MiB  114k https │ vp9          114k video only          240p, webm_dash
      134     mp4   640x360     25    │   33.64MiB  198k https │ avc1.4d401e  198k video only          360p, mp4_dash
      18      mp4   640x360     25  2 │ ≈ 56.86MiB  328k https │ avc1.42001E       mp4a.40.2       44k 360p
      243     webm  640x360     25    │   40.57MiB  239k https │ vp9          239k video only          360p, webm_dash
      135     mp4   854x480     25    │   55.12MiB  325k https │ avc1.4d401e  325k video only          480p, mp4_dash
      244     webm  854x480     25    │   55.80MiB  329k https │ vp9          329k video only          480p, webm_dash
      22      mp4   1280x720    25  2 │ ≈113.02MiB  651k https │ avc1.64001F       mp4a.40.2       44k 720p
      136     mp4   1280x720    25    │   88.49MiB  522k https │ avc1.4d401f  522k video only          720p, mp4_dash
      247     webm  1280x720    25    │   95.24MiB  562k https │ vp9          562k video only          720p, webm_dash
      137     mp4   1920x1080   25    │  213.45MiB 1259k https │ avc1.640028 1259k video only          1080p, mp4_dash
      248     webm  1920x1080   25    │  165.09MiB  974k https │ vp9          974k video only          1080p, webm_dash
    • Пример 2: yt-dlp --list-formats https://www.youtube.com/watch?v=VMqyY4IOb1U
      ID  EXT   RESOLUTION FPS CH │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR ASR MORE INFO
      ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
      sb2 mhtml 48x27        0    │                  mhtml │ images                                  storyboard
      sb1 mhtml 80x45        0    │                  mhtml │ images                                  storyboard
      sb0 mhtml 160x90       0    │                  mhtml │ images                                  storyboard
      233 mp4   audio only        │                  m3u8  │ audio only          unknown             Default
      234 mp4   audio only        │                  m3u8  │ audio only          unknown             Default
      599 m4a   audio only      2 │    5.30MiB   31k https │ audio only          mp4a.40.5   31k 22k ultralow, m4a_dash
      600 webm  audio only      2 │    5.86MiB   34k https │ audio only          opus        34k 48k ultralow, webm_dash
      139 m4a   audio only      2 │    8.40MiB   49k https │ audio only          mp4a.40.5   49k 22k low, m4a_dash
      249 webm  audio only      2 │    8.57MiB   50k https │ audio only          opus        50k 48k low, webm_dash
      250 webm  audio only      2 │   10.66MiB   62k https │ audio only          opus        62k 48k low, webm_dash
      140 m4a   audio only      2 │   22.29MiB  129k https │ audio only          mp4a.40.2  129k 44k medium, m4a_dash
      251 webm  audio only      2 │   19.22MiB  112k https │ audio only          opus       112k 48k medium, webm_dash
      17  3gp   176x144      6  1 │   14.55MiB   84k https │ mp4v.20.3           mp4a.40.2       22k 144p
      597 mp4   256x144     13    │    5.82MiB   34k https │ avc1.4d400b     34k video only          144p, mp4_dash
      602 mp4   256x144     13    │ ~ 19.19MiB  109k m3u8  │ vp09.00.10.08  109k video only
      598 webm  256x144     13    │    4.18MiB   24k https │ vp9             24k video only          144p, webm_dash
      269 mp4   256x144     25    │ ~ 29.89MiB  170k m3u8  │ avc1.4D400C    170k video only
      160 mp4   256x144     25    │    8.07MiB   47k https │ avc1.4D400C     47k video only          144p, mp4_dash
      603 mp4   256x144     25    │ ~ 29.80MiB  169k m3u8  │ vp09.00.11.08  169k video only
      278 webm  256x144     25    │   11.25MiB   65k https │ vp09.00.11.08   65k video only          144p, webm_dash
      229 mp4   426x240     25    │ ~ 54.75MiB  311k m3u8  │ avc1.4D4015    311k video only
      133 mp4   426x240     25    │   17.27MiB  100k https │ avc1.4D4015    100k video only          240p, mp4_dash
      604 mp4   426x240     25    │ ~ 50.08MiB  284k m3u8  │ vp09.00.20.08  284k video only
      242 webm  426x240     25    │   18.74MiB  109k https │ vp09.00.20.08  109k video only          240p, webm_dash
      230 mp4   640x360     25    │ ~140.70MiB  798k m3u8  │ avc1.4D401E    798k video only
      134 mp4   640x360     25    │   30.99MiB  180k https │ avc1.4D401E    180k video only          360p, mp4_dash
      18  mp4   640x360     25  2 │ ≈ 54.49MiB  309k https │ avc1.42001E         mp4a.40.2       44k 360p
      605 mp4   640x360     25    │ ~112.85MiB  640k m3u8  │ vp09.00.21.08  640k video only
      243 webm  640x360     25    │   39.87MiB  232k https │ vp09.00.21.08  232k video only          360p, webm_dash
      231 mp4   854x480     25    │ ~182.40MiB 1035k m3u8  │ avc1.4D401E   1035k video only
      135 mp4   854x480     25    │   49.24MiB  286k https │ avc1.4D401E    286k video only          480p, mp4_dash
      606 mp4   854x480     25    │ ~189.45MiB 1075k m3u8  │ vp09.00.30.08 1075k video only
      244 webm  854x480     25    │   56.03MiB  325k https │ vp09.00.30.08  325k video only          480p, webm_dash
      22  mp4   1280x720    25  2 │ ≈102.39MiB  581k https │ avc1.64001F         mp4a.40.2       44k 720p
      232 mp4   1280x720    25    │ ~254.36MiB 1443k m3u8  │ avc1.4D401F   1443k video only
      136 mp4   1280x720    25    │   77.77MiB  452k https │ avc1.4D401F    452k video only          720p, mp4_dash
      609 mp4   1280x720    25    │ ~339.87MiB 1928k m3u8  │ vp09.00.31.08 1928k video only
      247 webm  1280x720    25    │   93.69MiB  544k https │ vp09.00.31.08  544k video only          720p, webm_dash
      270 mp4   1920x1080   25    │ ~826.67MiB 4690k m3u8  │ avc1.640028   4690k video only
      137 mp4   1920x1080   25    │  186.31MiB 1082k https │ avc1.640028   1082k video only          1080p, mp4_dash
      614 mp4   1920x1080   25    │ ~553.29MiB 3139k m3u8  │ vp09.00.40.08 3139k video only
      248 webm  1920x1080   25    │  157.61MiB  916k https │ vp09.00.40.08  916k video only          1080p, webm_dash
      616 mp4   1920x1080   25    │ ~919.57MiB 5217k m3u8  │ vp09.00.40.08 5217k video only          Premium

Загрузка

  • Загрузка видео:
    yt-dlp https://www.youtube.com/watch?v=YYariby1BuI
  • Загрузка видео с параметрами:
    yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" https://www.youtube.com/watch?v=YYariby1BuI
  • Загрузка списка:
    yt-dlp https://www.youtube.com/playlist?list=PL3JJhDAvvqat_ZOJxEtI6ijTdea0q8852
  • Загрузка списка с параметрами:
    yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" https://www.youtube.com/playlist?list=PL3JJhDAvvqat_ZOJxEtI6ijTdea0q8852
  • Только звук: yt-dlp -f 140 <video-url>
  • Только видео: yt-dlp -f 299 <video-url>
  • Видео и звук: yt-dlp -f 299+140 <video-url>
youtube/download/yt-dlp.txt · Последнее изменение: 2024.09.22 23:35:44 — admin