On 7/30/11 2:26 PM, Yu-Jie Lin wrote:
Hi,

Example commands:

     ./ffmpeg -f x11grab -s cif -r 25 -i ':0.0;followmouse' /tmp/out.mpg
     ./ffmpeg -f x11grab -s cif -r 25 -i ':0.0;followmouse=100' /tmp/out.mpg

In first command, the grabbing region moves as mouse moves, mouse
pointer will be kept at center unless close to screen edges. The
second command, the region only moves when mouse pointer reaches
within 100 pixels to the edges of current grabbing region.

There will be a second patch to be posted right after this, which
renders a rectangle box to indicate current grabbing region.

Using only the avoption should be ok.

Please fix

+    int follow_mouse;        /**< Set by a private option. */

so the var is aligned with the other in the struct.

Beside that the patch is quite interesting, thanks to submitting it.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to