From Linuxintro

ffmpeg is a program that allows you to do video conversion and to take a video from your Linux desktop.

Get it

To download, compile, link and install ffmpeg, open a console and enter

svn co svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure && make && make install

Use it

  • list all available formats
ffmpeg -formats
  • convert input.dv to output.mpg
ffmpeg -i input.dv output.mpg
ffmpeg -f x11grab -s hd720 -r 15 -i :0.0 screenCapture.avi

See also