[FFmpeg-user] How to grab x11 screen

jd1008 jd1008 at gmail.com
Mon Jan 26 06:10:39 CET 2015

On 01/25/2015 09:17 PM, Lou wrote:
> Alternatively you could install the required dependencies for grabbing
> X11 via XCB then compile ffmpeg. For your distro libxcb-devel 1.4 or
> newer should suffice.
# yum install libxcb-devel libxcb
Loaded plugins: langpacks
Package libxcb-devel-1.11-3.fc21.x86_64 already installed and latest version
Package libxcb-1.11-3.fc21.x86_64 already installed and latest version
Nothing to do

I did try
/bin/ffmpeg -f x11grab -framerate 15 -s 1280x800 -i :0.0 /tmp/out.webm
and that worked.
With my old laptop, I do not think it can handle more than a framerate 
of 15.

More information about the ffmpeg-user mailing list