/bin/log

Log my thoughts

Home About GitHub

20 Jul 2013
youtube-dl video formats

youtube-dl is a python script to download videos from YouTube.com

list all formats

$ ./youtube-dl --get-format --all-formats {youtubeurl}
{num} quality
37 - 1080x1920
22 - 720x1280
35 - 480x854
34 - 360x640
18 - 360x640
5  - 240x400
17 - 144x176

The num is explained here:

http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs

download video of specified qulity

./youtube-dl -f {num} {youtubeurl}


Carpe diem,
JZR at 02:21

Home About GitHub