Ffmpeg

From Linuxintro
Revision as of 09:15, 1 March 2020 by imported>ThorstenStaerk (→‎Use it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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