Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

X11 video GRABbeR

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 COPYING
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.mkd
Octocat-spinner-32 TODO.mkd
Octocat-spinner-32 options.c
Octocat-spinner-32 options.h
Octocat-spinner-32 record.c
Octocat-spinner-32 record.h
Octocat-spinner-32 util.c
Octocat-spinner-32 util.h
Octocat-spinner-32 x11grabr.c
Octocat-spinner-32 x11grabr.h


This is an extended work after I submitted two patchs to libav for mouse following and grabbing region indicator. I believe that any further development is better off libav, and it would be better to be a standalone program.

Current Status

In this very first stage, x11grabr tries to do the same as it is in libav.

Currently, x11grabr requires libav and a few X libraries to build. Simply run make should do the trick, then you should be able to run a comannd as follows:

./x11grabr -s hd720 -r 25 -b | ffmpeg -f rawvideo -pix_fmt bgra -s hd720 -r 25 -i - test.mp4


If you are interested in this, be sure you check out TODO.mkd in source files, so you know what I have in mind.


GPLv2, because x11grab.c is licensed under it.

Something went wrong with that request. Please try again.