Movgrab is a command line tool for downloading video clips from websites such as YouTube, Daily Motion, Break.com, Vimeo, Blip.tv, Liveleak and others.
- proxy support
- write the download to std-out so you can easily play the video in an external application
- lets you pick the preferred video/audio formats for sites that offer more than one
- generic downloader which means Movgrab might be able to download videos from other websites not listed as supported
- can resume downloads (use "-r" - only works when writing a single file)
- fork into background (use "-b" flag)
- written in straight C so it has no dependencies
Full list of supported websites:
- Yale University
- Princeton University
- Academic Earth
- Washington Post
- CBS News
- Euro News
- British Academy
To download a video using the default options, simply run:
Where 'URL' is the URL of the video you want to download, e.g. "http://www.youtube.com/watch?v=1QP-SIW6iKY". It's a good idea to use quotes for the URL, in case it contains special characters.
To specify the filename, use "-o" flag, like this:
movgrab -o VIDEONAME.mp4 'URL'
To be able to resume a video download, use "-r":
movgrab -r 'URL'
If you want to specify the video format and quality, firstly you'll need to get a list of supported video formats. Example:
movgrab -T 'http://www.youtube.com/watch?v=1QP-SIW6iKY'
Which should return something like this:
Formats available for this Movie: webm:640x360 flv-h264:640x360 mp4:480x360 flv:400x240
Now you can specify in which format to download your video. Let's say we want to download the video in webm, with a 640x360 resolution:
movgrab -f webm:640x360 'http://www.youtube.com/watch?v=1QP-SIW6iKY'
Now, let's say you want to watch a video using mplayer, without having to download it firstly - since Movgrab can write the download to std-out, all you have to do is run:
movgrab -o - 'URL' | mplayer -
movgrab -o - 'http://www.youtube.com/watch?v=1QP-SIW6iKY' | mplayer -
For more options and info, run "movgrab" (without any flags) in a terminal.
Ubuntu users can install Movgrab by using the main WebUpd8 PPA:
sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install movgrab
For Arch Linux, get the latest Movgrab via AUR.
And finally, for any Linux distribution, download the source from HERE, extract it and compile it:
./configure make sudo make install
application seen on UpUbuntu