Difference between revisions of "Ffmpeg"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
Line 12: Line 12:
 
* convert ''input.dv'' to ''output.mpg''
 
* convert ''input.dv'' to ''output.mpg''
 
  ffmpeg -i ''input.dv'' ''output.mpg''
 
  ffmpeg -i ''input.dv'' ''output.mpg''
 +
* [[take a video of your Linux desktop]]
 +
ffmpeg -f x11grab -s hd720 -r 15 -i :0.0 screenCapture.avi
  
 
= See also =
 
= See also =
 
* [http://linux.die.net/man/1/ffmpeg ffmpeg man page]
 
* [http://linux.die.net/man/1/ffmpeg ffmpeg man page]

Latest revision as of 09:15, 1 March 2020

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