yget is (yet another) simple tool to get videos off from youtube.
Latest: svn co svn://repo.hu/yget/trunk yget
Releases: repo.hu/projects/yget/releases
Debian packages: http://repo.hu/debian
YGET(1) YGET(1)
NAME
yget - download youtube videos
yplay - play youtube videos
yurl - print youtube download URLs and additional informations
SYNOPSIS
yget URL [-hq|-fmt fmtlist|-prefix prefix]
yplay URL [-hq|-fmt fmtlist]
yurl URL
DESCRIPTION
yget saves the video of the given youtube URL. The filename is created
from the given prefix, an ascii name and the video id. The default pre-
fix is "y_". If the URL points to a playlist then yget will download
all videos in it and save them with prefix "y[number]_". If the file-
name already exists then yget assumes that the video is unfinished and
tries to continue the download.
Higher quality video format can be selected by -hq and -fmt allows to
select the format directly.
yplay streams the video of the given youtube URL.
yurl prints a key value pair list about the given youtube URL (download
url, title, length, etc.).
EXAMPLES
yplay "youtube.co.uk/watch?v=abcdefghijk&foo=123&bar=456"
yget youtu.be/abcdefghijk
yget abcdefghijk
yget http://www.youtube.com/view_play_list?p=abcdefghijklmnop
yurl http://youtube.com/p/abcdefghijklmnop
NOTES
If the URL has query parameters ("&foo=bar") then the "&" might need to
be escaped in the shell. Internally these parameters are dropped, only
the video or playlist id is used.
yget and yplay try to get a 640x360 resolution H.264 encoded version
(fmt=34). For other versions see the download url## from yurl or use
-fmt. (possible fmt parameters are 5 6 13 17 18 22 34 35 36 37 43 45
82 84 100 102)
Any recent mplayer or vlc should be able to stream the video from the
urls printed by yurl. Seeking in the stream might not work. yplay
uses mplayer.
YGET(1)