9 de enero de 2021

YouTube Video downloader command line tool for Linux


Useful and complete commandline tool for download videos of youtube:

https://youtube-dl.org/

Update the latest version to avoid download errors.

 

Use:

$ youtube-dl --help

    To see all youtube options

$ youtube-dl --list-formats [youtube video url]

[info] Available formats for [youtube video url]:
format code  extension  resolution note
249          webm       audio only tiny   59k , opus @ 50k (48000Hz), 43.30MiB
250          webm       audio only tiny   75k , opus @ 70k (48000Hz), 57.18MiB
140          m4a        audio only tiny  137k , m4a_dash container, mp4a.40.2@128k (44100Hz), 111.75MiB
251          webm       audio only tiny  145k , opus @160k (48000Hz), 116.17MiB
278          webm       256x144    144p  132k , webm container, vp9, 25fps, video only, 72.24MiB
160          mp4        256x144    144p  141k , avc1.4d400c, 25fps, video only, 95.43MiB
242          webm       426x240    240p  229k , vp9, 25fps, video only, 163.18MiB
133          mp4        426x240    240p  275k , avc1.4d4015, 25fps, video only, 211.09MiB
243          webm       640x360    360p  443k , vp9, 25fps, video only, 350.08MiB
134          mp4        640x360    360p  563k , avc1.4d401e, 25fps, video only, 465.65MiB
244          webm       854x480    480p  761k , vp9, 25fps, video only, 628.15MiB
135          mp4        854x480    480p  819k , avc1.4d401e, 25fps, video only, 685.90MiB
247          webm       1280x720   720p 1518k , vp9, 25fps, video only, 1.25GiB
136          mp4        1280x720   720p 2206k , avc1.4d401f, 25fps, video only, 1.80GiB
18           mp4        640x360    360p  738k , avc1.42001E, 25fps, mp4a.40.2@ 96k (44100Hz), 637.51MiB
22           mp4        1280x720   720p 2268k , avc1.64001F, 25fps, mp4a.40.2@192k (44100Hz) (best)

... (select the download format and indicate it in -f option):

$ youtube-dl -f 22 [youtube video url]

...


No hay comentarios:

Publicar un comentario