[FFmpeg-devel] [PATCH] x11grab: add followmouse option

livibetter livibetter at gmail.com
Wed Jul 20 02:41:29 CEST 2011

A patch to enable x11grab to follow mouse pointer.

Sample commands:

# Make grabbing region follows the mouse and keep mouse pointer at center
$ ./ffmpeg -f x11grab -s vga -r 25 -i ':0.0;followmouse' out.mpg

# Make grabbing region follows the mouse, but only move the region
when mouse pointer reaches within 100 pixels to the edge of region
$ ./ffmpeg -f x11grab -s vga -r 25 -i ':0.0;followmouse=100' out.mpg

Sincerely yours,
Yu-Jie Lin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x11grab-add-followmouse-option.patch
Type: text/x-patch
Size: 7983 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110720/5f956781/attachment.bin>

More information about the ffmpeg-devel mailing list