Update: movgrab seems abandoned. As an alternative, I highly recommend youtube-dl.

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

YouTube

Metacafe

Dailymotion

Vimeo

Break.com

eHow

5min.com

vbox7

blip.tv

Ted

MyVideo

ClipShack

MyTopClip

RedBalcony

Mobando

Yale University

Princeton University

Reuters

LiveLeak

Academic Earth

Photobucket

VideoEmo

VideosFacebook

Aljazeera

Mefeedia

IViewTube

Washington Post

CBS News

Euro News

MetaTube

MotionFeeds

Escapist

Guardian

RedOrbit

Sciive

Izlese

uctv.tv

royalsociety.tv

British Academy

Kitp

Dotsub

Astronomy.com

Teachertube.com

Discovery

Bloomberg.com

Using Movgrab

movgrab 'URL'

movgrab -o VIDEONAME.mp4 'URL'

movgrab -r 'URL'

movgrab -T 'http://www.youtube.com/watch?v=1QP-SIW6iKY'

Formats available for this Movie: webm:640x360 flv-h264:640x360 mp4:480x360 flv:400x240

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 -

Install Movgrab

sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install movgrab

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

To specify the filename, use "-o" flag, like this:To be able to resume a video download, use "-r":If you want to specify the video format and quality, firstly you'll need to get a list of supported video formats. Example:Which should return something like this: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:Example:For more options and info, run "movgrab" (without any flags) in a terminal.Forget the latest Movgrab via AUR