ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.31k stars 10.03k forks source link

How to get Youtube URL of this ID #32922

Closed buufmax closed 2 months ago

buufmax commented 2 months ago

I want to Download this Youtube Video.

This is the list format. "yt-dlp --list-formats"

[Youtube URL](https://www.youtube.com/watch?v=FEd4k3_kmxM)
[youtube] Extracting URL: [Youtube](https://www.youtube.com/watch?v=FEd4k3_kmxM)
[youtube] FEd4k3_kmxM: Downloading webpage
[youtube] FEd4k3_kmxM: Downloading ios player API JSON
[youtube] FEd4k3_kmxM: Downloading web creator player API JSON
[youtube] FEd4k3_kmxM: Downloading player 19828c26
[youtube] FEd4k3_kmxM: Downloading m3u8 information
[info] Available formats for FEd4k3_kmxM:
ID      EXT   RESOLUTION FPS HDR 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
139-drc m4a   audio only          2 │    2.94MiB    49k https │ audio only           mp4a.40.5   49k 22k low, DRC, m4a_dash
139     m4a   audio only          2 │    2.94MiB    49k https │ audio only           mp4a.40.5   49k 22k low, m4a_dash
249     webm  audio only          2 │    2.78MiB    46k https │ audio only           opus        46k 48k low, webm_dash
250     webm  audio only          2 │    3.68MiB    61k https │ audio only           opus        61k 48k low, webm_dash
140-drc m4a   audio only          2 │    7.79MiB   129k https │ audio only           mp4a.40.2  129k 44k medium, DRC, m4a_dash
140     m4a   audio only          2 │    7.79MiB   129k https │ audio only           mp4a.40.2  129k 44k medium, m4a_dash
251     webm  audio only          2 │    7.38MiB   123k https │ audio only           opus       123k 48k medium, webm_dash
602     mp4   256x144     15        │ ~  5.89MiB    98k m3u8  │ vp09.00.10.08    98k video only
269     mp4   256x144     30        │ ~ 10.86MiB   180k m3u8  │ avc1.4D400C     180k video only
160     mp4   256x144     30        │    6.47MiB   108k https │ avc1.4D400C     108k video only          144p, mp4_dash
603     mp4   256x144     30        │ ~ 10.07MiB   167k m3u8  │ vp09.00.11.08   167k video only
278     webm  256x144     30        │    5.65MiB    94k https │ vp09.00.11.08    94k video only          144p, webm_dash
631     mp4   256x144     60 10     │ ~ 18.63MiB   309k m3u8  │ vp09.02.11.10   309k video only
330     webm  256x144     60 10     │   14.20MiB   236k https │ vp09.02.11.10   236k video only          144p60 HDR, webm_dash
229     mp4   426x240     30        │ ~ 20.60MiB   342k m3u8  │ avc1.4D4015     342k video only
133     mp4   426x240     30        │   14.35MiB   239k https │ avc1.4D4015     239k video only          240p, mp4_dash
604     mp4   426x240     30        │ ~ 18.33MiB   305k m3u8  │ vp09.00.20.08   305k video only
242     webm  426x240     30        │   12.30MiB   204k https │ vp09.00.20.08   204k video only          240p, webm_dash
632     mp4   426x240     60 10     │ ~ 34.97MiB   581k m3u8  │ vp09.02.21.10   581k video only
331     webm  426x240     60 10     │   29.03MiB   483k https │ vp09.02.21.10   483k video only          240p60 HDR, webm_dash
230     mp4   640x360     30        │ ~ 45.24MiB   751k m3u8  │ avc1.4D401E     751k video only
134     mp4   640x360     30        │   32.30MiB   537k https │ avc1.4D401E     537k video only          360p, mp4_dash
18      mp4   640x360     30      2 │ ≈ 40.03MiB   666k https │ avc1.42001E          mp4a.40.2       44k 360p
605     mp4   640x360     30        │ ~ 35.37MiB   588k m3u8  │ vp09.00.21.08   588k video only
243     webm  640x360     30        │   22.51MiB   374k https │ vp09.00.21.08   374k video only          360p, webm_dash
633     mp4   640x360     60 10     │ ~ 75.56MiB  1255k m3u8  │ vp09.02.30.10  1255k video only
332     webm  640x360     60 10     │   61.54MiB  1023k https │ vp09.02.30.10  1023k video only          360p60 HDR, webm_dash
231     mp4   854x480     30        │ ~ 83.19MiB  1382k m3u8  │ avc1.4D401F    1382k video only
135     mp4   854x480     30        │   62.55MiB  1040k https │ avc1.4D401F    1040k video only          480p, mp4_dash
606     mp4   854x480     30        │ ~ 60.09MiB   998k m3u8  │ vp09.00.30.08   998k video only
244     webm  854x480     30        │   42.37MiB   705k https │ vp09.00.30.08   705k video only          480p, webm_dash
634     mp4   854x480     60 10     │ ~134.21MiB  2229k m3u8  │ vp09.02.31.10  2229k video only
333     webm  854x480     60 10     │  115.36MiB  1918k https │ vp09.02.31.10  1918k video only          480p60 HDR, webm_dash
136     mp4   1280x720    30        │  123.71MiB  2057k https │ avc1.64001f    2057k video only          720p, mp4_dash
247     webm  1280x720    30        │   85.18MiB  1416k https │ vp9            1416k video only          720p, webm_dash
311     mp4   1280x720    60        │ ~242.19MiB  4023k m3u8  │ avc1.640020    4023k video only
298     mp4   1280x720    60        │  195.22MiB  3246k https │ avc1.640020    3246k video only          720p60, mp4_dash
612     mp4   1280x720    60        │ ~213.83MiB  3552k m3u8  │ vp09.00.40.08  3552k video only
302     webm  1280x720    60        │  149.71MiB  2489k https │ vp09.00.40.08  2489k video only          720p60, webm_dash
635     mp4   1280x720    60 10     │ ~294.92MiB  4899k m3u8  │ vp09.02.40.10  4899k video only
334     webm  1280x720    60 10     │  261.80MiB  4353k https │ vp09.02.40.10  4353k video only          720p60 HDR, webm_dash
312     mp4   1920x1080   60        │ ~406.83MiB  6758k m3u8  │ avc1.64002A    6758k video only
299     mp4   1920x1080   60        │  345.30MiB  5742k https │ avc1.64002A    5742k video only          1080p60, mp4_dash
617     mp4   1920x1080   60        │ ~317.66MiB  5277k m3u8  │ vp09.00.41.08  5277k video only
303     webm  1920x1080   60        │  242.56MiB  4033k https │ vp09.00.41.08  4033k video only          1080p60, webm_dash
636     mp4   1920x1080   60 10     │ ~446.76MiB  7421k m3u8  │ vp09.02.41.10  7421k video only
335     webm  1920x1080   60 10     │  401.25MiB  6672k https │ vp09.02.41.10  6672k video only          1080p60 HDR, webm_dash
623     mp4   2560x1440   60        │ ~893.31MiB 14839k m3u8  │ vp09.00.50.08 14839k video only
308     webm  2560x1440   60        │  694.42MiB 11547k https │ vp09.00.50.08 11547k video only          1440p60, webm_dash
639     mp4   2560x1440   60 10     │ ~  1.05GiB 17901k m3u8  │ vp09.02.50.10 17901k video only
336     webm  2560x1440   60 10     │  955.50MiB 15888k https │ vp09.02.50.10 15888k video only          1440p60 HDR, webm_dash
628     mp4   3840x2160   60        │ ~  2.07GiB 35269k m3u8  │ vp09.00.51.08 35269k video only
315     webm  3840x2160   60        │    1.35GiB 23048k https │ vp09.00.51.08 23048k video only          2160p60, webm_dash
642     mp4   3840x2160   60 10     │ ~  1.85GiB 31500k m3u8  │ vp09.02.51.10 31500k video only
337     webm  3840x2160   60 10     │    1.66GiB 28276k https │ vp09.02.51.10 28276k video only          2160p60 HDR, webm_dash

I am interested in ID 628. I would like it to work at full video/audio. Any way to get it Please?

My efforts bring only "1.05GiB" size with this alias code. alias ytg="yt-dlp --trim-filenames 1 --format "bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]""

I got it successfully the "webm format which has a higher bitrate, but I don't care about this format regardless of the high quality. I just want te get ID 628 with both Video/Audio.

dirkf commented 2 months ago

30839: "... if you were actually running yt-dlp ..."

However, consider reading the manual again to understand the option --format ... and if you don't then succeed be sure to provide a text log of your failing command, with -vU, at the other tracker.