youtube-dl – 4k video download

How to download 4k videos with youtube-dl:

To install the software youtube-dl under Linux you just have to use apt-get install youtube-dl.

With the parameter -F you can display all available formats to download.

As you can see from the list the 4k format code is in this case 266.

With the parameter -f 266 you can download the video from youtube with the 4k resolution.

apt-get install youtube-dl

youtube-dl -F ""

format code extension resolution note
249 webm audio only DASH audio 52k , opus @ 50k (48000Hz), 1.96MiB
250 webm audio only DASH audio 65k , opus @ 70k (48000Hz), 2.34MiB
171 webm audio only DASH audio 100k , vorbis@128k (44100Hz), 3.66MiB
251 webm audio only DASH audio 127k , opus @160k (48000Hz), 4.38MiB
140 m4a audio only DASH audio 127k , m4a_dash container, mp4a.40.2@128k (44100Hz), 5.02MiB
160 mp4 256x144 DASH video 112k , avc1.4d400c, 25fps, video only, 4.34MiB
278 webm 256x144 DASH video 118k , webm container, vp9, 25fps, video only, 3.75MiB
133 mp4 426x240 DASH video 255k , avc1.4d4015, 25fps, video only, 9.71MiB
242 webm 426x240 DASH video 280k , vp9, 25fps, video only, 8.27MiB
243 webm 640x360 DASH video 496k , vp9, 25fps, video only, 15.64MiB
134 mp4 640x360 DASH video 646k , avc1.4d401e, 25fps, video only, 16.23MiB
244 webm 854x480 DASH video 894k , vp9, 25fps, video only, 28.31MiB
135 mp4 854x480 DASH video 1183k , avc1.4d401e, 25fps, video only, 32.39MiB
247 webm 1280x720 DASH video 1796k , vp9, 25fps, video only, 56.33MiB
136 mp4 1280x720 DASH video 2360k , avc1.4d401f, 25fps, video only, 61.62MiB
248 webm 1920x1080 DASH video 3035k , vp9, 25fps, video only, 99.48MiB
137 mp4 1920x1080 DASH video 4375k , avc1.640028, 25fps, video only, 112.50MiB
271 webm 2560x1440 DASH video 9946k , vp9, 25fps, video only, 286.77MiB
264 mp4 2560x1440 DASH video 10635k , avc1.640032, 25fps, video only, 278.91MiB
313 webm 3840x2160 DASH video 20175k , vp9, 25fps, video only, 683.54MiB
266 mp4 3840x2160 DASH video 23331k , avc1.640033, 25fps, video only, 611.23MiB
36 3gp 320x? small , mp4v.20.3, mp4a.40.2
17 3gp 176x144 small , mp4v.20.3, mp4a.40.2@ 24k
43 webm 640x360 medium , vp8.0, vorbis@128k
18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k
22 mp4 1280x720 hd720 , avc1.64001F, mp4a.40.2@192k (best)

Search for the 4k format code. In my case it was 266 at this video.

youtube-dl -f 266 ""

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Scroll to Top