Thursday, 13 August 2020

Download Video dari Terminal Linux

 $ youtube-dl -F https://www.youtube.com/watch?v=s6hUzhmeDVw

Command 'youtube-dl' not found, but can be installed with:

sudo snap install youtube-dl  # version 2020.06.16.1+git6d29af9, or
sudo apt  install youtube-dl  # version 2020.03.24-1

See 'snap info youtube-dl' for additional versions.

dhwan@dhwan-Aspire-A514-51K:~$ sudo apt  install youtube-dl
[sudo] password for dhwan:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python3-pyxattr rtmpdump
Suggested packages:
  python3-pyxattr-dbg python-pyxattr-doc libfribidi-bin | bidiv phantomjs
The following NEW packages will be installed:
  python3-pyxattr rtmpdump youtube-dl
0 upgraded, 3 newly installed, 0 to remove and 12 not upgraded.
Need to get 1.058 kB of archives.
After this operation, 5.926 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://id.archive.ubuntu.com/ubuntu focal/main amd64 python3-pyxattr amd64 0.6.1-2 [13,1 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 rtmpdump amd64 2.4+20151223.gitfa8646d.1-2build1 [44,4 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 youtube-dl all 2020.03.24-1 [1.000 kB]
Fetched 1.058 kB in 5s (225 kB/s)     
Selecting previously unselected package python3-pyxattr.
(Reading database ... 425324 files and directories currently installed.)
Preparing to unpack .../python3-pyxattr_0.6.1-2_amd64.deb ...
Unpacking python3-pyxattr (0.6.1-2) ...
Selecting previously unselected package rtmpdump.
Preparing to unpack .../rtmpdump_2.4+20151223.gitfa8646d.1-2build1_amd64.deb ...
Unpacking rtmpdump (2.4+20151223.gitfa8646d.1-2build1) ...
Selecting previously unselected package youtube-dl.
Preparing to unpack .../youtube-dl_2020.03.24-1_all.deb ...
Unpacking youtube-dl (2020.03.24-1) ...
Setting up youtube-dl (2020.03.24-1) ...
Setting up rtmpdump (2.4+20151223.gitfa8646d.1-2build1) ...
Setting up python3-pyxattr (0.6.1-2) ...
Processing triggers for man-db (2.9.1-1) ...
dhwan@dhwan-Aspire-A514-51K:~$ youtube-dl -F https://www.youtube.com/watch?v=s6hUzhmeDVw
[youtube] s6hUzhmeDVw: Downloading webpage
[youtube] s6hUzhmeDVw: Downloading MPD manifest
[info] Available formats for s6hUzhmeDVw:
format code  extension  resolution note
139          m4a        audio only DASH audio   50k , m4a_dash container, mp4a.40.5@ 48k (22050Hz)
140          m4a        audio only DASH audio  131k , m4a_dash container, mp4a.40.2@128k (44100Hz)
251          webm       audio only DASH audio  176k , webm_dash container, opus @160k (48000Hz)
278          webm       224x144    DASH video   95k , webm_dash container, vp9, 30fps, video only
160          mp4        224x144    DASH video  108k , mp4_dash container, avc1.4d400b, 30fps, video only
242          webm       374x240    DASH video  220k , webm_dash container, vp9, 30fps, video only
133          mp4        374x240    DASH video  242k , mp4_dash container, avc1.4d400c, 30fps, video only
243          webm       560x360    DASH video  405k , webm_dash container, vp9, 30fps, video only
134          mp4        560x360    DASH video  413k , mp4_dash container, avc1.4d401e, 30fps, video only
244          webm       748x480    DASH video  752k , webm_dash container, vp9, 30fps, video only
135          mp4        748x480    DASH video 1155k , mp4_dash container, avc1.4d4014, 30fps, video only
247          webm       1122x720   DASH video 1505k , webm_dash container, vp9, 30fps, video only
136          mp4        1122x720   DASH video 2310k , mp4_dash container, avc1.4d4016, 30fps, video only
248          webm       1682x1080  DASH video 2646k , webm_dash container, vp9, 30fps, video only
137          mp4        1682x1080  DASH video 3065k , mp4_dash container, avc1.640028, 30fps, video only
18           mp4        562x360    360p  205k , avc1.42001E, 30fps, mp4a.40.2@ 96k (44100Hz), 22.29MiB
22           mp4        1122x720   720p  409k , avc1.64001F, 30fps, mp4a.40.2@192k (44100Hz) (best)
dhwan@dhwan-Aspire-A514-51K:~$ youtube-dl -F 18 https://www.youtube.com/watch?v=s6hUzhmeDVw
ERROR: '18' is not a valid URL. Set --default-search "ytsearch" (or run  youtube-dl "ytsearch:18" ) to search YouTube
dhwan@dhwan-Aspire-A514-51K:~$ youtube-dl -f 18 https://www.youtube.com/watch?v=s6hUzhmeDVw
[youtube] s6hUzhmeDVw: Downloading webpage
[youtube] s6hUzhmeDVw: Downloading MPD manifest
[download] Destination: 02 - MENGENAL FITUR ARTICULATE STORYLINE-s6hUzhmeDVw.mp4
[download] 100% of 22.29MiB in 00:20

Share:

0 comments:

Post a Comment