[FFmpeg-devel] [PATCH] x11grab: add followmouse option
livibetter at gmail.com
Wed Jul 20 02:41:29 CEST 2011
A patch to enable x11grab to follow mouse pointer.
# 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7983 bytes
Desc: not available
More information about the ffmpeg-devel