Created
July 20, 2012 05:24
-
-
Save igrigorik/3148848 to your computer and use it in GitHub Desktop.
Revisions
-
igrigorik revised this gist
Jul 20, 2012 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,6 @@ # http://rg3.github.com/youtube-dl/ { ~ } > brew install ffmpeg { ~ } > wget https://raw.github.com/rg3/youtube-dl/2012.02.27/youtube-dl { ~ } > chmod u+x youtube-dl -
igrigorik renamed this gist
Jul 20, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
igrigorik renamed this gist
Jul 20, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
igrigorik renamed this gist
Jul 20, 2012 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
igrigorik revised this gist
Jul 20, 2012 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,13 @@ # Convert any YouTube video into an audio file you can listen to on the go, using: # http://rg3.github.com/youtube-dl/ { ~ } > brew install ffmpeg { ~ } > brew install ffprobe { ~ } > wget https://raw.github.com/rg3/youtube-dl/2012.02.27/youtube-dl { ~ } > chmod u+x youtube-dl # Pick which video format you want to download.. (use any YT video link) { ~ } > ./youtube-dl -s -F http://www.youtube.com/watch?v=vT1KmTQ-1Os [youtube] Setting language -
igrigorik revised this gist
Jul 20, 2012 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # we'll be using: http://rg3.github.com/youtube-dl/ { ~ } > brew install ffmpeg { ~ } > brew install ffprobe -
igrigorik created this gist
Jul 20, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ { ~ } > brew install ffmpeg { ~ } > brew install ffprobe { ~ } > wget https://raw.github.com/rg3/youtube-dl/2012.02.27/youtube-dl { ~ } > chmod u+x youtube-dl # Pick which video format you want to download.. { ~ } > ./youtube-dl -s -F http://www.youtube.com/watch?v=vT1KmTQ-1Os [youtube] Setting language [youtube] vT1KmTQ-1Os: Downloading video webpage [youtube] vT1KmTQ-1Os: Downloading video info webpage [youtube] vT1KmTQ-1Os: Extracting video information Available formats: 22 : mp4 [720x1280] 45 : webm [720x1280] 35 : flv [480x854] 44 : webm [480x854] 34 : flv [360x640] 18 : mp4 [360x640] 43 : webm [360x640] 5 : flv [240x400] 17 : mp4 [144x176] # Extract audio track from video { ~ } > ./youtube-dl -f 5 --extract-audio http://www.youtube.com/watch?v=vT1KmTQ-1Os [youtube] Setting language [youtube] vT1KmTQ-1Os: Downloading video webpage [youtube] vT1KmTQ-1Os: Downloading video info webpage [youtube] vT1KmTQ-1Os: Extracting video information [download] Destination: vT1KmTQ-1Os.flv [download] 100.0% of 74.36M at 43.23k/s ETA 00:00 [ffmpeg] Destination: vT1KmTQ-1Os.mp3 { ~ } > open vT1KmTQ-1Os.mp3 # woot.