ffmpeg screen capture linux

You can record desktop screen using ffmpeg from a linux machine.
Compile ffmpeg with following options

./configure --enable-libx264  --enable-x11grab --enable-gpl --enable-version3 --enable-nonfree --enable-shared
make -j9
make install

Then grab screen using following command

ffmpeg -video_size 1366x768 -framerate 30 -f x11grab -i :0.0 -c:v libx264 output.flv

checked with ffmpeg version 2.1 in ubuntu 12.04

Advertisements
ffmpeg screen capture linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s