Youtube-DL – Download mp4 videos

How to download mp4 format videos with youtube-dl under Linux

youtube-dl download videos linux format

Install youtube-dl:

apt-get install youtube-dl

Get the available formats:

youtube-dl -F YOUTUBEURL

Download the wanted format:

youtube-dl -f FORMATCODE YOUTUBEURL

mathias@mattionline:~$ youtube-dl -F https://www.youtube.com/watch?v=zkrq7Kpd1so
[youtube] Setting language
[youtube] zkrq7Kpd1so: Downloading webpage
[youtube] zkrq7Kpd1so: Downloading video info webpage
[youtube] zkrq7Kpd1so: Extracting video information
[youtube] zkrq7Kpd1so: Downloading formats manifest
[info] Available formats for zkrq7Kpd1so:
format code extension resolution note
92 mp4 240p HLS (worst)
93 mp4 360p HLS
94 mp4 480p HLS
95 mp4 720p HLS
96 mp4 1080p HLS
91 m3u8 unknown (best)
mathias@mattionline:~$ youtube-dl -f 96 https://www.youtube.com/watch?v=zkrq7Kpd1so

Hinterlasse einen Kommentar

  Abonnieren  
Benachrichtige mich bei
Scroll to Top