Page 1 of 1

youtube-dl with quick autoupdate

Posted: 06 Mar 2016, 05:02
by Slaxmax
youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites.
It requires the Python interpreter (2.6, 2.7, or 3.2+), and it is not platform specific.

youtube-dl-latest-noarch-slaxmax.xzm
http://www.mediafire.com/download/7dlb8 ... laxmax.xzm

To list youtube video formats

Code: Select all

guest@porteus:~$ youtube-dl -F https://www.youtube.com/watch?v=TbliHS_5GhM
youtube-dl is up-to-date (2016.03.01)
[youtube] TbliHS_5GhM: Downloading webpage
[youtube] TbliHS_5GhM: Downloading video info webpage
[youtube] TbliHS_5GhM: Extracting video information
[youtube] TbliHS_5GhM: Downloading MPD manifest
[info] Available formats for TbliHS_5GhM:
format code  extension  resolution note
249          webm       audio only DASH audio   57k , opus @ 50k, 1.50MiB
250          webm       audio only DASH audio   78k , opus @ 70k, 1.99MiB
171          webm       audio only DASH audio  123k , vorbis@128k (44100Hz), 3.04MiB
140          m4a        audio only DASH audio  129k , m4a_dash container, mp4a.40.2@128k (44100Hz), 3.78MiB
251          webm       audio only DASH audio  148k , opus @160k, 3.85MiB
141          m4a        audio only DASH audio  256k , m4a_dash container, mp4a.40.2@256k (44100Hz), 7.51MiB
160          mp4        256x144    DASH video  111k , avc1.4d400c, 12fps, video only, 3.20MiB
278          webm       256x144    DASH video  122k , webm container, vp9, 12fps, video only, 2.89MiB
133          mp4        426x240    DASH video  251k , avc1.4d4015, 24fps, video only, 7.20MiB
242          webm       426x240    DASH video  261k , vp9, 24fps, video only, 5.95MiB
243          webm       640x360    DASH video  499k , vp9, 24fps, video only, 11.01MiB
134          mp4        640x360    DASH video  623k , avc1.4d401e, 24fps, video only, 13.36MiB
244          webm       854x480    DASH video  893k , vp9, 24fps, video only, 19.86MiB
135          mp4        854x480    DASH video 1132k , avc1.4d401e, 24fps, video only, 25.67MiB
247          webm       1280x720   DASH video 1740k , vp9, 24fps, video only, 39.64MiB
136          mp4        1280x720   DASH video 2230k , avc1.4d401f, 24fps, video only, 48.85MiB
248          webm       1920x1080  DASH video 3298k , vp9, 24fps, video only, 71.20MiB
137          mp4        1920x1080  DASH video 4168k , avc1.640028, 24fps, video only, 100.10MiB
36           3gp        320x?      small , mp4v.20.3,  mp4a.40.2
17           3gp        176x144    small , mp4v.20.3,  mp4a.40.2@ 24k
5            flv        400x240    small , h263, mp3  @ 64k
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)
to select format code (donwload video format code 18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k)

Code: Select all

guest@porteus:~$ youtube-dl -f 18 https://www.youtube.com/watch?v=TbliHS_5GhM
youtube-dl is up-to-date (2016.03.01)
[youtube] TbliHS_5GhM: Downloading webpage
[youtube] TbliHS_5GhM: Downloading video info webpage
[youtube] TbliHS_5GhM: Extracting video information
[youtube] TbliHS_5GhM: Downloading MPD manifest
[download] Destination: HD Test 1080P Full HD (Avatar)-TbliHS_5GhM.mp4

Re: youtube-dl with quick autoupdate

Posted: 10 Mar 2016, 06:34
by Rava
Looks nice, but while I prefer Python, language wise, I start to like Perl more since it is already included in Porteus XFCe,unlike Python...

Re: youtube-dl with quick autoupdate

Posted: 11 Mar 2016, 23:19
by Slaxmax
I do not like python , but there are some good programs written in that language.

Python included in printing module
for x86 http://dl.porteus.org/i486/current/modu ... inting.xzm
for x64 http://dl.porteus.org/x86_64/current/mo ... inting.xzm