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

Michael Niedermayer michaelni at gmx.at
Mon Aug 1 00:47:54 CEST 2011


On Wed, Jul 20, 2011 at 08:41:29AM +0800, livibetter wrote:
> 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

A variant of this patch was integrated

Thank you for your contribution to ffmpeg!

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110801/18ac2882/attachment.asc>


More information about the ffmpeg-devel mailing list